
Currently Browsing: Linux
May 27, 2013
How To Use A Raspberry Pi as a Web Server
The Raspberry Pi is a wonderful little device. A powerful compact computer that is quiet and low power consumption makes it nice for many tasks. One such for me is a web server with PHP and MySQL. In this post that’s exactly what we are shooting for, a web server. First let’s make sure we are up to date. $ sudo apt-get update Install Apache and PHP $ sudo apt-get install apache2 php5... read more
May 21, 2013
Install Tomcat 7 and Java 1.7 on CentOS 6 RHEL 6
In this post we will cover how to install the Apache Tomcat 7 and jre 1.7 on CentOS 6 and RHEL 6. This process doesn’t use the rpm’s from the Redhat repositories, but uses the latest tar balls from Apache and Oracle. We will also be using service accounts to control Tomcat and its processes. Download latest Tomcat from http://tomcat.apache.org/download-70.cgi. Version 7.0.40 is the curent... read more
Mar 21, 2013
How To Fix RHEL / CentOS 6.4 LDAP MD5 Cert Error
Recently we updated to the latest RHEL 6.4 which caused LDAP to stop using our MD5 signed certificate. This was due to the nss-3.14.0 update that now deems MD5 as unsecure. This change caused authentication of users using LDAP to fail. If the account had a local password (such as root), they were able to login. Since creating / updating the MD5 certificate was not an immediate solution for us we had to... read more
Mar 20, 2013
How To setup FreeNX-Server on Fedora 18 x64
Admit it, sometimes you need to have the GUI when accessing your Linux system, most times SSH access is all you need. A good option is NoMachine’s NX server with FreeNX running on your Fedora system. Here is a way to successfully install. Become root $ sudo su – Now install freenx-server # yum install freenx-server This will install any dependent programs it needs. After the installation has... read more
Feb 27, 2013
How To Change the default MySQL data directory on RHEL 6
You’ve been using MySQL for sometime now and the database has been growing and you are at the point where it is time to move to another location or to newly added storage that is in a different location. Stopping the MySQL server # service mysqld stop Create a new data diretory and move the content from the old one Creating a new data directory # mkdir /app/mysql/ # chown mysql:mysql /app/mysql... read more