Skip to main content

Posts

Showing posts from 2013

Set Up Apache Virtual Hosts on CentOS 6

About Virtual Hosts Virtual Hosts are used to run more than one domain off of a single IP address. This is especially useful to people who need to run several sites off of one virtual private server. The sites display different information to the visitors, depending on with which the users accessed the site.There is no limit to the number of virtual hosts that can be added to a VPS. Set Up The steps in this tutorial require the user to have root privileges. You can see how to set that up in the   Initial Server Setup   in steps 3 and 4. Furthermore, if I reference the user in a step, I’ll use the name www. You can implement whatever username suits you.   Additionally, you need to have apache already installed and running on your virtual server   If this is not the case, you can download it with this command: yum install httpd Step One— Create a New Directory The first step in creating a virtual host is to a create a directory where

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

CentOS / Redhat : Configure CentOS as a Software Router with two interfaces

Linux can be easily configured to share an internet connection using iptables. All you need to have is, two network interface cards as follows: a) Your internal (LAN) network connected via eth0 with static ip address 192.168.0.1 b) Your external WAN) network is connected via eth1 with static ip address 10.10.10.1  ( public IP provided by ISP ) Please note that interface eth1 may have public IP address or IP assigned by ISP. eth1 may be connected to a dedicated DSL / ADSL / WAN / Cable router: Step # 1: Enable Packet Forwarding Login as the root user. Open /etc/sysctl.conf file # vi /etc/sysctl.conf Add the following line to enable packet forwarding for IPv4: net.ipv4.conf.default.forwarding=1 Save and close the file. Restart networking: # service network restart Step # 2: Enable IP masquerading In Linux networking, Network Address Translation (NAT) or Network Masquerading (IP Masquerading) is a technique of transceivin

Red Hat Enterprise Linux 7 Beta Arrives

Red Hat yesterday announced the beta availability of its next-generation Red Hat Enterprise Linux (RHEL) 7 operating system platform. The new beta marks the first major public milestone release of RHEL 7, which is the successor to the RHEL 6 platform that first debuted in 2010 and was most recently updated with the 6.5 release in November of this year. "With today's announcement, we are inviting Red Hat customers, partners, and members of the public to provide feedback on what we believe is our most ambitious release to date. Red Hat Enterprise Linux 7 is designed to provide the underpinning for future application architectures while and providing the flexibility, scalability, and performance needed to deploy across bare metal, virtual machines, and cloud infrastructure", says Red Hat. The company further adds, "based on Fedora 19 and the upstream Linux 3.10 kernel, Red Hat Enterprise Linux 7 will provide users with powerful new capabilities that strea

How To Install Joomla on a linux Server Running Ubuntu

About Joomla Joomla is a free and open source content management that uses a PHP and a backend database, such as MySQL. It offers a wide variety of features that make it an incredibly flexible content management system right out of the box. It was created in 2005 and is currently the 2nd most popular content management site online. It now has over 10,000 addons to customize its functionality. Setup The steps in this tutorial require the user to have root privileges on their linux server. You can see how to set that up in steps 3 and 4 of   the Initial Server Setup Before working with Joomla, you need to have LAMP installed on your linux server. If you don't have the Linux, Apache, MySQL, PHP stack on your linux server, you can find the tutorial for setting it up here:   How to Install LAMP on Ubuntu .   Once you have the user and required software, you can start installing Joomla! Step One—Download Joomla To start, create a directory where y