Ubuntu + Lighttpd + MySQL configuration details

Source: Internet
Author: User
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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.