Ubuntu Initialization (EC2)
- Open some usefull port
e.g. 21 23 80
sudo -i
-
essential apps
unzip ohmyzsh ·curl -L http://install.ohmyz.sh | sh·
-
git clone http://github.com/mattn/emmet-vim.git cd emmet-vim mkdir ~/.vim/plugin mkdir ~/.vim/autoload cp plugin/emmet.vim ~/.vim/plugin/ cp autoload/emmet.vim ~/.vim/autoload/ cp -a autoload/emmet ~/.vim/autoload/ Then type "<c-y>," (Ctrl + y + ',')
-
Install lamp
apt-get install tasksel tasksel apt-get install phpmyadmin
-
Config cgi-bin
/etc/apache2/sites-available
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ <Directory "/usr/lib/cgi-bin"> AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all </Directory>
If the above section does not exist, add it in the
<Virtualhost *:80>
section just above the line:ErrorLog ${APACHE_LOG_DIR}/error.log
-
Install Node.js
apt-get install python-software-properties python g++ make add-apt-repository ppa:chris-lea/node.js apt-get update apt-get install nodejs
Install Ruby
Written by Zhang Tai
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Linux
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#