• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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