Skip to main content

Posts

Showing posts with the label centos

Create a SSL Certificate for Apache on CentOS 6

About Self-Signed Certificates A SSL certificate is a way to encrypt a site's information and create a more secure connection. Additionally, the certificate can show the virtual private server's identification information to site visitors. Certificate Authorities can issue SSL certificates that verify the virtual server's details while a self-signed certificate has no 3rd party corroboration. Step One—Install Mod SSL In order to set up the self signed certificate, we first have to be sure that Apache and Mod SSL are installed on our VPS. You can install both with one command: yum install mod_ssl Step Two—Create a New Directory Next, we need to create a new directory where we will store the server key and certificate mkdir /etc/httpd/ssl Step Three—Create a Self Signed Certificate When we request a new certificate, we can specify how long the certificate should remain valid by changing the 365 to the number of da...

How to install NTOP on CentOS 5.5 64bits

Quick and easisest way: wget http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm rpm -Uvh rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm yum install ntop # Get yum ready yum clean all yum update # Install Development Tools yum groupinstall “Development Tools” # Install more ntop Dependencies yum install libpcap-devel libpcap # Install RDD tools dependencies yum install cairo-devel libxml2-devel pango-devel pango libpng-devel freetype freetype-devel libart_lgpl-devel # Download, compile and install RDDTools wget http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.4.5.tar.gz tar xvzf rrdtool-1.4.5.tar.gz cd rrdtool-1.4.5 ./configure make make install # Download, compile and Install GeopIP wget http://geolite.maxmind.com/download/geoip/api/c/GeoIP.tar.gz tar xvzf GeoIP.tar.gz cd GeoIP-1.4.6/ ./configure ./make ./make install NOTE: config at: /usr/local/etc/GeoIP.conf ...

Startup Guide for KVM on CentOS 6

These instructions are very specific to CentOS 6. For this I assume you have setup your server using the “Minimal” option when installing CentOS 6. You must also have the Virtualization features enabled for your CPU. This is done in your host’s BIOS. Optionally you can skip the first section, Installing KVM, if you check all 4 “Virtualization” software categories during the install. Installing KVM If you choose the “Minimal” option during CentOS 6 then this step is necessary. To get the full set of tools there are 4 software groups to install…     Virtualization     Virtualization Client     Virtualization Platform     Virtualization Tools To install run yum groupinstall “Virtualization*” dejavu-lgc-sans-fonts is necessary or all the fonts in virt-manager will show as squares yum install dejavu-lgc-sans-fonts Once the install is finished verify that the KVM kernel module is loaded. ...

Installing RHEL EPEL Repo on Centos 5.x or 6.x

How to install RHEL EPEL repository on Centos 5.x or 6.x   The following article will article CentOS 5.x-based or Centos 6.x-based  system using Fedora Epel repos, and the third party   remi   package repos. These package repositories are not officially supported by CentOS, but they provide much more current versions of popular applications like PHP or MYSQL. Install the extra repositories The first step requires downloading some RPM files that contain the additional YUM repository definitions. Centos 5.x wget http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm sudo rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm  Centos 6.x wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm sudo rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm Once installed yo...