Relocation subversion
Command: svn sw --relocate oldpath newpath
Disable SQL strict mode in Mysql 5.7
Add this to /etc/ sql_mode=IGNORE_SPACE,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
Sendmail – control who can send relay
Sendmail use “access” database to control who can use this email server to send email out. It’s easy, just edit this file /etc/mail/access , but access is a...
Clear DNS cache in Google Chrome
The following url will open the DNS info in Chrome, you can clear dns cache as well. chrome://net-internals/#dns
good links
### Good Links: Unlocking the Power of Reliable Online Resources In the vast expanse of the internet, we are constantly bombarded with a never-ending flow of information. The challenge,...
Godaddy: treat html file as php
I used to put this content in my .htaccess to treat .html as php file, but some how it’s no longer working in godaddy. AddType application/x-httpd-php .htm .html AddHandler...
Samba troubleshooting commands
Edit /etc/ , add log level =3 Run server in debug mode / -F -S Smb client test smbclient -L //server/sharename -U username Test param testparam -v
Backup & Restore Firewall Rules with iptables – Ubuntu
Save: iptables-save Backup : iptables-save > Restore iptables-restore -c < View Rules: iptables -L
Upgrading Osticket from 1.6 to 1.10
In my experience, we need to migrate to first in order to move all attachments from file system to database , if you go directly from to ...
Mysql: how to check the maximum connections that the server has handled?
You can run this command to find the maximum connections that the server has served since it starts? it’s useful when we want to know if sometimes we reach...