Unix Server

VI cheatsheet

Basic Usage vim or vi Run vim and open the given filename. :w Save file. :x or SHIFT ZZ Save and exit. :q Exit if no changes have been made. :q! Exit and undo any changes made. :set nu Display line numbers. Entering Insert mode i At the cursor. a After the cursor. I Before […]

VI cheatsheet Read More »

Server Settings After Initial Setup

SSH Keys for Authentication ssh-keygen has already been run on the local computer, just need to add it to the new server. Use the following command to copy authentication to the new server: Make sure common apps are installed on the server Setup AutoMySQLBackup config file location: /etc/default/automysqlbackup default database backup location: /var/lib/automysqlbackup

Server Settings After Initial Setup Read More »

Scroll to Top