Category: Tips

Performance Tuning for Zabbix

For those who have no clue about what Zabbix is here is a short description as stated on Zabbix web site.Zabbix is an enterprise-class open source distributed monitoring solution. In this article we will discuss about how to optimize MySQL as load on Zabbix might lead to various problems. Recommendation 1. Use a tmpfs tmpdir. […]

Read More

How to set default storage engine

If you are looking for how to set default storage engine on Linux no matter the LAMPP setup read below. If you are running Xampp (Lampp on Linux –> apachefriends.org) all you need to do is to edit /opt/lampp/etc/my.cnf and add after [mysqld] the following line: default-storage-engine=InnoDB If you want to use MyISAM just alter […]

Read More

Installing Skype on Fedora 15

I’ve upgrade my Linux desktop a few days ago on Fedora 15 and tried to install Skype from the official rpms without any luck. All I’ve got is: skype: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory To solve the issue apart from the normal depedencies you will […]

Read More

How to find your BIOS version from Linux

If you are looking for your current BIOS version in order to upgrade it then all you need is one command. Open a terminal and type: dmidecode | head -n10 An example output will be: [root@]# dmidecode | head -n10# dmidecode 2.11SMBIOS 2.5 present.79 structures occupying 3022 bytes.Table at 0x000F06F0. Handle 0x0000, DMI type 0, […]

Read More

Showing all hidden files in the current directory

Let’s say that you want to see only hidden (dot) files in a directory to edit a file you forget the name of or remove obsolete files. ls -a shows all files, including normally hidden ones, but that is often too noisy, and ls -a .* doesn’t do what you think it will.Use ls -d along […]

Read More

How to run Virtualbox 5 on 4.4.1 kernel

Lots of people report some problems with dkms in order to run Virtualbox properly with latest 4 kernel. At the time being the latest kernel is 4.4.1.The details below are based on Debian stable (jessie) but should work fine on other distributions as well. All you need to do is simply running the following command: […]

Read More

How to enable JRE plugin in OpenSuSE 13.1

Even if you install the rpm or sources from Sun the JRE plugin is not enabled by default under Firefox that shipped with latest OpenSuSE 13.1.To sort out this just follow the simple steps outlined below. Step 1: Locate the extenstion in your system. Type: linux # locate libnpjp2.so/opt/java/64/jre1.7.0_51/lib/amd64/libnpjp2.so In my exmple the .so file […]

Read More

Grub-probe can’t find drive for /dev/xvda1

If you are getting following while doing “apt-get upgrade” try our solution below. warning: grub-probe can’t find drive for /dev/xvda1.grub-probe: error: cannot find a GRUB drive for /dev/xvda1. Check your device.map. First let’s create /dev/xvda block device:Code:mknod /dev/xvda b 202 0 Edit /boot/grub/device.map file:Change…Code:(hd0) /dev/sdaTo…Code:(hd0) /dev/xvda Edit /usr/sbin/update-grub file:Change…Code:find_device (){        if ! test -e ${device_map} […]

Read More

Playing with printer

Printing in Linux sometimes is a pain especially when you are a newbie. Simple things like killing a job might not work via the GUI. This is where the terminal comes handy. Use the “lpq” command prior to using the “lprm” command to make it easier to see which print jobs are currently in the […]

Read More
Back to top