Raspberry Pi: installing a LAMP server

Let's put the Raspberry Pi to good use:   1. Install Mysql sudo pacman -S mysql 2. Start your server # systemctl start mysqld 3. Secure your mysql installation # /usr/bin/mysql_secure_installation ——————- NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL       SERVERS IN PRODUCTION USE!  PLEASE… Continue reading

Use an alias to SSH to a server

Create a file ~/.ssh/config and insert the following: mauricio@rynex:~$ cat .ssh/config Host SERVER_ALIAS Port PORT HostName SERVER_NAME User USERNAME Compression yes TCPKeepAlive yes Change according to your servername, username and port, of course. Then you can simply use: ssh SERVER_ALIAS to connect to the server instead of using: ssh username@hostname