Author

ServerPronto

Browsing

At ServerPronto we build our customer’s orders precisely and accurately. We do double duty on quality control during the provisioning process, still, we encourage our customers to check the hardware settings of the server you ordered.

Linux commands to check hardware:

Harddrive

fdisk –l

Memory

cat /proc/meminfo

CPUcat /proc/cpuinfo

 

ServerPronto offers the best affordable and secure hosting service in all dedicated server packages.

Managing the hard drive on a server, meaning creating/ removing partitions and formatting/ activating slave drives is a vital step in setting up a server that we usually do for our customers. But sometimes users want to manage their storage by themselves; here is how to do it:

Linux:

to get an overview of your hard drives and to see partitions such as /dev/hda and /dev/hdb

fdisk –l

to manage the slave drive

fdisk /dev/hdb
p - to see partitions
d – to delete partitions
n - to create new partition
m – to display help in fdisk
w – to write changes
reboot

to format the partition

mke2fs –j /dev/hdb1

go into nano /etc/fstab and add the following to the end of the file

/dev/hdb1    /home    ext3    defaults    1 2

to make the partitions usable and visible with df -h

mount –a

————————————————————————————————————–

Windows:

Access the built-in utility “Disk Management“. Go into the Control Panel -> go under Administrative Tools -> Computer Management -> on the left-hand side underneath Storage -> Disk Management.

Look on the bottom right and you’ll see something that looks like this picture. The disk with all of the unallocated space is what you’re after. Right, click on it. Select New Partition.

A wizard will pop up and walk you through this process. Choose a partition size. If this is a secondary drive then you’re obviously after pure storage space so just make it a primary partition and allocate 100% of your space to it.

The followed screen looks like this. Just clicking next until you get here.

If you’re only using Windows 2000/XP/Vista/Windows 7 and Windows server 2000/2003/2008, it is suggested using NTFS. If you’re dual booting then Fat32 would probably be a good idea if the other OS can’t read NTFS.

For NTFS the default cluster size is 4K which is pretty much the best tradeoff between speed and storage space.

Volume label is nothing other than the name you want it to be called.

Make sure you select the quick format or else it’ll be a while before you can use the disk.

Click next it’s just a summary of what you told it to do.

Click next and soon the new drive is available.

ServerPronto offers the best affordable and secure hosting service in all dedicated server packages.

 

More information at: http://www.easeus.com/resource/install-ide-hard-drive.htm

IPTables is an application program that allows to set up, maintain, and inspect the tables of IP packet filter rules provided by the Linux kernel.

All IPTables rules are stored on /etc/iptables.rules
You can open/close any port from it and then restart the network by running “etc/init.d/networking restart”

Before opening or closing ports, we recommend to first verify if the port is open or closed and who is using the port. There a number of different commands:

Commands to verify ports:

nmap IP#
nmap localhost
netstat –ntulp

to verify the single port

netstat -nap | grep  <port #>

to list all current rules in iptables

iptables -L

For opening a TCP port:

iptables -A INPUT  -p tcp –dport <port #> -j ACCEPT

For opening a UDP port:

iptables -A INPUT -p udp –sport <port #>  -j ACCEPT

Save changes:

iptables-save > /etc/iptables.rules

If you need to disable the firewall temporarily, you can flush all the rules using:

iptables -F

————————————————————————————————————

ServerPronto offers the best affordable and secure hosting service in all dedicated server packages.

 

For more detailed information visit

Iptables Description by Ubuntu Manuals

Iptables How-To for Ubuntu by Ubuntu Manuals

Iptables How-To for Debian by wiki.debian.org

We recommend installing a software on your server to keep track of how much bandwidth you are using. There are many open source solutions available one of them is vnStat.

vnStat:

vnStat is a console-based network traffic monitor for Linux and BSD that keeps a log of network traffic for the selected interface. It uses the network interface statistics provided by the kernel as the information source. This means that vnStat won’t actually be sniffing any traffic and also ensures light use of system resources.

Install:

Ubuntu/ Debian:

cd /usr/local/src
wget http://humdi.net/vnstat/vnstat-1.10.tar.gz tar -zxvf vnstat-1.10.tar.gz cd vnstat-1.10 make && make install vnstat -u -i eth0 chmod 700 /usr/bin/vnstat chmod 700 /var/lib/vnstat/ -R

http://www.dotcomunderground.com/blogs/2010/03/05/install-vnstat-network-traffic-monitor-linux/

CentOS:

http://forums.serverbeach.com/showthread.php?7193-CentOS-Bandwidth-tool-vnstat-installation-walk-through

For more information on vnStat visit: http://humdi.net/vnstat/

 

ServerPronto offers the best affordable and secure hosting service in all dedicated server packages.

Do you have a website and want it to be hosted for free? Sign up and come to the cloud.

Your CPanel based hosting account will be hosted on our proven CloudPronto technology which includes an Energy Efficient Infrastructure, 99.9% Uptime Guarantee, Easy upgrading/downgrading of plans, Fault-Tolerant Cloud Infrastructure and Load-Balanced Cloud Architecture – And it’s FREE!

  • 1 FTP Account
  • 5 Email Accounts
  • 1 MySQL Database

http://www.cloudpronto.com/

ServerPronto offers the best affordable and secure hosting service in all dedicated server packages.