12 articles General

Create a new user on Debian based Linux distro

Very straight forward, create a user, a home folder, assign permissions to it, you’re done ! This create a simple user, with no particular rights.

Anyone wants to pitch in to add a bit more to this ? Add more rights to the users for specific function ? Leave a comment and I’ll gladly…

Set file permissions for WordPress on CentOS 6.5 and Apache

SSH to the web server cd into your wordpress forlder;

Make Apache the owner

Change all sub-folder’s permissions to rwxr-xr-x (0755);

Change all files’s permissions to rw-r–r– (0644);

Remove SSH Key – Fix Warning ECDSA Host Key Differs

If you ssh to a box and get the following error message:

It means that, or someone is doing something nasty on your network, like a Man in the middle attack, or you have recently reinstalled your host, and now this IP has a new ssh key. In this case, to fix it, simply…

Configure ssh to remote host with no prompt for password

You can achieve this with 3 simple steps: 1- Create you local key on your host (where you will be connecting from)

2- Create a directory on the remote host to store the keys

3- Copy the local host key into the remote host’s directory

4- Test the connectivity

5- Profit…

Easy command to install Linux Kernel Headers

This command work with all Debian based OS. Open a command shell, and type the following:

  If you have the equivalent for CentOS, RedHat, Fedora, etc… Please le me know in the comments so I can add it.  

Kernel 3.12 Released – Install and Compile in Debian Linux

Thanks to the original poster, please visit his post here: http://www.tecmint.com/kernel-compilation-in-debian-linux/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+tecmint+%28Tecmint%3A+Linux+Howto%27s+Guide%29 Only one note to add to this; the very last command installs the kernel, but specify the command for a x386 system. If you system is amd64, those commands wont work. This is the command for i386:

This is the one for amd64:…

Configure NTP Client on CentOS

Type the following command to install NTP

Turn on service

Synchronize the system clock with 0.pool.ntp.org server:

Start the NTP: