Minh Ly Posted November 8, 2009 Share Posted November 8, 2009 Hi các bạn,Hiện mới sử dụng Linux khoảng gần 2 tuần và gặp rắc rối về copy như sau:-Mình cài đặt gói XAMP để cài đặt các site lên ấy tại thư mục opt. (như hình dưới).-Mình có Source code của www.prestashop.com và đặt tại Desktop ( hình bên dưới).--Bây giờ mình muốn copy cái thư mục Prestashop từ Desktop (/home/morrinho/Desktop) vào thư mục htdocs (/opt/lampp/htdocs) bằng cách click chuột phải lên thư mục Prestashop chon copy và sau đó đến thư mục htdocs rồi chọn click chuột phải chọn Past nhưng không được.Vì Past đã Disable rồi ( thao tác giống như trong Windown)Mình thử lại bằng Terminal và kết quả như sau: [mourinho@localhost ~]$ su Password: [root@localhost mourinho]# cd /home/mourinh/Desktop/Prestashop bash: cd: /home/mourinh/Desktop/Prestashop: No such file or directory [root@localhost mourinho]# ls 3121245 Documents Music Templates all-20071007 Download Pictures Videos codec file.iso.md5 Public Desktop msttcorefonts-2.0-1.spec RealPlayer11GOLD.bin [root@localhost mourinho]# clear [root@localhost mourinho]# su [root@localhost mourinho]# cd /home/mourinho/Desktop/Prestashop [root@localhost Prestashop]# ls prestashop prestashop_1.2.5.0.zip vn.gzip [root@localhost Prestashop]# cp prestashop /opt/lampp/htdocs cp: omitting directory `prestashop' [root@localhost Prestashop]# ***Vậy bạn nào biết tại sao không? vì sao copy không được vậy?Cách khắc phục vì mình mới dùng Linux nên gà lắm.Mình có tìm hiểu về CHMOD nhưng cũng postay.Chân thành.MINH Link to comment Share on other sites More sharing options...
haylam.vn Posted November 10, 2009 Share Posted November 10, 2009 Dùng command sau cp -R prestashop /opt/lampp/htdocs Link to comment Share on other sites More sharing options...
Minh Ly Posted November 11, 2009 Author Share Posted November 11, 2009 @; sieuhostvn.comthanks anh nhiều, em đã làm và succesed. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now