Category: Linux

All about linux

PuTTy or Shell keyboard shortcuts

Author: | Categories: Linux, Raspberry Pi One Comment
Context Menu (even in full screen) Ctrl + Right Click CTRL Key Bound Ctrl + a - Jump to the start of the line Ctrl + b - Move back a char Ctrl + c - Terminate the command Ctrl + d - Delete from under the cursor Ctrl + e - Jump to the […]

Enable Pretty Permalinks on WordPress

Author: | Categories: Linux, Programming No Comments
Set pretty permalinks in Settings .htaccess file must look like this # BEGIN WordPress RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] # END WordPress Enable mod_rewrite on terminal window a2enmod rewrite Enable AllowOverride in Apache config file so that Apache reads .htaccess file <Directory […]

Accessing MySQL databases from remote computer

Author: | Categories: Database, Linux No Comments
To expose MySQL other than localhost uncomment following line in /etc/mysql/my.cnf and assign to your computers IP address and not loopback bind-address = xxx.xxx.xxx.xxx # replace xxx with IP Next for a remote user to connect with the correct privileges you need to have that user created in both the localhost and '%' as in. […]