Difference between revisions of "OVH"

From EggeWiki
Jump to navigation Jump to search
(Created page with "I've decided to move off my 1G Slicehost (now rackspace) on to an clean Ubuntu 18.04 4GB VPS on OVH. First, I setup my shell <syntaxhighlight lang="bash" source="file"> ssh-k...")
 
m
 
Line 20: Line 20:
 
git clone git@bitbucket.org:brianegge/home.git
 
git clone git@bitbucket.org:brianegge/home.git
 
ln -s home/.bash_profile
 
ln -s home/.bash_profile
 +
</syntaxhighlight>
 +
 +
Setup permissions in html folders:
 +
<syntaxhighlight lang="bash" source="file">
 +
  sudo find . -type f -exec chmod 644 {} \;
 +
  sudo find . -type d -exec chmod 755 {} \;
 +
  sudo chown www-data:www-data  -R
 
</syntaxhighlight>
 
</syntaxhighlight>

Latest revision as of 07:25, 23 August 2019

I've decided to move off my 1G Slicehost (now rackspace) on to an clean Ubuntu 18.04 4GB VPS on OVH.

First, I setup my shell

ssh-keygen
cat ~/.ssh/id_rsa.pub # Copy to bit bucket
git clone git@bitbucket.org:brianegge/home.git
ln -s home/.bash_profile
sudo apt-get update
adduser egge
usermod -aG sudo egge

https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-18-04

ssh egge@51.79.74.165
ssh-keygen
cat ~/.ssh/id_rsa.pub # Copy to bit bucket
git clone git@bitbucket.org:brianegge/home.git
ln -s home/.bash_profile

Setup permissions in html folders:

  sudo find . -type f -exec chmod 644 {} \;
  sudo find . -type d -exec chmod 755 {} \;
  sudo chown www-data:www-data  -R