Tag: debian

Just random stuff - Nothing to see here - Move along...

Ramdisk Sync for Better Performance in I/O Intensive Environments

Setup Create a mountpoint for the disk : mkdir /mnt/ramdisk Secondly, add this line to /etc/fstab in to mount the drive at boot-time. tmpfs /mnt/ramdisk tmpfs defaults,size=2g,noexec,nosuid,uid=65534,gid=65534,mode=1755 0 0 Change the size option in the above line to easily accommodate the amount of theĀ files you’ll have. Don’t worry, it doesn’t allocate all of that space…
Read more

Setting Up a MySQL (5.5) Master-Master Replication

MySQL replication is the process by which a single data set, stored in a MySQL database, will be live-copied to a second server. This configuration, called “master-slave” replication, is a typical setup. Our setup will be better than that, because master-master replication allows data to be copied from either server to the other one. This…
Read more

DigitalOcean Droplets – Debian Install

Look people – This is a bare bones debian install – to get a webserver going…(or basically anything installed) After logging in with ‘admin’ and your private key via SSH sudo nano /etc/apt/source.list deb http://http.debian.net/debian wheezy main deb-src http://http.debian.net/debian wheezy main deb http://security.debian.org/ wheezy/updates main deb-src http://security.debian.org/ wheezy/updates main deb http://http.debian.net/debian wheezy-updates main deb-src http://http.debian.net/debian…
Read more