Troubleshooting


Wifi connection issue:

sudo ifconfig wlp4s0 up && service network-manager restart

Kindly refer http://askubuntu.com/questions/760075/cant-view-wifi-networks-after-upgrading-to-ubuntu-16-04


Nginx ssl configuration:

Unlike apache, nginx needs server cert and interm cert to be bundled as single cert. Else we get private key issue.

cat www.example.com.crt www.example.interm.crt > www.example.com.chained.crt

Kindly refer http://nginx.org/en/docs/http/configuring_https_servers.html


Ubuntu Package Management with APT

Kindly refer https://help.ubuntu.com/community/AptGet/Howto


Mysql issue in ubuntu 14.04 to 16.04 upgrade.

I finally got it to install by removing any previous configuration files that I had altered. Back them up first if you are nervous

cd /etc/mysql
sudo cp my.cnf my.cnf.april16
sudo rm /etc/mysql/my.cnf
that may be enough to get it running. I also removed a the mysqld.cnf file under /etc/mysqld/mysqld.cnf
After that,, when I ran
sudo dpkg --configure -a
It noticed the config files missing, reinstalled, and everything works now.

Kindly refer https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1573279

Kindly refer https://help.ubuntu.com/community/MysqlPasswordReset


Ubuntu desktop login hang issue

 dpkg --reconfigure lightdm

Cisco VPN installation

sudo apt install network-manager-openconnect
sudo systemctl daemon-reload
run the following in extracted anyconnect vpn directory
sudo ./vpn_install.sh
sudo ./vpnui
Sidebar