Encrypting Your Cloud Storage

i was recently asked about the security of cloud storage such as Dropbox, Google Drive, SkyDrive, etc… and came across an open source project written by Stefan Küng called CryptSync.

Dropbox Encryption

Tagged: , , , , , , ,

howto: install restricted drivers via command line

i was recently setting up a ubuntu based system without using gnome, unity, kde, etc… and i needed to install the graphics drivers using ubuntu’s additional drivers program (called jockey) but via command line.

i found that it was easier than i thought since jockey comes with a text based version.

howto: install postgrey greylisting on ubuntu

if you run your own mail server you know that spam filtering sucks. i’ve been using a method called greylisting for years and have had pretty good results with it.

greylisting will temporary block an unknown mail server from delivering a message to your server by sending a “try later” response. since most spam servers are presummed to not be setup correctly, it is thought that they will not try again. when a properly setup mailserver resends the message, it will then be delivered.

howto: change phpmyadmin’s address

if you’re are using phpmyadmin on a publicly accessible server, then you might want to change the way you access it to keep unwanted hackers away.

for this howto, i am using a ubuntu based server with cli only and i assume that you know what you’re doing. if you dont already have phpmyadmin installed, simple enter sudo apt-get install phpmyadmin into your terminal.

the first step is to use nano or your favorite cli text editor and edit /etc/phpmyadmin/apache.conf

Tagged:

howto: enable plugins in ckeditor

although this will work for any plugin, this howto is geared towards enabling the tables plugin for ckeditor in Xibo. this will allow you to create tables in the text editor.

open a terminal and navigate to /path/to/webserver/xibo/3rdparty/ckeditor

cd /path/to/webserver/xibo/3rdparty/ckeditor

use nano or your favorite text editor to open config.js

Tagged: , ,

howto: change upload limit in php

a recent question on the xibo launchpad page asked for a detailed explaination on how to change the upload limit in php from the default 2mb to something else. i explained in detail on the question, but thought a visual guide would help others out. (click the images for a larger version)

open a terminal window on your webserver and use nano to open /etc/php5/apache2/php.ini

Tagged: , ,

howto: mount a windows share in ubuntu server

i need to backup my zimbra server at work to our windows server for nightly backups. to do so, i followed this thread at ubuntu forums which tells you to do the following:

install the smbfs package installed:

sudo apt-get install smbfs

then create the mount point:

sudo mkdir /mnt/winshare

Tagged: , ,

howto: speed up your website; reduce bandwidth in apache

this is a simple mod that you can use to compress your website using gzip which will reduce your bandwidth. this is dead easy to setup in ubuntu. to do so, log into your webserver via ssh or locally if you dont run it headless like me. then enabled the deflate mod by typing the following command:

Tagged:

howto: use screen to keep your ssh sessions running

screen is a program that will allow you to keep multiple terminal sessions running and easily switch between them. It also protects you from your session ending if you get disconnected.

to install screen in ubuntu, open a terminal and type the following:

sudo aptitude install screen

now you can start a new screen session by just typing screen at the command line. You’ll be shown some information about screen. press enter, and you’ll be at a normal prompt.

sudo aptitude install screen

to disconnect from ssh, but leave your session open, do the following:

Tagged: ,

howto: disable ctrl+alt+backspace from restarting x windows

normally, linux will restart your x windows session if you hit ctrl+alt+backspace. if you would prefer this not to happen, then you’ll need to edit your xorg.conf file. the first think that you will always want to do when editing any system file, is to back it up.

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup

now that you have a backup copy, you can edit the xorg.conf file. search for a section called ServerFlags and change the option “DontZap” to “yes”. If you do not see the ServerFlags section, you can create it at the bottom of the xorg.conf file.

Tagged: , ,