Archive for the tag 'install'

How to do rpm test install to check potential conflicts.

–test Do not install the package, simply check for and report potential conflicts.

–test Don’t really uninstall anything, just go through the motions. Useful in conjunction with the -vv option for debugging.

How do I install or upgrade an RPM package?

In order to install an RPM package you must first have the RPM you are trying to install on your system. Many people will download RPMs from a website and of course, Red Hat Network (RHN) provides all the RPM packages included in the distributions. There are two main flags that are used to install or upgrade RPM packages:

-i is used to install a new package. Always use this for kernel installations and upgrades.
-U is used to upgrade an RPM package but will also install a package if it does not exist in the RPM database.

Usage and additional options can be found in the RPM man page. Type man rpm from the command line.

Here is some information about the -i and -U flags:

INSTALL AND UPGRADE OPTIONS

The general form of an rpm install command is

rpm {-i|–install} [install-options] PACKAGE_FILE …

This installs a new package.

The general form of an rpm upgrade command is

rpm {-U|–upgrade} [install-options] PACKAGE_FILE …

How to Install KISS My Firewall on Ensim Control Panel

KISS My Firewall is a FREE iptables script designed for a typical web server. It takes advantage of the latest firewall technologies including stateful packet inspection and connection tracking. It also contains some preventative measures for port scanning, DoS attacks, and IP spoofing, among other things.

KISS My Firewall 2 is very easy to install and does not require any initial configuration. It will work with any stock installation of Ensim WEBppliance Basic & Pro, Plesk, and Webmin. Cpanel installations require some modifications.

When logged in as root ( “su -” ), type:

cd /usr/bin
wget http://www.indotek.com/kiss/kiss-2.2.tar.gz
tar zxvf kiss-2.2.tar.gz

That’s it! To get it running anywhere on the command line, you simply type:

kiss start

To stop the firewall, type:

kiss stop

To get status information, type:

kiss status

If you want to block an offenders IP address/subnet, simply edit the BLOCK_LIST variable in the /usr/bin/kiss file. You can separate IP addresses and subnet’s with a space. Once you are finished, simply restart KISS by typing:

kiss restart

Proftpd service may not start after fresh install from a Virtuozzo template

Resolution

Change the /etc/xinetd.d/xproftpd file and restart services

Log as root to your box

Open the /etc/xinetd.d/xproftpd file using a text editor

vi /etc/xinetd.d/xproftpd

Change value of “disable =” to “yes”.

Restart xinetd service

/etc/init.d/xinetd restart

Start proftpd service

/etc/init.d/proftpd start

Reference: http://parallels.com/

Parallels Pro Control Panel for Linux on fresh install of CentOS 5.3 / RHEL 5.3

Prior to installation Parallels Control Panel for Linux on the mentioned operations system please check if the system has rpm user and rpm usergroup:

You need to create this user and appropriate usergroup. To do so please follow next steps:

Log as root to your PPCPL box

Type the following commands:

/usr/sbin/groupadd -g 37 rpm > /dev/null 2>&1
/usr/sbin/useradd -r -d /var/lib/rpm -u 37 -g 37 rpm -s /sbin/nologin > /dev/null 2>&1

After adding the rpm user and rpm usergroup you can proceed with the Parallels Pro Control Panel installation.

Reference : http://parallels.com/

« Prev - Next »