Xtreme Network Solutions

Archive for September, 2010

Setup a Range of IP Aliases on CentOS

by on Sep.14, 2010, under CentOs

Red Hat / RHEL / CentOS / Fedora Linux Instructions

Copy etc/sysconfig/network-scripts/ifcfg-eth0 file as /etc/sysconfig/network-scripts/ifcfg-eth0:0

Open file /etc/sysconfig/network-scripts/ifcfg-eth0:0 using vi text editor:

# vi /etc/sysconfig/network-scripts/ifcfg-eth0:0

Find entry that read as follows:

DEVICE=eth0

Replace with:

DEVICE=eth0:0

Find entry that read as follows:
IPADDR=xxx.xxx.xxx.xxx

Replace it with your actual IP address:
IPADDR=192.168.1.7

At the end your file should like as follows:
DEVICE=eth0:0
IPADDR=192.168.1.7
NETMASK=255.255.255.0
NETWORK=192.168.1.0
ONBOOT=yes
NAME=eth0:0

Open file /etc/sysconfig/network-scripts/ifcfg-eth0 and make sure file does not have a GATEWAY= entry:

# vi /etc/sysconfig/network-scripts/ifcfg-eth0

Find the entry that read as follows:
GATEWAY=your-ip

Remove or comment it out by prefixing # (hash) :
# GATEWAY=192.168.1.254

Save the file. Add the GATEWAY= to your /etc/sysconfig/network:
# vi /etc/sysconfig/network

Append or modify GATEWAY entry:
GATEWAY=192.168.1.254

Save the file. Reboot the system or run the following command:
# ifup eth0:0

OR
# service network restart

Red Hat / CentOS / Fedora Multiple IP address range

You can assign multiple ip address range as follows to eth0:

vi /etc/sysconfig/network-scripts/ifcfg-eth0-range0

Append following code from 202.54.112.120 to 202.54.112.140:
IPADDR_START=202.54.112.120
IPADDR_END=202.54.112.140
CLONENUM_START=0
NETMASK=255.255.255.0

Save and close the file.

Leave a Comment more...





Backing up a SQL databse with Phpmyadmin

by on Sep.13, 2010, under HowTo's

First login to your sql account with phpmyadmin.

After logging in you will see something like this.

Now you want to click on the “Export” Tab at the top left. It will look something like this.

Now you will select the database you wish to back up. You select it by clicking on it. make sure it gets highlighted. (In this guide ill be using a database named “Ragnarok”)

Now you will scroll down the page a little bit and you want to check the box “Save as File”. It will be on the bottom left.

After checking the box you want to click the “Go” button on the bottom right. After clicking a download window will pop up.

Click “Save” and pick where you wish to download the backup to.

After your download is done your finished.

Thanks for reading and I hope this helps.

Zac , Xtreme Network Solutions.

1 Comment more...





Php Scripts

by on Sep.03, 2010, under eAthena

Leave a Comment more...





Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!