Well, thankfully this is rather trivial task for Linux and you can change MAC address of your network adapter using a few CLI/console commands. Honestly speaking it is impossible to literally change MAC address as it’s loaded into firmware but you can configure Linux so… Read More »Change MAC address of network interface in Linux
Checkinstall is extremely useful utility to create .deb packages for Debian, Ubuntu (or .rpm packages for Fedora, RedHat, CentOs) from .tar.gz (or .tgz) source tarball after it’s compiled at your Linux box. In other words you can prepare binary package for later usage without need… Read More »Create .deb or .rpm from .tar.gz with checkinstall
Question: How can I get my Linux server rebooted/restarted automatically if it caught a kernel panic? Answer: As you might know, kernel panic is an action taken by an operating system upon detecting an internal fatal error from which it cannot safely recover; the term… Read More »FAQ: How to set up atomatic Linux reboot if kernel panic occurs?
Question: How can I disable building of directory index in apache/httpd? In other words, how to prevent users from seeing the contents of published directories? Answer: Actually you are totally right that you wish to disable this feature. One of the “must do’s” on setting a… Read More »FAQ: How to disable directory browsing in apache/httpd?
Question: I want to select APT repository server/mirror that is fastest for my location. How can I do it in Debian? Answer: You can use application named as “netselect-apt” to get new sources.list file with fastest APT mirror. Install this application by command “sudo aptitude… Read More »FAQ: How to select fastest APT server in Debian
Question: I want to reset counters in /proc/net/dev (also shown in ifconfig output as RX and TX bytes) and thus I have to unload network interface driver. How to do it? Answer: There are two commands in Linux CLI coming by default which would help… Read More »FAQ: How to unload NIC driver (clear ifconfig counters)?
Question: How can I restrict/allow access to certain service on timely basis with iptables? For example restrict access to SSH between 7:00 pm – 8:00 am on weekdays? Answer: You are welcome to use iptables patch-o-matic extension (pom or p-o-m) that allows you to match… Read More »FAQ: Iptables rules on timely basis
Question: How can I get information about hardware manufacturer, model name, serial number, BIOS information using Linux command line (CLI)? Answer: You are welcome to use dmidecode which helps to get information about your system’s hardware as described in your system BIOS. That information typically… Read More »FAQ: How to retreive hardware manufacturer name, serial numbers, etc. in Linux command line
Static routing is the term used to refer to the manual method used to set up routing. An administrator enters routes into the router using configuration commands. This method has the advantage of being predictable, and simple to set up. It is easy to manage… Read More »FAQ: static routes after restart/reboot in Fedora/RedHat/CentOS
Ext4 is the latest in a long line of Linux file systems, and it’s likely to be as important and popular as its predecessors. As a Linux system administrator, you should be aware of the advantages, disadvantages, and basic steps for migrating to ext4. IBM… Read More »Why and how to migrate to ext4