Download Gunnar Wolf’s Debian Wheezy https://people.debian.org/~gwolf/ Also working: Ubuntu sudo dd if=ubuntu-oneiric-freescale.img of=/dev/mmcblk0 Android 4.3 sudo dd if=beta-11-dec-2013-i2.img of=/dev/mmcblk0 Not working: Debian Jesse sudo dd if=debian-jessi-4-july-2014.img of=/dev/mmcblk0 Copy to SDmicro sudo dd if=cubox.img of=/dev/mmcblk0 password for root is cubox-i #vi /etc/apt/sources.list #deb http://download.solid-run.com/pub/solidrun/cubox/repo/debian cubox main #deb-src http://download.solid-run.com/pub/solidrun/cubox/repo/debian cubox main vi /etc/network/interfaces auto lo iface lo inet loopback allow-hotplug eth0 iface...
I have had some problems getting backups (of VMs) to run on new Debian Desktop installations. Best practice seems to be as follows: sudo apt-get install dkms Use the latest from https://www.virtualbox.org/wiki/Linux_Downloads sudo vi /etc/apt/sources.list deb http://download.virtualbox.org/virtualbox/debian wheezy contrib deb http://http.debian.net/debian/ wheezy-backports main contrib wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add – sudo apt-get update sudo apt-get install virtualbox-4.3
In a terminal type sudo apt-get install vim sudo update-alternatives –config editor Follow the instructions to choose vim.basic – your display will vary Debian Ubuntu Change Default Editor Nano VI Gedit at System Level sudo vi /etc/vim/vimrc uncomment line 20 – syntax on logout & login
Checklist of things to do after installing Debian Gnome The first problem you have with a brand new linux (Debian/Ubuntu) install is the user is not setup in sudoers. So first thing: login as root su sudo adduser username sudo sudo vi /etc/sudoers give permissions to your new user – below root username ALL=(ALL:ALL) ALL alternately – unsecure username ALL=(ALL)...
Linux Directory Rules rsync -vaz ~/qwerty ~/mydir CREATES a /qwerty directory under the ~/mydir directory COPIES the DIRECTORY and CONTENTS of the ~/qwerty directory into this newly created directory Without a trailing slash / it means “COPY THE DIRECTORY” rsync -vaz ~/qwerty/ ~/mydir Does NOT CREATE /qwerty directory COPIES the CONTENTS of the ~/qwerty directory to the mydir directory A...
Command of the Day :: You want to backup a remote machine (server) from a local (desktop) onto the local; type on local/desktop: sudo rsync -azv -e "ssh -i /home/username/.ssh/id_rsa" username@server.seleads.com:/home/username/ /home/username/server_backup_on_local_desktop username@server.seleads.com:/home/username/ (this is the server login and directory being backed up) -i /home/username/.ssh/id_rsa (if you do not want to use password authentication – key is on local/desktop) ——————–...
These commands will cause the kernel to drop clean caches, dentries and inodes from memory. To free pagecache: sudo sync echo 1 > /proc/sys/vm/drop_caches To free dentries and inodes: sudo sync echo 2 > /proc/sys/vm/drop_caches To free pagecache, dentries and inodes: sudo sync echo 3 > /proc/sys/vm/drop_caches As this is a non-destructive operation, and dirty objects are not freeable, the user should run...
Netfilter (aka iptables) is how you stop any intrusions. As an example, PSAD can recognize attack patterns, but it is Netfilter that is then used to stop any communcations from getting a response. In otherwords, Netfilter can be told to ignore incoming requests; essentially making the server unreachable.
Its not enough to harden just Ubuntu. Its necessary to harden the rest of LAMP as well. So here is how I do it. Harden MYSQL sudo mysql_secure_installation answer Yes to all questions (but no need to change password) Harden PHP – and tune performance sudo apt-get install php5-suhosin sudo vi /etc/php5/apache2/php.ini uncomment this code or update setting max_execution_time =...
sudo vi /etc/apt/sources.list update/add deb http://cdn.debian.net/debian/ wheezy main deb-src http://cdn.debian.net/debian/ wheezy main deb http://security.debian.org/ wheezy/updates main deb-src http://security.debian.org/ wheezy/updates main # wheezy-updates, previously known as ‘volatile’ deb http://cdn.debian.net/debian/ wheezy-updates main deb-src http://cdn.debian.net/debian/ wheezy-updates main deb http://download.virtualbox.org/virtualbox/debian wheezy contrib deb-src http://download.virtualbox.org/virtualbox/debian wheezy contrib deb http://http.debian.net/debian/ wheezy-backports main contrib deb-src http://http.debian.net/debian/ wheezy-backports main contrib
A useful script to remove duplicate files, especially designed for saving space for backup purposes. What the program does; finds all files in a Source Directory, puts them into an array, then finds all files in a Target Directory, putting those into another array (edit accordingly). The arrays are compared for matching file names. Matches are then compared for file...
SELeads.com is my webmaster notebook. I hope you found what you were looking for. In appreciation you might Google+ or a link-back is even better. If you want a backlink, put it in a comment and I’ll reciprocate.