Archive for 'CentOS/RHEL'

Xampp for linux (is not for dedicated/shared server)

Xampp for linux is an easy to install Apache distribution containing MySQL, PHP and Perl. Xampp contain a package of Apache 2.2.4, MySQL 5.0.45, PHP 5.2.3 & 4.4.7 & PEAR + SQLite 2.8.17/3.3.17 + multibyte (mbstring) support, Perl 5.8.7, ProFTPD 1.3.0a, phpMyAdmin 2.10.3, OpenSSL 0.9.8e, GD 2.0.1, Freetype2 2.1.7, libjpeg 6b, libpng 1.2.12, gdbm 1.8.0, [...]

Setup DNS Zone in Plesk

Plesk have DNS Zone template to setup DNS Zone when you create a domain.
DNS Zone template located in System > Server Administration > Services > DNS.
. NS ns.. . A . MX (10) mail.. / 24 PTR . ftp.. CNAME . mail.. A ns.. A webmail.. A
DNS Zone Template only have [...]

Chrooted DNS and Plesk

Chrooted DNS doesn’t work with Plesk. That’s why chrooted DNS must remove from CentOS after Plesk installation. Plesk have its own DNS. It’s better not to install chrooted DNS in CentOS, if you are using Plesk
Remove Chrooted DNS
# rpm -e bind-chroot
Chrooted DNS make DNS service in Plesk looks failed, but it’s not (Server > [...]

Date and Time in CentOS, How to fix ntpd?

A few days a go, i was asked to fix date and time in one of servers. The date and the time between Linux Kernel system time and hardware wasn’t properly set up. And when i tried ntpd, it was failed (i’m still trying to figure out why).
Timezone configuration is correct. So i don’t need [...]

Setup IP in CentOS

Here is a way to setup IP in CentOS without Plesk
Let’s assume the network interface is eth0. Then there is a file /etc/sysconfig/network-scripts/ifcfg-eth0. This is an eth0 file configuration.
Use vi or other text editor
# vi /etc/sysconfig/network-scripts/ifcfg-eth0DEVICE=eth0
BOOTPROTO=static
BROADCAST=192.168.0.255
HWADDR=00:0C:29:C8:AA:7C
IPADDR=192.168.0.19
NETMASK=255.255.255.0
NETWORK=192.168.0.0
ONBOOT=yes
TYPE=Ethernet

Create Virtual Interface
Create the virtual interface eth0:0 with the IP address 192.168.0.20. Just create the file /etc/sysconfig/network-scripts/ifcfg-eth0:0 (leave out the [...]

1 way to setup IP, 2 ways to change IP in Plesk

Setup/Add IP in Plesk is quite simple :
1. Sign On to Plesk Administration Site
2. Choose Server in System Menu (reside in left bar)
3. Choose IP Addresses in System
4. Choose New IP Addresses in IP Adresses management, plesk will show ‘IP Address form’ :
- leave out interface to eth0 (eth0 is a default. If there’s another [...]

Step 3 (Last Step): Plesk 7.5 Reloaded Installation on CentOS 4.x

We’re running AutoInstaller from Plesk Site.
But before going through that phase, we should change redhat-release content in etc directory
[root@ ~] vi /etc/redhat-release
You’ll see in a redhat-release file, CentOS release 4.4 (Final). Change it to RedHat Enterprise Linux 4

RedHat Enterprise Linux 4
~
~
~
“/etc/redhat-release” 1L, 26C

Run AutoInstaller
Go to where Plesk AutoInstaller reside, e.g root (~) directory, then
# ./psa_redhat
Follow [...]

MyTop, mysql monitoring tools

MySQL, is one of important databases today. Most web server has it.
And you will want to monitor MySQL activity, to see what queries a server is currently processing as well as which user is executing them
MyTop is ‘top’ clone for mysql, a console-based (non-gui) tool for monitoring the threads and overall performance of a MySQL.
Installation [...]