drilix.com

Freedom, Community & Sustainability
Command-line, shell, terminal tutorials.

Drupal Development Cheat Sheet

November 10, 2014 -- William
Last modified on August 2016

This is a small recap of some useful tools that you can use while developing drupal websites. In this cheat sheet we have put together commands for Drush, GIT, Features, patches and error reporting. We have also included recipes for installing a drupal site with drush in just a few commands and the version control routine in GNU/Linux.

Tutorial category: 
Command Line
Web Development
Drupal
Duration: +- 15 minutes

Set Up a Web Server and Cloud at Home

November 5, 2014 -- William
Last modified on January 2015
Home server

In this tutorial we will go through each step needed to set up a Web server at home using an old computer, an Internet connection (with access to the configuration of your router) and some spare time. In the end of this tutorial you will have a server that displays web pages, serves files in a cloud, works with FTP, sends e-mail alerts, does automatic backup of data and, of course, that you can access from anywhere in the world.

Tutorial category: 
GNU/Linux
Command Line
Web Development
Open Source Hardware
Duration: Several hours

VIM Commands - Survival Kit

October 30, 2014 -- William
Last modified on August 2016

VIM is a great text/code editor but not so user-friendly. Take some time to learn how to use it and it will seem much more friendlier then. On VIM you need to enter the ---INSERT-- mode to be able to edit your file like a regular text editor. To do this press the "i" key and you will see the 'insert' message at the bottom. Press Escape to exit the insert mode. Keep in mind that the commands below will not work if you are in the insert mode so you have to keep pressing "i" and "Esc" to get in and out of the insert mode. Now try some of the other commands:

Tutorial category: 
Free & Open Source Software
GNU/Linux
Command Line
Duration: 5 minutes or less

4 - Automate your tasks (power on, backup, update)

October 27, 2014 -- William
Last modified on December 2014

These configurations are optional too, you don't have to do this if you just want to tinker with a server.

Automatically reboot after power failure

Servers should usually stay turned on all the time. In the event of a power failure you can configure your server to turn on as soon as the power is back. Of course, if you have a no-break that can keep your server running it's even better but even no-breaks can run out of battery.

Tutorial category: 
GNU/Linux
Command Line
Duration: +- 30 minutes

3 - Install your websites and configure Apache

October 25, 2014 -- William
Last modified on September 2017

Here starts the fun part. Once your server is up and running, it's time to install a website! If you already have a website just transfer the files to the folder /var/www/html using FTP and import your databases using phpMyAdmin. We've covered FTP and phpMyAdmin on the previous section, let me know in the comments if you have trouble doing this.

Tutorial category: 
GNU/Linux
Command Line
Web Development
Duration: +- 30 minutes

Pages