Category: Linux/Unix
-
Fast Website Loading with OpenDNS – Alternative to ISPs DNS Servers
When you type a website name in the browser where often the sites dont load fast. You will see in the status bar of the browser “looking up website.com”, which often means the DNS server (resolves hostnames to IP address) is slow causing such a long time to connect to website in your home PC.…
-
how to create new user for phpmyadmin login
PHPMyAdmin and MySQL server complement each other very well. In most situations you have installed mysql server and phpmyadmin. By default the mysql root password is blank and this is a big security issue and you have change the mysql password as soon as possible. If that is not done anybody could login with phpmyadmin…
-
How to Fix: PHPMyAdmin 403 Forbidden Error
If you have installed phpMyAdmin in your linux server (centos/RHEL/debian), and tried to access phpMyAdmin in most cases you will get this 403 forbidden error. I have seen this issue very often if you are installing phpmyadmin using yum or by apt-get. By default phpmyadmin installed path is /usr/share/phpmyadmin and the apache configuration file is…
-
Install Apache Mod_Substitute
I came across interesting module for apache which does automatic search and replacement operations using regular expressions and decided to experiment on it. For information about this module documented in apache website NOTE: This module is only available in Apache 2.2.7 and later I was running Centos 5 and unable to load this module in…
-
How to Capture a Website Screenshot in Linux
You might be wondering how to capture a website screenshot (as thumbnail) but you dont know how to do it. Although PHP GD library is available, it is just not possible to do the task with php. You will need a linux server running xwindow system and a browser like KDE konquerer or firefox. In…
-
How to install Xvfb (X11 Server) in Linux Server
Xvfb is a virtual frame buffer X11 server that can be installed on linux servers without a monitor and graphics card. It can be customized for multiple displays and screens as well. In this tutorial i will show how to install, setup and configure a display. I am installing the Xvfb (X11 server) on a…
-
Setup Postfix/Dovecot MailServer for Centos/RHEL
Setup Basic POP3/IMAP Mail Server in Centos/RHEL Setting up a mail server can be quite initimidating if you are linux beginner. I am posting here my simple and most basic mail server experiment which i conducted with my VPS server so that my documentation could be helpful for those who want to setup a pop3…
-
Accidentally deleted /etc/named.conf in Cpanel
i was into a mess by accidentally deleting /etc/named.conf in my dedicated server running centos 5. Sooner i did that all my sites went down. I was in a terrible situation. For those of you who did that i am documenting here how to restore the file! Go to Cpanel WHM > Configuration file rolleback…
-
Basic Linux Server Security Tutorial – How to Secure Linux Servers?
This tutorial guide covers only basic linux server security tips intended for linux learners. I am writing this guide assuming that you are running Centos 5 or later versions. Install Firewall (APF or CSF Firewall with BFD) ModSecurity (Web application firewall) ModEvasive (Prevent DDOS attacks) Harden SSH server Fix Open DNS Recursion Install RKhunter…
-
Install LAMP Server for Centos/RHEL
Linux + Apache + MySQL + PHP/Perl together commonly known as LAMP Server. * Apache Web Server 2.0 * MySQL Database Serve 5.0 * PHP Scripting Language 5.0 * phpMyAdmin – Web based MySQL Administration Tool * Webmin – A free web based hosting control panel Goal To setup a LAMP server on a fresh…