consumertriada.blogg.se

No config file with ejabberd installation debian jessie
No config file with ejabberd installation debian jessie






no config file with ejabberd installation debian jessie
  1. #No config file with ejabberd installation debian jessie how to
  2. #No config file with ejabberd installation debian jessie install

Perl: warning: Falling back to the standard locale ("C"). Perl: warning: Please check that your locale settings:Īre supported and installed on your system. If you see a bunch of errors like these when you start your container: perl: warning: Setting locale failed. The following to the container config file ( /var/lib/lxc/sid64/config): =/home/francois home/francois none bind 0 0īefore restarting the container: lxc-stop -n sid64 In order to have my home directory available within the container, IĬreated a user account for myself inside the container and then added Mounting your home directory inside a container You can find out what IP address the container received from DHCPīy typing this command: sudo lxc-ls -fancy Then you can exit the console (using Ctrl+a q) and ssh into theĬontainer. Then paste your public key in /root/.ssh/authorized_keys.

#No config file with ejabberd installation debian jessie install

Root image doesn't have one by default: apt install vim Then login as root and install a text editor inside the container because the You can login as root: sudo lxc-attach -n sid64 passwd Since the root password is randomly generated, you'll need to reset it before Logins, so you'll need to log into the console: sudo lxc-stop -n sid64 The ssh server is configured to require pubkey-based authentication for root You can start or stop it like this: sudo lxc-start -n sid64 A INPUT -d 10.0.3.1 -s 10.0.3.0/24 -j ACCEPTĪnd applying the rules using: iptables-applyĬreating a new container (in /var/lib/lxc/) is simple: sudo MIRROR= lxc-create -n sid64 -t debian -r sid -a amd64 Restart the network bridge: systemctl restart rviceĪnd ensure that it's not blocked by the host firewall, by putting this in /etc/network/iptables.up.rules: -A FORWARD -d 10.0.3.0/24 -m conntrack -ctstate RELATED,ESTABLISHED -j ACCEPT Next, I had to make sure that the "guests" could connect to the outsideĮnable IPv4 forwarding by putting this in /etc/nf: _forward=1 Need to add the following to /etc/modules and reboot: veth You have any kinds of module-loading restrictions enabled, you probably That configuration requires that the veth kernel module be loaded. I decided to use the default /etc/lxc/nf configuration (noĬhange needed here): = vethĪnd enable networking by putting the following in a new /etc/default/lxc-net file: USE_LXC_BRIDGE="true" Start by installing (as root) the necessary packages: apt install lxc libvirt-clients debootstrap Had to make some networking changes for stretchĪnd so here are the full steps that should work on stretch. While I wrote about this on Debian jessie, I

#No config file with ejabberd installation debian jessie how to

Here's how to setup LXC-based "chroots" on Debian stretch.








No config file with ejabberd installation debian jessie