NFS fix on LXC Host Server Rumi, March 17, 2016July 28, 2018 NFS client on LXC seems do not work. Why? The problem is apparmor on the real machine that block any appempt to mount NFS volumes. In order to try to minimize the security changes on apparmor I add the following lines in/etc/apparmor.d/lxc/lxc-default # allow nfs mount everywhere mount fstype=rpc_pipefs, mount fstype=nfs, Then $ /etc/init.d/apparmor reload And now I was able to restart nfs-common and nfs-kernel-server without errors ! Update!!!!! nano /etc/apparmor.d/lxc/lxc-default Update the file as below- # Do not load this file. Rather, load /etc/apparmor.d/lxc-containers, which # will source all profiles under /etc/apparmor.d/lxc profile lxc-container-default flags=(attach_disconnected,mediate_deleted) { #include <abstractions/lxc/container-base> # the container may never be allowed to mount devpts. If it does, it # will remount the host's devpts. We could allow it to do it with # the newinstance option (but, right now, we don't). # deny mount fstype=devpts, # allow nfs mount everywhere mount fstype=rpc_pipefs, mount fstype=nfs, } sasasa Now read the other article on how to connect to NFS server from LXC container Related Administrations Configurations (Linux) LXCNFSProxmoxProxmox4
Webmin install on Debian System February 9, 2012 If you are using the DEB version of webmin, first download the file from the downloads page , or run the command : wget http://prdownloads.sourceforge.net/webadmin/webmin-1.580_all.deb then run the command : dpkg –install webmin_1.580_all.deb The install will be done automatically to /usr/share/webmin, the administration username set to root and the password… Read More
How to Monitor your Linux and Windows Servers with CloudStats May 27, 2017 CloudStats is a server monitoring service which allows you to monitor your whole server infrastructure from a single dashboard interface and helps timely to prevent any kind of technical issues and downtimes. With CloudStats it is possible to monitor Linux servers, including those on CentOS, Debian, Fedora, Ubuntu etc. CloudStats… Read More
Allow large attachment (greater than 10MB) in ISPConfig postfix MTA March 4, 2018 Just a small hack, but worked good on my ISPConfig 3 setup. Add the following: nano /etc/postfix/main.cf mailbox_size_limit = 104857600 Save and restart postfix service. According to official postfix documentation: message_size_limit (default: 10240000) The maximal size in bytes of a message, including envelope information. Note: be careful when making changes…. Read More