Jump to content

Help:Không thể copy thư mục Prestashop vào thư mục /opt/lampp/htdocs trên Linux Fedora?


Minh Ly

Recommended Posts

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).
hinh1.png

-Mình có Source code của www.prestashop.com và đặt tại Desktop ( hình bên dưới).
hinh2.png

--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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...