Category: Linux

After I’ve created my home server I’ve tried to change it’s host name by going to /etc/sysconfig/network. For my surprise it was empty. Then I’ve recalled that in version 7 CentOS started using systemd. Hence the location changed. New place …

CentOS 7 how to change hostname Read More »

Tagged with: ,

CentOS 7 is out and I wanted to test it on real hardware. Unfortunately most of current methods to transfer bootable ISO to USB key in MS windows environment do not work (see quote below) or boots, but does not …

How to create bootable USB key for CentOS 7 installation Read More »

Tagged with: , , ,

In case you need to disable IPv6 and cannot afford to restart here are the commands to quickly do it for CentOS: echo “net.ipv6.conf.default.disable_ipv6 = 1” >> /etc/sysctl.conf echo “net.ipv6.conf.all.disable_ipv6 = 1” >> /etc/sysctl.conf sysctl -p

Tagged with: ,

In some of my projects I use OpenVZ to create containers. One of the tools I use to create backup of running container is vzdump from proxmox.com. Unfortunately rpm provided is older version and latest provided only as debian package. …

vzdump rpm Read More »

Tagged with: , ,

GNU Screen is excellent sysadmin tool and can make your life much easier. If working on remote ssh shell and connection is interrupted (usually at worst time) I often wish that I’ve started screen in advance. Other useful way of …

Using screen as default shell Read More »

Tagged with: , , , ,

Shorewal or Shoreline Firewall is is high-level tool for configuring Netfilter. Even RPM packages are available from long time on most YUM repositories only older versions could be found. That is the reason I’ve decided to create this repository. What …

Shorewall YUM repository Read More »

Tagged with: , , ,

If you want to see what packages are installed in Debian or Ubuntu system use following commands: To list all the package installed: dpkg-query -l This will return something similar to this: dpkg-query -l Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: …

How to list installed packages in Debian or Ubuntu Read More »

Tagged with: , , ,