Archive for the tag 'installing'

Installing or Updating PostgreSQL on Your cPanel & WHM Server

cPanel & WHM works with PostgreSQL 7.3.x or later.

Using the command line interface, log into your server as root.

If you have PostgreSQL 7.2.x installed, back up your databases using pg_dumpall or some other method. If you have databases you wish to keep, move your existing PostgreSQL data directory somewhere else by, for example, typing the following command.

mv /var/lib/pgsql /var/lib/pgsql.old

To begin the installation process:

On a CentOS or RedHat system, use the following script:

/scripts/installpostgres

This script executes yum install postgresql (and related RPMs).

Script for installing Parallels Installer binary from a network location.

This sample script is applicable in cases when the Parallels Installer binary is obtained directly from a network location (the sample URL http://example.com/type_parallels_installer_name_here should be substituted with a valid installer download link).

#!/bin/sh

SERVERS_LIST=”node1.example.com node2.example.com”

for current_server in $SERVERS_LIST; do

ssh -f root@$current_server ‘wget http://example.com/type_parallels_installer_name_here -o parallels_installer;chmod 755 ./parallels_installer;./parallels_installer –source http://updates.example.com/ –target /tmp/panel –select-release-id PLESK_10_0_0 –install-component base –install-component postgresql –install-component spamassassin –notify-email admin@serverbuddies.com’
done

SBDavid

Installing Softaculous in cPanel

Installing Softaculous in cPanel

Softaculous is a great Auto Installer having 150 great scripts and we are still adding more. Softaculous is ideal for Web Hosting companies and it could give a significant boost to your sales. These scripts cover most of the uses a customer could ever have.

Note: Before starting the installation make sure ionCube Loaders are enabled. For that go to WHM and click on Tweak Settings. Please make sure that the Ioncube loader is selected for the backend copy of PHP. Now SSH to your server and enter following commands:

cd /usr/local/cpanel/whostmgr/docroot/cgi
wget -N http://www.softaculous.com/ins/addon_softaculous.php
chmod 755 addon_softaculous.php

Now go to : WHM > Plugins (Add-Ons on older versions than 11) > Softaculous - Instant Installs

Installing Softaculous in Direct Admin

Note: Before starting the installation make sure ionCube Loaders are enabled. Otherwise you will not be able to Install Softaculous. The ionCube Loaders can be downloaded at the ionCube Downloads

Now SSH to your server and enter following commands:

cd /usr/local/directadmin/plugins
wget -N http://www.softaculous.com/da/install_softaculous.php
chmod 755 install_softaculous.php
/usr/local/bin/php /usr/local/directadmin/plugins/install_softaculous.php

The Installer will start showing the Installation Processes and when done will indicate the same. NOTE: Scripts will be downloaded during this process. The Download Activity will also be shown on the screen.

SBDavid

Installing Ruby on Centos with Yum

Installing Ruby on Centos with Yum

Ruby on Rails is an open-source web framework that’s optimizied for programmers happiness and sustainable productivity.

How to upgrade to the minimal requirement.

The below instructions are for 32-bit architecture.

#rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
#rpm -Uvh http://download.elff.bravenet.com/5/i386/elff-release-5-3.noarch.rpm
#yum install ruby ruby-shadow ruby-ri ruby-rdoc gcc gcc-c++ ruby-devel -y
#ruby -v

RubyGems

You can download and then install RubyGems from:

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

You will see a list of all files for the project.

#wget http://rubyforge.org/frs/?group_id=126&release_id=43601
#tar xzvf rubygems-1.3.7.tgz
#cd cd rubygems-1.3.7
#sudo ruby setup.rb
#gem –version

Next »