whattimeisitonthesun.com - whattimeisitonthesun.com | … and other useful things

Example domain paragraphs

Rsync examples Rsync (Remote Sync) is a commonly used command for copying and synchronizing files and directories remotely (as well as locally) in Linux/Unix systems. With the help of rsync command you can copy and synchronize your data remotely and… Continue Reading →

WordPress rewrite for Nginx Add the following line to Nginx site defintion: try_files $uri $uri/ /index.php?$args; Example:         root /www/htdocs/site.tld;         index index.php index.html;         try_files $uri $uri/ /index.php?$args;         location ~ \.php$ {                 include /etc/nginx/fastcgi_params;                 fastcgi_pass 127.0.0.1:9000;… Continue Reading →

Copy MySQL users from one server to another Copy MySQL users including db-rights: oldserver$ mysqldump mysql > mysql.sql newserver$ mysql mysql < mysql.sql newserver$ mysql ‘flush privileges;’ Remember to add -u $USER and -p$PASSWORD as required