Category: Linux

CentOS 7 how to change hostname

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

Tagged with: ,

How to create bootable USB key for CentOS 7 installation

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

Tagged with: , , ,

CentOS – how to disable IPv6 without restart

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: ,

vzdump rpm

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.

Tagged with: , ,

Using screen as default shell

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

Tagged with: , , , ,

Shorewall YUM repository

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

Tagged with: , , ,

How to list installed packages in Debian or Ubuntu

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:

Tagged with: , , ,
Top