Last active
August 29, 2015 14:21
-
-
Save albankora/7343b0e5e2a77aabdc4b to your computer and use it in GitHub Desktop.
Ubuntu Servers Install Comands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#updating local package index | |
sudo apt-get update | |
#install nginx server | |
sudo apt-get install nginx | |
#install mysql server | |
sudo apt-get install mysql-server | |
#run a simple security script that will prompt you to modify some insecure defaults | |
sudo mysql_secure_installation | |
#install php | |
sudo apt-get install php5-fpm php5-mysql php5-cli php5-mcrypt git | |
# NodeJS AND NPM | |
1. sudo apt-get update | |
2. sudo apt-get install nodejs | |
3. sudo apt-get install npm | |
# Installing latest MongoDB | |
1. sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 | |
2. echo "deb http://repo.mongodb.org/apt/ubuntu "$(lsb_release -sc)"/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list | |
3. sudo apt-get update | |
4. sudo apt-get install mongodb-org |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment