This post is mostly for myself, as it contains some example samba configuration code that I use a fair bit on simple samba server setups. Often the most difficult things are rights management and file permission management, and it isn't very hard once you know how to do it. Hopefully this will...
BLOG
BLOG
Make permanent swap file in Linux
Dec 25, 2013
In Linux you can create a swap FILE that performs pretty much the same function as a separate swap PARTITION, but not with the problem that if later you need to resize some partitions you have to mess around with a partition that's in the way. Yes, I know you can delete it and fix things later but...
MySQL command-line cheat sheet
Jun 7, 2013
Just a few copy/paste ready commands for some basic MySQL tasks. Log in to MySQL command line as root user mysql -u root -p Add a new database create database namegoeshere; Give a user access to a database grant all privileges on namegoeshere.* to user@localhost identified by 'password'; Drop...
Passwordless SSH login with keypair
Apr 6, 2013
Yes many of these guides are already out there. This is just a note more for personal use. This is useful for running rsync over SSH in an automated script for example. Generate key on client side and secure it: mkdir ~/.ssh;cd ~/.ssh;ssh-keygen -t rsa;cat id_rsa.pub >> authorized_keys;chmod...
Windows route cheat-sheet
Feb 6, 2013
List all IPv4 routes: [code]route print -4[/code] Add route: [code]route add (destination subnet start IP) mask (subnet mask) (target gateway IP) route add 172.16.47.0 mask 255.255.255.0 192.168.47.254[/code] Delete route: [code]route delete (destination subnet start IP) route delete...
VMWare tools in Ubuntu, Debian, CentOS, Fedora, on ESXi 5.0, 5.1, 5.5, 6.0, 6.5
Dec 24, 2011
This is more like a quick note for myself that I can easily reuse when I want to use VMWare Tools instead of the open source variety. It can also be used to upgrade an older VMWare Tools to the latest version. Prerequisite is that you right click the VM and select Install/Upgrade VMWare Tools so...