Showing posts with label noip2. Show all posts
Showing posts with label noip2. Show all posts

30 July 2020

Let's Encrypt SSL Certificate for Dynamic DNS Host

As I was tired of having to add an exception when wanting to visit my personal website, I decided it was time to use Let's Encrypt to get a signed SSL certificate. Luckily it was easier than I thought. Here are the simple steps that I followed.
  1. Add the ppa repository
    • sudo add-apt-repository ppa:certbot/certbot
  2. Install the cli tool
    • sudo apt install python-certbot-apache
  3. Run the cli tool
    • sudo certbot --apache -d <dynamic dns host name>
  4. Answer the questions that included:
    • Email Address
    • Select which conf file to add to (For me it was /etc/apache2/sites-available/default-ssl.conf)
  5. Check that my SSL certificate was now signed

TODO: Automate the renewal

28 October 2012

Upgrade from Xubuntu 10.04 LTS to 12.04 LTS


Here are the couple things that I found that I had to fix when upgrading from Xubuntu 10.04 LTS to 12.04 LTS:

  1. I was not getting DNS resolution
    • sudo vi /etc/resolv.conf
    • add:
      nameserver 192.168.1.1 
    • UPDATE: the above does not last you should instead:
      • sudo vi /etc/network/interfaces
      • add:
        dns-nameserver 192.168.1.1
  2. My VNC session was not loading a window manage (giving a failure to load gnome message -- I also got a trash not supported error and application crashes when starting xfce4-session)
    • vi ~/.vnc/xstartup
    • make sure it has:
      startxfce4 &
  3. When running synaptic from the application menu, it would ask for a password then fail to load 
    • xhost +localhost
  4. noip2 was removed and not in the package list
    • cd /usr/local/src
    • sudo wget http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz
    • sudo tar xf noip-duc-linux.tar.gz
    • cd noip2-2.1.9-1/
    • sudo make install
    • sudo /usr/local/bin/noip2 -C
    • sudo vi /etc/init.d/noip2
      • change:
        DAEMON=/usr/local/bin/$NAME
        CONFFILE=/usr/local/etc/noip2.conf
    • sudo /etc/init.d/noip2 start