• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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