Linux Remove All Partitions or Data And Create Empty Disk Rumi, December 13, 2016 Use the following dd command to remove data from /dev/hdX: dd if=/dev/zero of=/dev/hdX bs=512 count=1 OR for sata disk, use the following syntax: dd if=/dev/zero of=/dev/sdX bs=512 count=1 In this example, empty sata disk /dev/sdb, enter (you must be login as the root user): fdisk /dev/sdb dd if=/dev/zero of=/dev/sdb bs=512… Continue Reading
Linux service restart shell script Rumi, June 6, 2014 I badly needed a script that would check if my running services (in this script it'll check varnish and apache2 services) are alive- if not, it'll restart the dead service and write a log. Pretty handy! #!/bin/sh STARTAPACHE="/etc/init.d/apache2 start" STARTVARNISH="/etc/init.d/varnish start" Continue Reading
TimeZone adjust in Linux Rumi, June 6, 2014 For Redhat/CentOS/Fedora/SL distribution Type the redhat-config-date command at the command line to start the time and date properties tool, run: # redhat-config-date OR type setup and select time zone configuration. This tool is recommended for remote ssh text based sessions. # setup Select timezone configuration. Just follow on screen… Continue Reading
Set date/time permanently on Virtualbox Guest Rumi, June 6, 2014October 5, 2019 First you need to ssh to the server and be root and then do these step by step: 1. Set the date/time as following format date -s “2 OCT 2013 18:00:00″ 2. Set the proper Timezone for your area- # cd /etc # ln -sf /usr/share/zoneinfo/EST localtime 3. Set it… Continue Reading
Understanding Linux CPU Load Rumi, November 10, 2012 You might be familiar with Linux load averages already. Load averages are the three numbers shown with the uptime and top commands – they look like this: load average: 0.09, 0.05, 0.01 Most people have an inkling of what the load averages mean: the three numbers represent averages over progressively… Continue Reading
Create Customer Linux Distribution Rumi, October 27, 2012October 27, 2012 Remastersys We’ve previously covered Remastersys. It’s one of a group of tools that create your ISO files using the filesystem on which it’s being run. You essentially clone your current Debian/Ubuntu install and make it into a live CD. This makes it extremely easy to customize every little thing about… Continue Reading
Linux Operating System Rumi, September 15, 2012 I've decided that I'd go through a thorough and various linux flavor in some idle pass time (when???). Anyway before forgetting just putting the list in my blog post- AlphaCore Linux Amazon Linux APLINUX Asianux Asianux Server BigBlock BSDI Caixa Magica Caldera OpenLinux Caldera OpenLinux eServer cAos Linux Cendio LBS… Continue Reading
Linux Distributions Rumi, September 20, 2011 A must read to learn and know the origins of different flavors of Linux distros. You'l end up wondering 'why didn't I notice this before?…' 🙂 http://en.wikipedia.org/wiki/List_of_Linux_distributions http://www.webmin.com/support.html Continue Reading