This procedure will work many version of Ubuntu. I personally tested this on all Ubuntu versions from 12 and up, and should also work fine, or be a very good indicator of what to do, on any Debian based Linux distribution. Like many OS out there, right after installation, everything is configured to use DHCP. ..
category : Linux
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. useradd johnyluky passwd johnyluky mkdir /home/johnyluky chown johnyluky:users /home/johnyluky Anyone wants to pitch in to add a bit more to this ? Add more rights to the users for specific ..
Very simple! Log on to your MySQL instance, and select the DB you table is in; mysql> use mydatabase; Create the new table with the same structure as your source; mysql> CREATE TABLE mytable_new LIKE mytable; Then copy all the content from your original table into your new one; mysql> INSERT into mytable_new SELECT ..
SSH to the web server cd into your wordpress forlder; cd /var/www/html/mywpfolder Make Apache the owner chown apache:apache -R * Change all sub-folder’s permissions to rwxr-xr-x (0755); find . -type d -exec chmod 755 {} \; Change all files’s permissions to rw-r–r– (0644); find . -type f -exec chmod..
In VMware, select your guest, and click “Install/Upgrade VMware Tools” Then go back in your VM, and issue all the following commands from terminal. mkdir -p /media/cdrom mount /dev/cdrom /media/cdrom Sometimes, you have to run the “mount” twice…. Cdrom might not have been ready the first time cd /media/cdrom cp VM*.tar.gz /tmp Install the headers, ..
If you ssh to a box and get the following error message: Warning: the ECDSA host key for ‘host’ differs from the key for the IP address ‘192.168.1.1’ 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 ..
Thanks to the original poster for this great article, please make sure to visit his article here ! TL:DR OpenSSH Installations under CentOS Linux To install the server and client type: # yum -y install openssh-server openssh-clients Start the service: # chkconfig sshd on # service sshd start Make sure port 22 is opened: # ..
You can achieve this with 3 simple steps: 1- Create you local key on your host (where you will be connecting from) ssh-keygen -t rsa 2- Create a directory on the remote host to store the keys ssh root@n01 mkdir -p .ssh 3- Copy the local host key into the remote host’s directory cat .ssh/id_rsa.pub ..
Thanks to the original poster, please make sure to visit his original post here http://www.linux.com/learn/tutorials/413853-managing-multiple-linux-servers-with-clusterssh &nb..
Get the Cheat Sheet Here ! Got any more Cheat Sheet I should have ? Leave me a..