Ubuntu: Create USB Live System Stick for Live Mode or Emergency Help

For all Users, especially Newbies its VERY helpful to have a Rescue System on a USB Stick if a Major Update/Release Change fails or break the System. To this the Ubuntu-ON-RAM Live System is very useful at public shared PCs for Online Banking etc., cause after every reboot all old Firefox Data are safe deleted!!

How to create this VERY helpful Tool Stick for free?
All you need is the latest Ubuntu-ISO file (AMD64-15.04 – 64bit) a new 4/8GB USB Stick (take a good Brand! to get a high quality tool).

Howto:

  • Burn the ISO to DVD/CD (NON-Linux-PC)
  • Boot your PC on this DVD/CD
  • Plugin the USB Stick
  • Open a Gnome-Terminal
  • Change to root/admin User enter $ sudo -s
  • To cleanup the NEW Stick enter $ dd if=/dev/zero of=/dev/sdb bs=1M count=10
  • Create new Partition Type Primary set to Format “FAT32” with Partition Tool “Gparted” do $ gparted /dev/sdb
  • Exit gparted
  • Re-Plugin the Stick
  • On the Gnome-Terminal enter  to umount the auto mounted Stick by Filemanager “Nautilus” $ umount /dev/sdb1
  • Open Firefox download latest Ubuntu-ISO to this Live System (Downloads)
  • Run now the Start-Disk-Creator and create the Emergency Stick with “SELECTED NON PERMANENT FILESYSTEM”!!! (last Option) select the Stick and the ISO-File
  • After this Process ends, exit and reboot the PC on the USB stick for TESTING!
  • Language for the KEYBOARD can be set on “EN” beside the CLOCK, touch with right Mouse Button to view the menu, select last point to add you Language!

You got:

  • Very secure USB System for Internet Access and Emergency Help to recover or Backup YOUR DATA!
  • Live Linux-On-RAM System with Firefox on Live Mode WITHOUT saving History or Trash!!
  • If used on a Travel Laptop a very secure System for Traveling cause you can REMOVE the Harddrive!!
  • With this always working OS you can test your Hardware, fix Errors, find out why the installed System freezes, do full backups (mirroring to usb disk)
gparted-usb-stick
gparted-usb-stick

 

startdisk-creator
startdisk-creator

Security: Webserver HTTPS with Self Signed Certificate Do it yourself in 5 Minutes!!

Today the Point of Security and encrypted Webserver Communication is rolling over every User who hosts own Websites on the Internet. Last decades HTTPS was only used by Online Login Pages like Shops and Banks to verify the Communication between a User PC and the Website. But after January 2015 the most Search Engines like google decides to force index of Websites with HTTPS Protocol. The Background is that a TLS encrypted Connection isn’t easy to track and to force “drive-by-load-Viruses” to the Website Visitors.

Self Signed Certificate Sample
Self Signed Certificate Sample

But a lot of Webmasters of the Opensource Community were angry about this handling. Thats is not real problem if you won’t buy a SSL/TLS Certificate. Every Webmaster can create a self signed Certificate on his Webserver if he is able to login via ssh and to config the Webserver like Apache. Self signed Certificates are warned by the Webbrowsers at the only first view, but if the User wants to install the Certificate the Browser isn’t warning next visits!

The Search Engines like Google don’t check the trust of the Certificates by the robots and so your Site will be good placed on the Index like the last decades. The ONLY thing is that you MUST move all Files,Images, Internal Links and Bookmarks to “https://”  that the “LOCK” of the Browser Dialog is “CLOSED”  and “GREEN” like on the Picture .

Of course if you want, you can buy and install “Domain Name Trusted” Certificates, but if you only host private Websites/Blogs you won’t really pay over 100$ per Year for the Certificates.

Advantages:

  • Secure Login to your Site/Blog
  • Encrypted Transfer of Data
  • Security for your Visitors
  • No Drive-BY-Loads
  • Less Content Stealing

You will remark next years that the internet will be moved to HTTPS!

To create a Certificate use “OPENSSL” with this command,answere the Questions of the Script, later put the Certificates .crt and .key to /etc/ssl/.. and tell Apache to pull them there!

$sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout mysitename.key -out mysitename.crt