Linux

Replace firewalld with iptables in CentOS 7

This is a short HOWTO replace or disable firewalld with iptables in CentOS 7. Install iptables service # yum -y install iptables-services If you would like to save the firewall rules you need to run the following command # iptables-save > iptables-rules.txt These rules can be added to /etc/sysconfig/iptables but I usually use the rules […]

Read More
Linux

Change default grub startup in CentOS 7

This post describes how to change the default startup choice while booting up CentOS 7. Edit the file /etc/default/grub Change the line GRUB_DEFAULT=saved to GRUB_DEFAULT=”Windows 7 (loader) (on /dev/sda1)” The value to add is determined by looking at the menuentry lines in /boot/grub2/grub.cfg Choose the menuentry that you would like to be default. To make […]

Read More
Linux

Set og change default “Open With” application in Ubuntu

This post describes how to associate a file ending like PAR2-files with the pypar2 application in Ubuntu Unity. You can also use the mimeopen command to change associated file type to other applications. $ mimeopen -d unknown-file.par2 Please choose a default application for files of type application/x-par2 1) Other… use application #1 use command: /usr/bin/pypar2 […]

Read More
Linux

Compile image viewer geeqie in Centos 7

Geeqie is a lightweight Gtk+ based image viewer for Unix like operating systems. It is my preferred image viewer in Ubuntu but it is not available in Centos 7. Since there are no RPMs available you need to download the source and compile it yourself. This HOWTO is most likely going to work on other […]

Read More
Linux

Fix Cisco AnyConnect on CentOS 7

Installing Cisco AnyConnect on CentOS 7 is easy, but you should install the pangox-compat libraries to get the graphical user interface (GUI) working. Without this package you will get the following error message when you try to run it: # /opt/cisco/anyconnect/bin/vpnui /opt/cisco/anyconnect/bin/vpnui: error while loading shared libraries: libpangox-1.0.so.0: cannot open shared object file: No such […]

Read More