LTS and Release Cycle for Ubuntu

LTS is an abbreviation for “Long Term Support”. We produce a new Ubuntu Desktop and Ubuntu Server release every six months [diagram below]. That means you’ll always have the latest and greatest applications that the open source world has to offer. Ubuntu is designed with security in mind. You get free security updates for at…

Openstack Compute logs location

The log files are located here : /var/logs/nova Logfiles are : nova-api.log nova-cert.log nova-compute.log nova-dhcpbridge.log nova-manage.log nova-network.log nova-objectstore.log nova-scheduler.log nova-volume.log nova-xvpvncproxy.log  

Vmware tools autoinstall after kickstart

kickstart postinstall, you can read how to do this on the internet. wget http://foo/tools.tar.gz tar xzvf *.tar.gz cd directory-where-you-untarred vmware-tools-install.pl -d BINGO ! Giggidi Giggidi

Windows command line power control

While this is a Linux forum this came in REALLY handy so what the heck 🙂 Frustratingly hidden away, windows command for putting the machine into Hibernate and / or standby are hidden away in the api under the powrprof.dll library.   Shutdown %windir%\System32\shutdown.exe -s Reboot %windir%\System32\shutdown.exe -r Logoff %windir%\System32\shutdown.exe -l Standby %windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Standby Hibernate %windir%\System32\shutdown.exe -h     OR…

Linux check all ips in a subnet with ping

Let’s say you have a subnet 192.168.1.0 / 24 and you want to scan all ip’s to see if any hosts are up: Type the following command, enter:   $ for ip in $(seq 1 254); do ping -c 1 192.168.1.$ip>/dev/null; [ $? -eq 0 ] && echo “192.168.1.$ip UP” || : ; done Output:…

Permanently set hostname in Ubuntu

Debian based systems use the file /etc/hostname to read the hostname of the computer at boot time and set it up using the init script /etc/init.d/hostname.sh One can edit the file /etc/hostname and change the hostname and then run: /etc/init.d/hostname.sh start Update /etc/hosts ip 127.0.0.1 respectively ( leave the localhost entry untouched) Steps: sudo vi…

Installing SNMP on Centos 6.x

Installing SNMP daemon and tools: As root yum -y install net-snmp.i686 yum -y install net-snmp-utils Once these are installed start the snmp daemon: /etc/init.d/snmpd start chkconfig snmpd on   This is just the basic install but testing it : snmpwalk -v 1 -c public -O e 127.0.0.1 For production servers it is advisable to at least…

Missing Perl module with phptop how to fix.

While trying to run phptop after unzipping it I get the following error: [root@torino phptop-0.5.3]# ./phptop Can't locate Term/Size.pm in @INC (@INC contains: /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at ./phptop line 24. BEGIN failed–compilation aborted at ./phptop line 24. [root@torino phptop-0.5.3]#   To fix it I had to follow the coming steps: [root@torino phptop-0.5.3]#…