Deployment rails ubuntu server

sudo vi / etc / apt / source.list

deb http://mirror.lupaworld.com/ubuntu intrepid main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu intrepid-security main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu intrepid-updates main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu intrepid-backports main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu intrepid-proposed main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu intrepid main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu intrepid-security main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu intrepid-updates main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu intrepid-backports main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu intrepid-proposed main restricted universe multiverse

upgrade os

sudo apt-get update ;sudo apt-get dist-upgrade; sudo apt-get upgrade

install ruby

wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p72.tar.gz
wget http://sites.google.com/site/brentsrubypatches/Home/MBARIp72patches.tar.gz?attredirects=0
sudo apt-get remove patch build-essential
CFLAGS="-O2 -fno-stack-protector -mpreferred-stack-boundary=2" ./configure
make
./ruby -v
sudo make install
分类:Ruby 时间:2009-03-08 人气:639
分享到:
blog comments powered by Disqus

相关文章

  • Learn Linux, compile and install mysql-5.0.45.tar.gz 2011-04-24

    Compiled under Linux install mysql-5.0.45.tar.gz Reproduced <! - Body start -> (1) ------------- ---------- Preparatory work 1: If the downloaded file is named: mysql-5.0.45.tar.gz 2: If the copy to the / home under the 3: groupadd mysql # add the m

  • ubuntu 11.4 binaries (tar.gz) install mysql 5.5.x 2011-08-31

    For some reason, I need to use a higher one o'clock version of mysql, but ubuntu using apt-get install mysql version is not the version I expected (I used to test the ubuntu-11-04 apt-get install mysql, mysql version is 5.1 .54; ubuntu-10-04 apt-get

  • mysql-5.1.40-linux-i686-glibc23.tar.gz installation notes 2011-04-15

    mysql-5.1.40-linux-i686-glibc23.tar.gz installation notes 1 First, add the mysql user group Shell Code shell> groupadd mysql 2 Add the mysql user and mysql user group assigned to Shell Code shell> useradd -g mysql mysql 3 Extract the mysql-version.t

  • tar.gz and tar.bz2 detailed explanation 2011-09-28

    Most packaged in tar.gz and tar.bz2 software, mostly through the. / Configure; make; make install to install; some software is directly make; make install; We can. / Configure - help to see the configuration software functions; most software is avail

  • 使用7-Zip在Windows下解压和压缩tar.gz 2015-03-17

    我使用的是电信ADSL上网,每次使用FTP上传文件都很慢,尤其是大量小文件,幸好我的网站后台管理程序(DirectAdmin)支持在线解压功能,但只支持扩展名为.tar.gz的压缩包,可常用的WinRAR又不能生成这种格式的压缩包,怎么办呢? 在网上查了查,原来7-Zip可以生成扩展名为.tar.gz的压缩包,此外,.tar.gz的压缩包比.zip和rar都小得多,差不多是.zip和rar的一半而已. 现把生成方法和7-Zip的下载地址提供如下: 1.通过"7-Zip"软件里的文件浏览

  • linux extract the tar.gz file commands 2010-03-29

    linux extract the tar.gz file commands: tar zxvf tomcat6.0.tar.gz linux modify the file name: mv tomcat5.0 tomcat6.0 View a process: ps-ef | grep tomcat Copying files: cp filename target path to draw the machine: ether-wake target NIC address to log

  • Under linux tar gz bz2 tgz z zip file decompression method 2010-02-08

    Under linux tar gz bz2 tgz z zip file decompression method Under linux tar gz bz2 tgz z, and many other methods of extracting compressed files This is to facilitate the collection of the http://hi.baidu.com/sillyboy/blog/item/3802b600174d768fe850cd66

  • Linux software packages to install tar.gz.rpm.tar.bz2 2010-03-02

    1.Linux install Tar.gz (Tgz) package Linux, to Tar.gz the extension package, is packaged with Tar and compressed with the Gzip program package. To install this package, you must first decompress the package, use the "tar zxfv filename.tar.gz" ca

  • tar.gz and zip the difference between 2010-04-13

    The past few days have begun to see the J2EE book, and try to do small projects above, before doing the project is necessary to download their software and framework needed. When you download things always run into a suffix. Tar.gz and. Zip problem,

  • mysql under linux binaries (tar.gz) installation 2010-05-22

    ubuntu is very easy to install mysql, ubuntu directly if you are running: To install MySQL, you can run the following terminal command prompt: sudo apt-get install mysql-server sudo apt-get install mysql-client sudo apt-get install php5-mysql / / Ins

iOS 开发

Android 开发

Python 开发

JAVA 开发

开发语言

PHP 开发

Ruby 开发

搜索

前端开发

数据库

开发工具

开放平台

Javascript 开发

.NET 开发

云计算

服务器

Copyright (C) codeweblog.com, All Rights Reserved.

CodeWeblog.com 版权所有 黔ICP备15002463号-1

processed in 0.124 (s). 12 q(s)