So you are trying to do a fulltext search but your searches for “cat” or “dog” always return zero results, even though you have articles all about cats and dogs. By default the minimum search text length for full index searches is 4 characters, anything less than that returns nothing, zip, nada, jack-all. You need to change the minimum word length.
This can throw people using something like Magento whose product types or names are short, such as “bag”,”cup”, or “mug”. The problem isn’t actually in Magento but a server setting. You might be kind of stuck if you are using a shared hosting environment – you can contact your hosting service and ask nicely.
Continue reading Mysql: Change the full text index minimum word length
- Generate a new certificate signing request (.csr) and key file (.key)
openssl req -new -newkey rsa:2048 -nodes -keyout server.key -out server.csr
where server is the name of your server
- Fill in the details but you can leave email, challenge password and optional company name blank. Please note: The following characters cannot be accepted: < > ~ ! @ # $ % ^ / \ ( ) ?.,&
- Chek the contents of the csr: https://www.sslshopper.com/csr-decoder.html or enter this in the SSH console:
openssl req -in server.csr -noout -text
(again where server.csr is the name of the newly genererated csr file)
- Submit csr to commercial ssl provider.
- Copy the new certificate information into the correct location for the host. You may need to look at the virtual host settings or apache config file to see where an existing one is. * See below
- Do the same for the intermediate certificate file if there is one.
- Move (or copy) the key
- Change the apache (or virtual host) config file to point at the new certificates.
- Restart the webserver. For Debian this is “service apache2 restart”. For Centos this would be “service httpd restart” or “systemctl restart httpd” for newer Centos versions.
- Make sure the server restarts – any typos in the config will stop it from running – you will be notified.
Country Codes: https://www.digicert.com/ssl-certificate-country-codes.htm
Check they are working correctly: https://www.sslshopper.com/ssl-checker.html
A quicky this, for personal reference more than anything else.
Checking the Hostname
From within the console, run hostname to check the current hostname.
Changing the Hostname
To change the hostname run
check it has happened with hostname and then restart the network
systemctl restart network
(or simply network restart on older centos versions)