Zum Inhalt springen

SSH Shell Konsole: Unterschied zwischen den Versionen

Aus Computech CMS Wiki
Simon Zeberli (Diskussion | Beiträge)
Die Seite wurde neu angelegt: „==SSH Home Dictionary ändern== Change your homedirectory on the server to /var/www/websites (this is not really a good idea) add cd /var/www/websites to th…“
 
Simon Zeberli (Diskussion | Beiträge)
 
Zeile 1: Zeile 1:
==SSH Home Dictionary ändern==
==SSH Home Dictionary ändern==
 
Change your homedirectory on the server to /var/www/ (this is not really a good idea) add
Change your homedirectory on the server to /var/www/websites (this is not really a good idea)
  cd /var/www/
  add cd /var/www/websites to the end of your .bashrc. I use this one on our puppetmasters as I always want to be in /etc/puppet/environment a/dkaarsemaker there instead of my homedir :-)
to the end of your  
sudo nano .bashrc
I use this one on our puppetmasters as I always want to be in /etc/puppet/environment a/dkaarsemaker there instead of my homedir :-)

Aktuelle Version vom 3. Juni 2014, 13:13 Uhr

SSH Home Dictionary ändern

Change your homedirectory on the server to /var/www/ (this is not really a good idea) add

cd /var/www/

to the end of your

sudo nano .bashrc

I use this one on our puppetmasters as I always want to be in /etc/puppet/environment a/dkaarsemaker there instead of my homedir :-)