Archive for the tag 'install'

Ruby on Rails and rubygems install on CentOS

Ruby on Rails install on CentOS

Once you have the development tools package installed. You can go ahead and install Ruby on Rails. The main ruby packages and dependencies will be installed using the ‘yum’ package manager, but rubygems will be installed from source. Rubygems is not readily available through the repositories in yum.

Install ruby.

Main Ruby on Rails packages can be installed using the below method.

sudo yum install ruby ruby-devel ruby-irb ruby-rdoc ruby-ri

Once done, we can have a look at the Ruby version.

$ ruby -v
ruby 1.8.8dev (2010-02-11) [i686-linux]

Installing rubygems for Rails installation.

Download from: http://rubyforge.org/projects/rubygems/

wget http://rubyforge.org/frs/download.php/70696/rubygems-1.3.7.tgz

Now unpack it and move into the newly created folder.

Now we can go through the simple process of compiling it:

sudo ruby setup.rb

Once done, we can check the gem version with a:

$ gem -v
1.3.7

NOTE:

http://rubygems.org is now the default source for downloading gems.

* `gem` commands
* `gem install` and `gem fetch` now report alternate platforms when a matching one couldn’t be found.
SBDavid

CentOS - Development Tools Install

CentOS - Development Tools Install

CentOS has some handy meta-packages that include a set of pre-defined programs needed for a single purpose. yum is an interactive, automated update program which can be used for maintaining systems using rpm

So instead of installing a dozen different package names, you can install just one meta-package. One such package is called ‘Development Tools’. Issue the command.

sudo yum groupinstall ‘Development Tools’

Notice the programs that are to be installed include gcc, make, patch and so on. All these are needed for many other programs to install properly. A neat system indeed.

Other Yum Options:

groupinstall group1 [group2] [...]
groupupdate group1 [group2] [...]
grouplist [hidden]
groupremove group1 [group2] [...]
groupinfo group1 [...]

How do I install flash plugin for Firefox in RHEL

The easiest way to download and install the flash plugins to your Red Hat Enterprise Linux system would be to run the following command.

Red Hat Enterprise Linux 5

yum install flash-plugin

Preparing Ubuntu System before Webmin Install.

You can install webmin for your server web interface to configure apache2,mysql,FTp servers and many more.

Preparing your system

First you need to install the following packages

sudo aptitude install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perl

Now download the latest webmin using the following command or from

http://www.webmin.com/download.html

SBDavid

Cpanel Install and Licence

Cpanel Install and Licence

You may install cPanel without a license, however it will not be usable until you obtain a license.

Also you need the public ip address of the machine that you plan on running cPanel on.

You can get this address by running the below command if you have lynx installed.

lynx -dump http://www.cpanel.net/showip.cgi

If you don’t have lynx installed and are directly connected to the internet, you can use the below command:

/sbin/ifconfig eth0 |grep inet | awk ‘{print $2}’ | awk -F: ‘{print $2}’

-dump dumps the formatted output of the default document or those specified on the command line to standard output. Unlike interactive mode, all documents are processed. This can be used in the following way:

lynx -dump http://www.subir.com/lynx.html

« Prev - Next »