`
wuhuizhong
  • 浏览: 681241 次
  • 性别: Icon_minigender_1
  • 来自: 中山
社区版块
存档分类
最新评论

Installing Ruby on Rails on Red Hat Enterprise Linux 4

    博客分类:
  • ROR
阅读更多

Determine what Ruby RPMs are installed:

$ rpm -qa | egrep '(ruby)|(irb)'
ruby-libs-1.8.1-7.EL4.2

Uninstall Ruby RPMs:

$ sudo rpm -e ruby-libs-1.8.1-7.EL4.2

Install Ruby from source:

$ wget ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.6-p114.tar.gz$ tar xvfz ruby-1.8.6-p114.tar.gz
$ cd ruby-1.8.6-p114
$ ./configure --prefix=/usr (the default prefix is /usr/local)
$ make
$ make test
$ sudo make intall

Install Ruby Gems:

$ wget http://rubyforge.org/frs/download.php/29548/rubygems-1.0.1.tgz
$ tar xvfz rubygems-1.0.1.tgz
$ cd rubygems-1.0.1
$ sudo ruby setup.rb

Install Rails:

$ sudo gem update
$ sudo gem update --system
$ sudo rm `gem env gempath`/source_cache
$ rm -f ~/.gem/source_cache
$ sudo gem update
$ sudo gem install rails -v 1.1.6
$ sudo gem install rails -v 1.2.6
$ sudo gem install rails (if you want the latest version, 2.0.2)

Install Capistrano:

$ sudo gem install capistrano

Install Mongrel:

$ sudo gem install mongrel
$ sudo gem install mongrel_cluster

Install Memcache Client:

$ sudo gem install memcache-client

分享到:
评论

相关推荐

    Installing Red Hat Enterprise Linux 5 Guide

    # 安装Red Hat Enterprise Linux 5 指南 ## 知识点一:Red Hat Enterprise Linux 5 的安装方法概述 ### 图形模式与文本模式安装的区别 Red Hat Enterprise Linux (RHEL) 5 提供了两种安装方式:图形模式安装与...

    Beginning Ruby on Rails

    Ruby on Rails is the revolutionary online programming tool that makes creating functional e-commerce web sites faster and easier than ever. With the intuitive, straightforward nature of Ruby and the ...

    ruby on rails安装环境.txt

    标题与描述均提到了“ruby on rails安装环境”,这表明文档主要关注的是如何在特定的环境中设置Ruby on Rails。Ruby on Rails(常简称为Rails)是一种用于开发Web应用程序的开源框架,采用Ruby语言编写,遵循MVC...

    Installing_Red_Hat

    安装Red Hat Enterprise Linux 6.1 在信息技术领域,Red Hat Enterprise Linux(RHEL)是一款广泛使用的Linux发行版,它是为企业的服务器和工作站设计的操作系统。本文将详细介绍如何安装Red Hat Enterprise Linux...

    RHCSA8课堂笔记-RH124

    4. Getting Help in Red Hat Enterprise Linux 5. Creating, Viewing, and Editing Text Files 6. Managing Local Users and Groups 7. Controlling Access to Files 8. Monitoring and Managing Linux ...

    Installing Oracle9i 32-bit on Red Hat

    linux 下Oracle9i 安装

    Agile Web Development with Rails Final

    - On Unix/Linux systems, installation can be done via package managers like apt (Debian-based distributions) or yum (Red Hat-based distributions). Manual installation using source code is also an ...

    Installing Oracle RAC 10g Release 2 on Linux x86(中)

    1. Red Hat Enterprise Linux 4 (RHEL4) 2. Red Hat Enterprise Linux 3 (RHEL3) 3. Novell SUSE Linux Enterprise Server 9 其中,RHEL4 和 SLES9 将作为重点讲解对象,而RHEL3则未被纳入讨论范围。 #### Oracle ...

    Installing Oracle Database 11g on Linux

    通常,你需要一个64位的Linux发行版,如Red Hat Enterprise Linux (RHEL)或CentOS,以及足够的内存(推荐2GB以上)和磁盘空间。安装过程可能会涉及到多个软件包,包括开发工具、库和运行时环境。 1. **系统准备**:...

    percona-xtrabackup

    Installing Percona XtraBackup on Red Hat Enterprise Linux and CentOS https://www.percona.com/doc/percona-xtrabackup/2.4/installation/yum_repo.html (2.4 和 8.0 rpm安装percona-xtrabackup一样)

    Yum Command Cheat Sheet for RedHat.pdf

    The yum command is the primary tool for getting, installing, deleting, querying, and otherwise managing Red Hat Enterprise Linux RPM software packages from official Red Hat software repositories, as ...

    auth0-rubyonrails-sample:Ruby on Rails Web应用程序的Auth0集成示例

    Auth0 + Ruby on Rails WebApp种子+示例 该项目的目标是帮助将Auth0功能集成到Ruby on Rails应用程序中。 您可以在了解有关种子项目和示例的更多信息。 解决问题 如果在Mac上收到以下错误,请执行以下操作: An ...

    Wiley.Publishing.Fedora.Linux.Toolbox.1000+.Commands.for.Fedora.CentOS.and.Red.Hat.Power.Users.and.Red.Hat.Power.Users.2008.pdf

    ### Fedora Linux Toolbox: 1000+ Commands for Fedora, CentOS, and Red Hat Power Users #### Chapter 1: Starting with Fedora Linux In this chapter, readers are introduced to Fedora Linux, an advanced ...

    Installing Oracle 9i on RedHat Linux.rar

    这通常包括足够的内存(建议1GB以上)、足够的硬盘空间(根据数据库大小而定,但至少需要几百MB用于安装),以及兼容的Linux版本(Red Hat Enterprise Linux 7或更高版本)。此外,需要安装开发工具包(如GCC编译器...

    Sap Ruby Ajax

    One such tool is `sap4rails`, which aims to provide developers with a streamlined way to interact between SAP systems and Ruby on Rails applications. This article delves into the details of ...

    rhce guide

    Understanding the system requirements is crucial before installing Red Hat Enterprise Linux. Candidates should know how to assess hardware and software needs, including CPU architecture, memory, disk ...

    Installing Oracle 10G On Linux

    2. **操作系统版本**:选择一个稳定且支持Oracle 10G的Linux发行版,如Red Hat Enterprise Linux或Oracle Linux 5.x/6.x。 3. **软件准备**:确保系统上安装了必要的软件包,如GCC编译器、Perl、Kerberos、NFS...

    CentOS宝典.pdf

    CentOS (Community ENTerprise Operating System) is a Linux operating system maintained by a small team of core developers based on Red Hat Enterprise Linux (RHEL) Lead author Christopher Negus is the ...

Global site tag (gtag.js) - Google Analytics