Last active
August 29, 2015 14:10
-
-
Save jlcampana/6d0e6bdb49693fc2bb21 to your computer and use it in GitHub Desktop.
Some basic linux config
This file contains hidden or 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
#Timezone | |
dpkg-reconfigure tzdata | |
#Cambiar el shell predeterminado para un user | |
chsh pandi | |
#Configurar AFP (http://missingreadme.wordpress.com/2010/05/08/how-to-set-up-afp-filesharing-on-ubuntu/) | |
apt-get install netatalk | |
#locale ES | |
apt-get install language-pack-es-base | |
#crear user pandi y añadirlo a sudoers | |
adduser pandi | |
adduser pandi sudo | |
#node | |
apt-get install nodejs | |
apt-get install npm | |
#mongo | |
apt-get install mongodb | |
#Some basic node installs | |
sudo npm -g install bower | |
sudo npm -g install forever | |
sudo npm -g install supervisor | |
#sudo npm -g install yo | |
sudo npm -g install express | |
sudo npm -g install http-server | |
#si da el error: /usr/bin/env: node: No existe el archivo o el directorio | |
sudo ln -s /usr/bin/nodejs /usr/bin/node | |
#Some basic python installs | |
sudo apt-get install build-essential python-dev | |
sudo apt-get install python-setuptools | |
sudo easy_install pytz | |
sudo easy_install pymongo | |
#check ports... | |
netstat -a | |
#Redirect 80 to 8080 | |
sudo iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment