setting up nfs in debian stretch

On nfs server

#aptitude install nfs-kernel-server

Edit /etc/exports configuration file


Restart nfs

#exportfs -a
#/etc/init.d/nfs-kernel-server start

On nfs client

#aptitude install nfs-common
#/etc/init.d/nfs-common start

To list available nfs

#showmount -e

To mount nfs

#mount -t nfs /home/me/public /mnt/public

more info


Install mysql 5.6 in debian 8 jessie

The replication performance leap from MySQL 5.5 to MySQL 5.6 is more than 4x.

#dpkg -i mysql-apt-config_0.3.5-1debian7_all.deb
#apt-get update
#apt-get install mysql-community-server

More info

Firefox 40+ slow right click in Debian Linux

Just installed latest firefox on debian linux streetch.
Right click on link popup very slow.

SOLVED: [blfs-support] Firefox – slow menu and right-click response

The right click menu in Firefox is now fast again. I disabled Pulseaudio which
tried to load ConsoleKit. This did not work sine I have unstalled ConsoleKit.

=== details ===

I found this:

Jan 25 09:13:47 lfs pulseaudio[2565]: [pulseaudio] module-console-kit.c:
GetSessionsForUnixUser() call failed:
org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ConsoleKit
was not provided by any .service files
Jan 25 09:13:47 lfs pulseaudio[2565]: [pulseaudio] module.c: Failed to load
module “module-console-kit” (argument: “”): initialization failed.
Jan 25 09:13:47 lfs pulseaudio[2565]: [pulseaudio] main.c: Module load failed.
Jan 25 09:13:47 lfs pulseaudio[2565]: [pulseaudio] main.c: Failed to
initialize daemon.
Jan 25 09:13:47 lfs pulseaudio[2562]: [pulseaudio] main.c: Daemon startup

I commented out the text below in /etc/pulse/
#load-module module-console-kit

I restarted and then the problem with the Firefox menus disappeared.

The root cause is probably that I uninstalled ConsoleKit. This was
intentional, but I failed to recognize the side effects.



Centos 6 No package php-fpm available

After installing epel and remi repository and enable remi-php56, the php packages still not available. The issue is i just uninstall Cpanel from my Centos 6 server. Cpanel disable php packages from showing up in you

#vim /etc/yum.conf
exclude=php* ..

Just remove php packages from the exclude section of the /etc/yum.conf

It waste 3 hours of my time to figure this out.. 😦


powerdns unable to find backend willing to host for potential supermaster

I got this error when i setup powerdns superslave in debian using sqlite3 backend. The condition to get the superslave working.

  • The supermaster must carry a SOA record for the notified domain
  • The supermaster IP must be present in the ‘supermaster’ table
  • The set of NS records for the domain, as retrieved by the slave from the supermaster, must include the nameserver that goes with the IP address in the supermaster table

A very usefull command to test if the setup is working

to send the notification to the slave and
#pdns_control notify

to request for supermasters zone
#pdns_control retrieve



Set ux31e LCD brightness to the minimum

add the following line to the /etc/rc.local

echo 0 > /sys/class/backlight/acpi_video0/brightness


ALSA lib ctl_oss.c Cannot open device /dev/mixer

It happen recently on my debian workstation

ALSA lib ctl_oss.c:398 (_snd_ctl_oss_open) Cannot open device /dev/mixer
Cannot open mixer: No such file or directory

When you try to run alsamixer. The reason is the the module snd-pcm-oss not loaded. To fix

#modprobe snd-pcm-oss