Hot-add VNIC, VMware & Ubuntu

Apparently, Ubuntu doesn’t like VMware’s way of hot-adding VNICs. Don’t you even dare trying to mod something on your own. su echo 'auto ens38' >> /etc/network/interfaces echo 'iface ens38 inet dhcp' >> /etc/network/interfaces reboot

2017-12-23 · 1 min · EK

Openstack trial and error, 03

Openstack Trial And Error after having done part 2: continue following Mirantis Howto, which is a bit old (but it still works), so we have some notes written here and there. To set up Ubuntu server, we need last image file. Because newest Openstack supports only manual uploading of the img file, we need to find one. For the time writing, the newest daily build IMG file is of Artful Aardvark. I chose artful-server-cloudimg-amd64.img (305MB) ...

2017-12-23 · 3 min · EK

Openstack trial and error, 02

Openstack Trial And Error, after having completed the part 1: It is obvious that you need to configure network interfaces before you deploy instance. Well, snap. Let’s restore to the snapshot where we have base DevStack install….. shit It seems that you didn’t do snapshot right after it was installed, no? good for you! Repeat part 1 To spend those 30 miuntes of time, use well-known tools: social networks (Facebook, Instagram, Twitter), annoy your friends over WhatsApp, … ...

2017-12-22 · 2 min · EK

Allow user to edit /var/www/ content

sudo usermod -a -G groupName userName sudo chgrp -R www-data /var/www sudo chmod -R g+rw /var/www find /var/www -type d -print0 | sudo xargs -0 chmod g+s Log out and back in again.

2017-12-22 · 1 min · EK

Firewall autoreload, bind9 autostart

Classical problem when Bind9 does’t start up automatically, and there are missing allows for DNS in iptables… Workarounds: Iptables restore: iptables -I INPUT -p udp -m udp --dport 53 -j ACCEPT iptables-save > /etc/firewall.conf vim /etc/network/if-up.d/iptables ~ #!/bin/sh iptables-restore < /etc/firewall.conf ~ chmod +x /etc/network/if-up.d/iptables Bind9 autostart: update-rc.d bind9 defaults update-rc.d bind9 enable ufw disable reboot

2017-12-09 · 1 min · EK