How to setup Moodle on Linux System ?

This is a step by step guide to installing Moodle on a K12LTSP based Linux server. You must be root to perform the following steps. 1. Install K12LTSP with the default options. 2. You can select to install a web server httpd during the install or afterwards. If you didn't install httpd or you're not sure, just type, rpm -q httpd to see if it is installed. If it is, you'll get a result like this: ...
 

How To Disable IPv6 in Red Hat Linux

Since it may be a while before I'm ready to use the IPv6 on my systems, I've been disabling IPv6 on most servers so far. And since there's a particularly elegant way of doing this in Red Hat Linux, I think it's worth sharing. How to confirm if IPv6 is running on your system IPv6 is implemented as a kernel module, so you can use the lsmod command to confirm if it's currently running on your Red Hat system: $ lsmod | grep ...

Unix Commands for Effective Shell Scripting

The beauty of shell scripting in Unix is that there are plenty of commands you can use to get useful output from and reuse it by assigning it to variables. This section of the Unix Commands website contains such commands. Please contact me if you know of yet another extra-useful command to be included. Files and directories pwd - confirm the current directory you're in dirname – extract the directory name from a full path to a file basename – strip directory and suffix ...

How To Enable Secure Shell in Ubuntu

SSH (Secure SHell) is possibly the best way to remotely access a Unix system – it's very secure thanks to automatic encryption of all the traffic, and it's also quite universal because you can do all sorts of things: access remote command line shell, forward graphics session output, establish network tunnels and set up port redirections. Today I'm going to show you how to get started with SSH in Ubuntu. Installing SSH server in Ubuntu By default, your system will have no ...

How to Enable Remote Access To MySQL Database Server?

By default remote access to MySQL database server is disabled for security reasons. However, some time you need to provide remote access to database server from home or a web server. MySQL Remote Access You need type the following commands which will allow remote connections. Step # 1: Login Using SSH (if server is outside your data center) First, login over ssh to remote MySQL database server: ssh user@mysql.nixcraft.i Step # 2: Edit my.cnf File Once connected you need to edit ...

How to set up a MySQL Cluster for Two servers

This HOWTO was designed for a classic setup of two servers behind a loadbalancer. The aim is to have true redundancy - either server can be unplugged and yet the site will remain up. Notes: You MUST have a third server as a managment node but this can be shut down after the cluster starts. Also note that I do not recommend shutting down the managment server (see the extra notes at the bottom of this document for more information). You can ...

Export Mysql Database into a CSV File

If you want to export your mysql databases into a csv ...