Skip to main content

Posts

The Virtuozzo CheatSheet

              The Ultimate Virtuozzo Guide  The Virtuozzo Ultimate Guide             1. Create a container with vid 101 ————- # vzctl create 101 –config vps.plesk7.fc2 –pkgset fedora-core-2 # vzpkgadd 101 psa-fc2 ############################################# 2. How do I validate configuration of VPSes on the hardware node? There is a set of utilities which can help you with a resources management. 1.  vzcfgvalidate : checks the resource’s cross-dependencies for a single VPS 2.  vzcheckovr : checks if the hardware node is overcommitted 3.  vzcpucheck : check the CPU utilization on the hardware node 4.  vzmemcheck : shows the current memory utilization 5.  vztop ,  vzstat : utilities which can be used for VPS monitoring ############################################# 3. How do I install APF firewall into the VPS...

How to Add the RPMforge Repository in RHEL/CentOS 5

How to Add the RPMforge Repository in RHEL/CentOS 5 How to Add the RPMforge Repository in                            RHEL/CentOS 5 RPMforge  is a third party RPM repository for  Red Hat Enterprise Linux or CentOS. here i am going to     show  how to add  the RPMforge repository in Red Hat Enterprise Linux or CentOS 5. Install yum-priorities yum install yum-priorities Plugins  are enabled in CentOS 5 by default. To make sure that yum-priorities is enabled. Just type following command to check it:- vi /etc/yum/pluginconf.d/priorities.conf Download  and  install  package (i386 – 32bit) wget http://packages.sw.be/rpmforge-release /rpmforge-release-0.3.6-1.el5.rf.i386.rpm # install the rpmforge yum repo rpm -Uhv rpmforge-release-0.3.6-1.el5.rf.i386.rpm # clean up after ourselves rm rpmforge-release-0.3.6-1.el5.rf.i386.rpm Download and install...

Installing Tomcat 6.x on CentOS 5

              Installing Tomcat 6.x on CentOS 5 UPDATE: This post was revised to work with java6u10 and now includes instructions for automated startup config. FYI: if you used this post before 11/06, there have been some major changes to the start up script. This new version is the most basic and easiest. This is a quick and dirty guide for installing Apache Tomcat 6.0.18 on CentOS5. It is based on detailed instructions for CentOS 4 and tomcat 6.0.13 here . If you get no luck, please check out this link for comprehensive explanation and adopt it to your platform. Install pre-requisite 1. Download java JDK 6 Update 10 and Java Runtime Environment (JRE) 6 Update 10 bin ( NOT RPM ) 2. Open terminal, su to root and move downloaded files to /root directory $ su root Password: # mv [.....] 3. Create java environment # mkdir /usr/java # cd /usr/java 4. Execute downloaded jdk and jre bins. # sh /root/jre-6u10-linux-i58...

Installing Java and Apache Tomcat in your CentOS / Redhat Server

Installing Java and Apache Tomcat in your CentOS / Redhat Server Steps : Installing Java SDK Step 1 : SSH into the server using the following command ssh –X root@ip-address-of-server Then provide the root password. Please note that you need to use the root (admin) account itself, since you need super-user privileges to install applications in the server. Step 2 : Install jpackage-utils in the server using yum install jpackage-utils You can also get the packages (using wget) from http://www.jpackage.org/ and install them manually. This will automatically pull the packages from the repository and install them Step 3 : Now we are going to install the Java SE Development Kit 6u22 for Linux. You may check this site to find whether this is latest version or not. Since I’m going to use wget, I need a direct link to download the package.You can grab the package from here http://techblog.googlecode.com/files/jdk-6u22-linux-i586-rpm.bin Now use wget and pull this pa...