Some practice about Node.js.
sudo apt-get update
sudo apt-get install -y python-software-properties software-properties-common
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs
- epel
yum install epel-release
- nodejs
yum install nodejs
- Ubuntu:
node -v
sudo npm cache clean -f
sudo npm install -g n
sudo n stable
node -v (If the version information is incorrect,you shoud restart the machine.)
- Ubuntu:
sudo apt-get install mysql-server mysql-client
- Centos:
yum -y install mariadb*
systemctl start mariadb.service
systemctl enable mariadb.service
- Ubuntu:
sudo apt-get install mongodb
- Centos:
yum install mongodb-server
yum install mongodb
- Ubuntu:
wget http://download.redis.io/releases/redis-stable.tar.gz
tar xvfz redis-stable.tar.gz
cd redis-stable
sudo make
sudo make install
sudo make test
- Centos:
yum install redis
redis-server --version
service redis start (启动服务)
chkconfig redis on (开机自启动)
- Access www.sublimetext.com and download it.
- sudo dpkg -i filename.deb
sudo apt-get install ssh
- Centos:
yum install npm
sudo npm config set strict-ssl false
sudo npm install -g cnpm --registry=https://registry.npm.taobao.org
sudo npm install -g nodemon
sudo npm install -g pm2
sudo npm install -g node-inspector
sudo npm install -g yo
sudo npm install -g generator-keystone
curl https://install.meteor.com/ | sh
- Centos:
- rvm:
- curl -sSL https://rvm.io/mpapis.asc | gpg2 --import -
- curl -sSL https://get.rvm.io | bash -s stable
- usermod -a -G rvm user
- source /etc/profile.d/rvm.sh
- rvm install ruby
gem install sass(should install Ruby)