sudo apt-get install apache2 apache2-mpm-prefork apache2-utils apache2.2-common libapache2-mod-php5 mysql-common mysql-server php5-common php5-mysql php5-curl php5-xdebug
sudo apt-get install phpmyadmin
sudo apt-get install php-pear sudo pear channel-discover pear.phing.info sudo pear install phing/phing
sudo apt-add-repository ppa:tortoisehg-ppa/releases sudo apt-get update sudo apt-get install tortoisehg
sudo add-apt-repository ppa:webupd8team/sublime-text-2 sudo apt-get update sudo apt-get install sublime-text
sudo useradd -G jewei www-data
Install Google Chrome https://www.google.com/intl/en/chrome/browser/
Add default-storage-engine=MyISAM to /etc/mysql/my.cnf
Create virtual hosts, /etc/apache2/sites-available/ and a2ensite
Update /etc/hosts
Setup tortoisehg visual editor
subl [$FILE:$LINENUM]
Install Sublime Package Control
import urllib2,os; pf='Package Control.sublime-package'; ipp=sublime.installed_packages_path(); os.makedirs(ipp) if not os.path.exists(ipp) else None; urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler())); open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read()); print 'Please restart Sublime Text to finish installation'
Alignment Users Setting:
{ "align_indent": true, "mid_line_tabs": true, "alignment_chars": ["=", ","], "alignment_space_chars": ["="], "alignment_prefix_chars": [ "+", "-", "&", "|", "<", ">", "!", "~", "%", "/", "*", "." ] }Setting up GIT
sudo apt-get install git-core git-gui git config --global core.editor "subl -n -w" git config --global user.name "jewei" git config --global user.email johndoe@example.com
No comments:
Post a Comment