• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved How to go in root directory of my website in plesk 12 in cli ?

Hemir

New Pleskian
hello,

My server is running with plesk 12.0.18 and unbuntu 14.04.4.

I have only one domain with the cms magento. I have to use cli to configure my website from his root directory.

I can connect to my server with putty but i haven't idea how to go in root directory of my website.

Sorry if this question is maybe stupid but I'm new on server administration and i dont find solution on web or on this forum.

Thx for your help.
 
It doesnt work, i havent access to directory var/

that's the answer of cli when i asked about directory. When i use tree, i dont see the magento directory in the subdirectory.
cd
.autoinstaller/ .config/ parallels/
.cache/ .local/ .ssh/
 
When you logged in you went to root's home directory, /root so of course /var isn't under there.
Just do cd /var/www/vhosts and it should work fine.
 
Looks like you are currently in...

/root/

So running tree you'll only see the minimal contents of the root users home directory.
You can run...

# cd /

To return to the root of the file system, then you will see var with tree.
But the previous cd command I gave in my first post will take you there from whatever folder you are in.
Kind regards

Lloyd
 
Back
Top