Guides

Tutorials

Step-by-step technical guides on Linux, WordPress, Git, Apache, and the rest of the open-source toolkit.

Tutorials

Protect Your Apache Directory

Use .htaccess with basic auth: create .htpasswd file with htpasswd command. Configure .htaccess: AuthType Basic, AuthName, AuthUserFile path, Require valid-user…

1 min read
Tutorials

Mount LVM Partition in Ubuntu

First, list LVM volumes: lvdisplay. If not activated, run: lvchange -ay /dev/volume_group/logical_volume. Create mount point: mkdir -p /mnt/lvm_mount. Mount par…

1 min read
Tutorials

Installing Git on your server

Install git-core on server. Create bare repository: git init –bare /path/to/repo.git. Set proper permissions: chown -R git:git /path/to/repo.git. On client, cl…

2 min read
Tutorials

Enable Google Now for Kitkat

Google Now is disabled for some countries. Here is how to enable it. First long press on empty area in home screen, go to Settings → Accounts & privacy. Click on Google Account and sign out. Next go to Phone Settings (the one in your app drawer), then go to Apps → swipe to ALL […]

1 min read
Tutorials

How to install OS in Raspberry Pi

How to Write an Image File to SD Card (for Raspberry Pi or Similar) So you have downloaded the image files and you are ready to get your system running. Let’s go step by step. Step 1: Download and Extract the Image You can download image files from the provided source (or any other trusted […]

1 min read
Tutorials

Ubuntu Touch on Nexus

Ubuntu has finally released stable Ubuntu Touch for Galaxy Nexus and Nexus 4. Nexus 4 is newer and faster device capable of handling ubuntu os, but galaxy nexus has started to show its age. The Installation was snap, but the OS was too slow to be usuable. 1. InstallationI used ubuntu OS 13.04 to install […]

4 min read
Tutorials

How to reset all GNOME settings in Linux?

Resetting GNOME Settings Gnome is so configurable that sometimes you can end up breaking your window manager. Most local settings for GNOME are stored in hidden directories in your home folder – gnome, gnome2, gconf, gconfd, metacity. You can remove these files to reset all the settings. Method 1: Command line via login screen Method […]

2 min read
Tutorials

Run Google Chrome as Root in Linux

Fix Chrome User Data Dir (Quick Hack) Update: Fix Chrome User Data Dir (Modern Way) Older trick (editing /usr/bin/google-chrome) may not work now since it’s often a binary, not a script. Use one of these instead: Method 1: Run directly from terminal Method 2: Update .desktop launcher (or copy to local first) Method 3: Simple […]

1 min read
Tutorials

Run Vlc Player as Root

Playing with VLC Binary (just for fun / learning) Note This is just messing around to understand how binaries work under the hood.Don’t do this on a system you actually care about, things can break real quick 😄 If your terminal looks weird (If you see -bash-xxx instead of root@smjrifle)

1 min read