Disable ipv6 in debian

edit /etc/sysctl.conf and add config


net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.eth0.disable_ipv6 = 1


#sysctl -p

Debian IPv6

Advertisements

setting up nfs in debian stretch

On nfs server

#aptitude install nfs-kernel-server

Edit /etc/exports configuration file

/home/me/public 192.168.1.2(rw,no_root_squash,subtree_check)

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 192.168.1.2

To mount nfs

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

more info

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
[main]
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.. 😦

Backend error: Database error trying to insert new slave ‘domain.tld’: Error while retrieving SQLite query results


Backend error: Database error trying to insert new slave 'domain.tld': Error while retrieving SQLite query results

Related to debian bug #565516
The directory and file where the sqlite3 file must be writeable by pdns