Skip to content

Instantly share code, notes, and snippets.

@SteveVallay
Last active December 27, 2015 15:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SteveVallay/7352098 to your computer and use it in GitHub Desktop.
Save SteveVallay/7352098 to your computer and use it in GitHub Desktop.
setup digit ocean
useradd -m -d /home/goodluck -s /bin/bash your_user 

passwd your_user  

//type your passwd twice

sudo adduser your_user sudo



sudo apt-get install curl git  


curl -L https://get.rvm.io | bash -s stable --ruby



##apache 

sudo apt-get install apache2 apache2-mpm-prefork apache2-prefork-dev


##mysql

sudo apt-get install mysql-server mysql-client
sudo apt-get install libmysql-ruby libmysqlclient15-dev

sudo gem install mysql

#passenger

sudo gem install passenger

sudo apt-get install libcurl4-openssl-dev



passenger-install-apache2-module




@SteveVallay
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment