Configure the ROR production environment under ubuntu7.10server

Source: Internet
Author: User
Over the past few days, I have been tossing over the linux ror production environment, and I have made some documents online, but they are not suitable for Ubuntu7.10server. There will always be some problems. As I was a linux rookie, I had to reinstall linux six or seven times when I had a problem. Today we finally succeeded. Now I plan to write it down to my friend who uses ubuntu7.10server .. First install a pure ubuntu7.10server. 1. Update your system: 1. Use apt

Over the past few days, I have been tossing over the linux ror production environment, and I have made some documents online, but they are not suitable for Ubuntu 7.10 server. There will always be some problems. As I was a linux rookie, I had to reinstall linux six or seven times when I had a problem. Today we finally succeeded. Now I plan to write it down to my friends who use ubuntu 7.10 server ..

First, install a pure ubuntu 7.10 server,

1. Update your system:

1. Use apt-get to update your system to the latest version:

Sudo apt-get update

Sudo apt-get dist-upgrade

In this case, a new kernel may be installed and you are required to restart the kernel.

Ii. install necessary software

1. install OpenSSH for remote management:

Sudo apt-get install openssh-client openssh-server

2. Install Screen to facilitate remote connection and run background programs (see linux tips: use screen to manage your remote sessions)

Sudo apt-get install screen

3. Install Mysql 5.0

Sudo apt-get install mysql-server mysql-client libmysqlclient15-dev

4. install Apache

Sudo apt-get install apache2

5. Install the basic compilation environment, which will be used later when mongrel is installed.

Sudo apt-get install build-essential

6. Install Ruby

Sudo apt-get install ruby1.8 ruby1.8-dev ri1.8 rdoc1.8 irb1.8 libtermios-ruby1.8 libmysql-ruby1.8

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.