Debian Ubuntu Laptop mods for SSD HDD and a full encrypted with luks

Major INFO 06-2015: Do not set tmpfs on ubuntu 15.XX or Systems with systemd!!! This block PC boot !!

If you want to setup a Ubuntu/Debian Laptop with a full encrypted HDD use a “alternate” CD/DVD.
After Setup you have to change some little Parameters to extend the lifecycle of the SSD Chips

  • disable Swap if you have more than 4GB Ram
  • enable a RAMDISK with tmpfs for logs, caches of Browsers
  • install cpufrequtils for CPU freqscaling
  • install laptop-mode-tools to set powersave mode for hardware modules
  • install xbacklight to reduce backlight energy


  • open a Console and change to root user, enter “$sudo -s” and password,
  • now we have to disable swap, edit with $nano /etc/rc.local and insert a “swapoff -a”  before “exit”
  • edit with “$nano /etc/fstab” insert and set “#” at line with older “/tmp” entry  :
    tmpfs  /tmp  tmpfs  nosuid  0  0
    tmpfs /var/run tmpfs nosuid,mode=0755 0 0
    tmpfs /var/lock tmpfs noexec,nosuid,nodev 0 0
    tmpfs /var/log tmpfs noexec,nodev,nosuid 0 0
  • remove /var/tmp and create a symlink “$ln -s /var/tmp /tmp”
  • reboot
  • login as User to Config the Firefox / iceweasel Browser to use the RAMDISK as Cache with “firefox -P” Command
  • delete the default Profile, create new named “ram” and let the Profilemanager create the  new Profile to /tmp
  • restart Firefox / iceaweasel with “-P” option, now all is hold inside the RAMDISK!! (after a reboot all is History and Cookies are deleted!)
  • if you use other applications with CACHE do same with EVERY Applications (read the readme.txt of Apps)

Enjoy the new very secure Internet Laptop with builtin steal protection and secure private permanent browsing!

getsimple cms: blog plugin bug with mod_rewrite

Problem: If you use the “blog” plugin and move the blog roll to a other site or subfolder you have to recreate the “.htaccess” file.

You find the “.htaccess” generator tool link inside blog plugin settings! recreate the “.htaccess” and put it into the root dir of your webspace

.htaccess dump of a correct file if getsimple is installed to ./

AddDefaultCharset UTF-8
Options -Indexes

# blocks direct access to the XML files - they hold all the data!

    Order allow,deny
    Deny from all
    Satisfy All

    Order allow,deny
    Allow from all
    Satisfy All

RewriteEngine on

# Usually RewriteBase is just '/', but
# replace it with your subdirectory path-> if your site is located 
#in subfolder you need to change this to reflect (eg: /subfolder/)
RewriteBase /

RewriteRule ^post/([^/.]+)/?$ index.php?id=index&post= [L]
RewriteRule ^tag/([^/.]+)/?$ index.php?id=index&tag= [L]
RewriteRule ^page/([^/.]+)/?$ index.php?id=index&page= [L]
RewriteRule ^archive/([^/.]+)/?$ index.php?id=index&archive= [L]
RewriteRule ^category/([^/.]+)/?$ index.php?id=index&category= [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9_-]+)/?$ index.php?id= [QSA,L]

getsimple CMS the free slim lightweight CMS

getsimple is a very easy to handle Content Management System for free, it can be used for Homepages, Businesscards, Blogs..


  • light
  • no database framework
  • opensource
  • free
  • fast
  • easy to setup
  • easy to move to a new domain
  • offers backups tool
  • offers recovery for posts
  • extendable with plugins
  • free themes
  • clean design
  • low system requirements for embedded Systems
  • needs PHP5 and rewrite_module enabled on Apache
  • offers debug Log to find errors

Download Source:

Community on google+