• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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