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=http://dl.google.com/linux/rpm/stable/i386 enabled=1 gpgcheck=1 gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

Posted in linux, Technical Tips, Third party softwares

Install VNC and Fluxbox

Reference : http://wiki.centos.org/HowTos/VNC-Server Install VNC ————— wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm 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 http://www.cyberciti.biz/files/scripts/freebsd-memory.pl.txt # mv freebsd-memory.pl.txt /usr/local/bin/free # chmod +x /usr/local/bin/free Enter the command # free

Posted in FreeBSD, linux

CIDR Values

CLASS A 255.0.0.0 – /8 255.128.0.0 – /9 255.192.0.0 – /10 255.224.0.0 – /11 255.240.0.0 – /12 255.248.0.0 – /13 255.252.0.0 – /14 255.254.0.0 – /15 CLASS B 255.255.0.0 – /16 255.255.128.0 – /17 255.255.192.0 – /18 255.255.224.0 – /19

Posted in Issues, linux
Blog Stats
  • 119,851 hits
Follow

Get every new post delivered to your Inbox.

Join 209 other followers