UbuntuServerUbuntuServer9.10 latest download: latest
Ubuntu Server
Ubuntu Server 9.10 latest download: http://ubuntu.srt.cn/ubuntu-releases/karmic/ubuntu-9.10-server-i386.iso
1. install Ubuntu
The installation process is relatively simple. for some new users, I will have an illustration to explain the entire installation process of Ubuntu Server. please wait for updates.
2. configure the network
During installation, you can configure the network. during installation, you can also modify the configuration file to configure the network. There is an article dedicated to explaining how to configure the network.
3. update the system
Sudo apt-get update
4. install the remote connection service ssh and secureCRT. the default connection port number is 22.
Sudo apt-get install openssh-server openssh-clientsudo/etc/init. d/ssh restart
Stop ssh:/etc/init. d/ssh stop
Start ssh:/etc/init. d/ssh start
Restart ssh:/etc/init. d/ssh restart
5. some common commands necessary for installation, such as emacs
Sudo apt-get install emacssudo apt-get install gccsudo apt-get install htopsudo apt-get install screen # control background programs
If you want to interrupt apt-get
Sudo killall apt-get
If not found:
Sudo apt-cache search6. install svn
Sudo apt-get install subversion
Svn co svn: //... # svn address
7. install ruby
Sudo apt-get install ruby-fullsudo apt-get install ruby1.8-dev # Check: ruby-v
8. install rubygems
Sudo apt-get install rubygems # Check: gem-v
9. install rails
Sudo gem install-v = 2.3.4 rails # specify the required rails version
10. install mysql
Sudo apt-get install libmysqlclient15-devsudo apt-get install libmysql-rubysudo gem install mysql
11. install lighttpd
Sudo apt-get install lighttpd
12. install the plug-in
Install all the plug-ins to be installed here.
Install rmagick
Sudo apt-get install librmagick-ruby
Installation page: gem install will_paginate
......
The ROR runtime environment has been configured.
Next work
1. copy the project copy to the server and run svn co svn ://...
2. modify the configuration file
3. Data Migration
4. Testing and running