If you Setup Ubuntu 15.XX on a PC there are a few things to change: open a Gnome Terminal an run (# Comments): $sudo apt-get update && apt-get dist-upgrade #Pull Updates $sudo adduser CrazY12U$ERNAME # Create a crazy Username (Standarduser, no sudo, no lpadmin) for daily work! to prevent social engineering Hacks $sudo chmod 700 /home/* # to prevent that other users look into each other homes! (check root home to “ls -l /root) $sudo passwd root # SET long Password (min.15 digits) for the root User to prevent PC recovery Console Access without Password!!! Keep Password save! $sudo apt-get […]
Category: Howto
Ubuntu Vivid Debian: Kernel I/O Errors SSD SATA NVIDIA Chipsets
If you use a PC with a SSD Drive and a Motherboard which uses NVIDIA chipsets you may see Errors on boot Command “dmesg” Output like.. Buffer I/O error on device sdc, logical block 41 ata5: EH complete ata5: EH in SWNCQ mode,QC:qc_active 0x1 sactive 0x1 ata5: SWNCQ:qc_active 0x1 defer_bits 0x0 last_issue_tag 0x0 dhfis 0x1 dmafis 0x1 sdbfis 0x0 ata5: ATA_REG 0x41 ERR_REG 0x84 ata5: tag : dhfis dmafis sdbfis sactive ata5: tag 0x0: 1 1 0 1 ata5.00: exception Emask 0x1 SAct 0x1 SErr 0x300000 action 0x6 frozen ata5.00: Ata error. fis:0x21 ata5.00: cmd 60/08:00:07:04:00/00:00:00:00:00/40 tag 0 ncq 4096 […]
Ubuntu: Recover Data from old Luks Encrypted HDD to new HDD
If you prefer to use encrypted Devices you ran into a problem if you try to move, migrate or recover the files from the old luks protected home. As normal User you should know that luks is used with LVM2 Logicial Volume Manager, which manages the partitions “named based”. Major Info! Ubuntu prename the volume group with the Setup-DVD all time to the same VG_NAME called “ubuntu-vg”!!! So what do you need to migrate or recover? Download the ubuntu DVD and burn it to a disc Insert the new HDD to the Sata1 Port Plugin the ubuntu DVD for Setup […]
Ubuntu Vivid: Systemd boot OS into rescue mode with tmpfs
If you setup a Laptop with 15.XX and a luks encrypted SSD, you did set on older OS “tmpfs” for /tmp. Now under “systemd” the the boot hangs cause systemd “automount” tmpfs to /tmp by default!!! If you enter tmpfs into fstab like on ubuntu 14.10, the OS boots into the “RECOVERY RESCUE MODE” Here some details, from a forum post: Disable automatic mount Under systemd, /tmp may be automatically mounted as a tmpfs even though you have no entry for that in your /etc/fstab. To disable the automatic mount, run: # systemctl mask tmp.mount Files will no longer be […]
Backup your PC with Linux Full Disk Snapshot Free Tool with Diskdump
Today a User is forced to Update daily his System or change anything to try new Software. But here mostly the Users run into very BAD PROBLEMS. I got often Calls that Users lose the control of the PC after Updates, Software Setups, Software Removal’s .. For this Linux offers a default Backup Tool, called Diskdump (“dd” command) which is on every Setup/Recover CD and Installation. Before any Changes do allways a Backup to USB Drives, Sticks or Second SATA Disk! This will save you TIME, Money, DATA and Nerves! Backup : Mount the Disk 2 on Path /mnt as […]
Ubuntu Debian: Setup on older Hardware NO UEFI Workaround Black Screen No Boot
Todays current Hardware Bios uses a new Software Interface to boot. Thats called “UEFI” Newer Linux Versions Support this Hardware Setup by default! BUT these settings makes users (Newbies/Office Users) mostly impossible to setup the System on older Hardware, cause the “Setup Routines” does not detect the older Bios! Here the User must interact manual to force the Setup! Cause the Setup tries to create a Harddrive Partition with a seperated UEFI Partition! See “parted” output on Console! Now if your Setup is made and you Reboot a older Non-UEFI PC you run into “Black Screen”! Especiallly if you setup […]
DuckDuckgo: The alternate adfree Search Engine
If you dont like or trust the most known Search Engines on the Internet, then give duckduckgo a chance on your Desktop! Adfree Fast Secure Working like charme Clean Not “controlling” your mind by cookie calculation
PHPMYADMIN: Performance Monitor not working Java Script Error
If you install phpmyadmin on your Server Version 4.XX, the Browser shows a Javascript Error if the Performance Monitor is opened. Problem is the mostly the setting “localhost” on the config.inc.php file. If you want to view the monitor from external, set the ip to 192.XXX.XXX.XXX or domainname and control that the MYSQL Server is listening on all IPs! Warning! If you dont really need this tool DONT CHANGE the MYSQL Server IP to listening “ALL” cause LOCALHOST is much more secure! Localhost should work if you have installed a local proxy on the Server! So you can relay the […]
Major Webserver Setup Rules: The “must” do!
If you want to setup a fresh secure Webserver then use this list dont ever upload data, files, images on the Webserver who are classified as “secret” setup daily full backup with Cron view daily the system logs, auth, www, errors … setup a local firewall with less opened ports 80,25 .. setup daily automatic updates by cron reduce the count of users who can login use no logical usernames force long passwords by rules min 15 digits setup a daily load monitor by “uptime” to log setup a realtime network monitor by “iftop” use “nmap” as local portscan to […]
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 Steps: open a Console and change to root […]
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 […]
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.. Advantages: 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: http://get-simple.info/ Community on google+ Screenshot:
Ubuntu 13.04 Bug: gvfs smb Nautilus freeze hangs on copy files from a Samba Share
gvfs-smb Bug #1075923 (seen on Debian+Ubuntu+Centos..more..) Workaround: downgrade gvfs-* to Version 1.12 of 12.10 with: add /etc/apt/sources.list deb http://de.archive.ubuntu.com/ubuntu precise main deb-src http://de.archive.ubuntu.com/ubuntu precise main run: sudo apt-get update install synaptic: sudo apt-get install synaptic run synaptic: sudo synaptic remove all gvfs-* nautilus with synaptics (REALLY CHECK ALL! see “dpkg -l | grep gvfs”) search gvfs-*, select, press CTRL+E (Force Menu) select: gvfs-* Versions 1.12 install by run install button search and install nautilus again.. Voila…Test Nautilus copy 1TB Files without freeze
FreeBSD: Clicking noise Harddrive SATA WDC WD5000LPVX SATA 3 Drive on FreeBSD 9.1
FreeBSD: Clicking noise WDC WD5000LPVX SATA 3 Drive on FreeBSD 9.1 same like in Linux: APM Funktion starts/stops the heads and make click sounds, not needed on a Server. To disable like in Linux with hdparm on FreeBSD do: If you want to disable APM (Advanced Power Management) on your hard drive to reduce heads movements and increase your hard drive life you can do that very easy by using ataidle app from FreeBSD’s Ports: cd /usr/ports/sysutils/ataidle make install clean; rehash Then to disable APM on your hard drive run: ataidle -P 0 /dev/ad0 We can start ataidle app at […]
Linux Tip: Split Console Screen on Widescreen Laptop / PCs with “screen” and “terminator”
Current Laptops / PCs uses 16:9 Widescreen Displays and if you dont want to use Xorg (Gnome,unity,Openbox Desktops) you can use on Linux Console the program called “screen” it offers: – Split Consoles horizontally and vertically – disconnect the screen and let the scripts/commands active on remote Systems – reconnect if the remote Session was broken cause network problems On Gnome or unity you can use “terminator” see: – manpage of screen – http://unix.stackexchange.com/questions/7453/how-to-split-the-terminal-into-more-than-one-view
Linux Info: UEFI + GPT + Secure Boot = Dongled OS = Printing Dollars
UEFI+GPT+dongled OS = Printing endles Dollars for PC Manufacter and M$. UEFI was offered for “security reasons” but in my opinion the normal users should be prevented by this “UEFI LOCK” to use Dual Boot or remove Windows on owned hardware, in cases of Mainboard failures the Users are forced to buy new Mainboards with OS-Key. Legacy Mode on Bios will disappear in the next generation of PCs than every OS is “dongled” to Hardware like MacOS to their Products…