Blog Archives

Change the hostname of a vps

You have to change the hostname in the following files: /etc/hosts /etc/sysconfig/network /proc/sys/kernel/hostname

Posted in linux, Server Setup

Create Bootable USB from Linux

Install Livecd-tools and spin-kickstarts using Yum yum install livecd-tools spin-kickstarts Make the partition bootable /sbin/parted /dev/sdb (parted) toggle N boot (parted) quit Run the command from shell /usr/bin/livecd-iso-to-disk /path/to/live.iso /dev/sdb1

Posted in linux, Server Setup, Technical Tips

Google Repo for Linux

Add following to /etc/yum.repos.d/google.repo file: 32-bit [google] name=Google – i386 baseurl= enabled=1 gpgcheck=1 gpgkey=

Posted in linux, Technical Tips, Third party softwares

Install VNC and Fluxbox

Reference : Install VNC ————— wget rpm -ivh rpmforge-release-0.3.6-1.el5.rf.i386.rpm yum install vnc-server.i386 Create your VNC users. useradd test passwd test Set User’s VNC password Run vncpasswd Edit Server Configuration VNCSERVERS=”2:test” VNCSERVERARGS[2]=”-geometry 800×600″ Restart VNC Server /etc/init.d/vncserver stop /etc/init.d/vncserver

Posted in General discussions, linux, Technical Tips, Third party softwares

Timezone Setup – NTP

Create a symlink to file localtime: # ln -sf /usr/share/zoneinfo/EST /etc/localtime #date [bash]# chkconfig –level 2345 ntpd on [bash]# /etc/init.d/ntpd restart [bash]# chkconfig –list ntpd To see if the service started successfully, you should check the system log file. [bash]# grep ntpd /var/log/messages [bash]# ntpq

Posted in Issues, linux

FreeBSD Hardware Info

Hardware type/platform, processor architecture uname -mrs —————————————————————– RAM Information cd /usr/ports/sysutils/freecolor make install clean To see memory details, enter: #freecolor -t -m -o OR # fetch # mv /usr/local/bin/free # chmod +x /usr/local/bin/free Enter the command # free

Posted in FreeBSD, linux

CIDR Values

CLASS A – /8 – /9 – /10 – /11 – /12 – /13 – /14 – /15 CLASS B – /16 – /17 – /18 – /19

Posted in Issues, linux
Blog Stats
  • 129,365 hits

Get every new post delivered to your Inbox.

Join 211 other followers