Archive for July, 2007

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 [...]

Pownce, Twitter in Wordpress

I am using pownce and twitter as nanoblogs. I installed Twitter Plugin yesterday, in one of my page.
I read that pownce can be bridge in to Twitter using twitterfeed from one of pownce public notes. So i give it a try, by feeding a blog url, then bridge pownce into twitter using twitterfeed. I look [...]

Twitter Plugin for Wordpress

I want Twitter in this site.I look for twitter plugin, i stumble upon Alex King’s Twitter Tools Plugin. It’s a great plugin, but Alex’s plugin required Wordpress 2.1 or higher, and my Wordpress isn’t in this requirement. Try it anyway, shows up an error.
Then I stumble upon David Wood’s Simple Twitter Plugin. Download, extract, upload, [...]

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 [...]

Look more (almost) like Apple : Dock in Windows XP

One thing that Apple OS have, and Windows XP doesn’t have is Apple Dock
This is add ons. Use one of this as your dock :

Y’z Dock
Stardock ObjectDock

I prefer Y’z Dock, although ObjectDock more stylish than Y’z Dock. I found Y’z Dock more ‘light’ for Windows XP (Y’z Dock uses low system resources). Y’z Dock has [...]

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 [...]

YUM Installation

UPDATE
I don’t have YUM in one of my server, and unfortunately that server in data center a few miles away. I can’t install from CD source, no yum rpm available in this server.
So I use this :
Atomic Rocket TurtleYUM
[root@ ~]wget http://3es.atomicrocketturtle.com/atomic/art/3ES/RPMS/yum-2.0.7-1.rhel3.art.noarch.rpm
[root@ ~]rpm -Uvh yum-2.0.7-1.rhel3.art.noarch.rpm
Or
Duke University Linux Project YUM
[root@ ~]wget http://linux.duke.edu/projects/yum/download/2.3/yum-2.3.2-1.noarch.rpm
[root@ ~]rpm ?i yum-2.3.2-1.noarch.rpm
They are both [...]