Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- *CentOS commanline
- - [Moving or Rename file or dir] : mv cakephp-master cakephp
- - [Copy file]: cp -i /home/levan/kdenlive/untitelds.mpg /media/sda3/SkyDrive/
- - [Change the file permissions]: chmod -R 777 cakephp/app/tmp
- Reference: http://hocvps.com/21-cau-lenh-linux-phai-nho/
- *SQL on CentOS:
- Reference: http://hocvps.com/cac-cau-lenh-mysql-can-phai-biet/
- * ACCESS mysql throught host/ip: mysql -h192.168.168.211 -uroot -p
- * GRANT role in MySQL:
- - select user,host,passwd from mysql.user;
- - show grants for root@'localhost';
- - GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY PASSWORD '*04E6E1273D1783DF7D57DC5479FE01CFFDFD0058' WITH GRANT OPTION (localhost co the thay bang mot host. VD: 192.168.%)
- - show processlist;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement