yum downgrade MariaDB-server MariaDB-common MariaDB-shared MariaDB-client MariaDB-compat MariaDB-devel For example, I used the above script to downgrade from MariaDB 10.3.23 to 10.3.22 after an automatic update.
Useful for servers behind residential internet, where port 80 is blocked, after the deprecation of TLS-SNI-01 challenge. certbot -d mydomain.com –manual –preferred-challenges dns certonly After you run this command, you need to add the domain control validation (DCV) DNS entry.
Issue – connecting to a FTPS server with a shared SSL certificate, like cPanel. Here is the solution Create a file named rc in ~/.lftp and add the line: set ssl:verify-certificate no connect to FTPS server using lftp command lftp -u user hostname.example.com How to install lftp: sudo apt install lftp or yum install lftp … Read more Using LFTP – ignore SSL certificates
Exim issue most likely due to a corrupt Exim db. Symptom: Bounced emails with the message: “retry time not reached for any host after a long failure period” Solution: For cPanel: cd /var/spool/exim/db rm -f retry retry.lockfile rm -f wait-remote_smtp wait-remote_smtp.lockfile service exim restart For Linux: /usr/sbin/exim_tidydb -t 1d /var/spool/exim retry > /dev/null /usr/sbin/exim_tidydb -t … Read more Retry time not reached for any host after a long failure period
This is an example how to convert a website in STATIC HTML: wget –mirror –convert-links –adjust-extension –page-requisites –no-parent http://mywebsite.ca –mirror – Makes (among other things) the download recursive. –convert-links – convert all the links (also to stuff like CSS stylesheets) to relative, so it will be suitable for offline viewing. –adjust-extension – Adds suitable extensions … Read more Mirror offline HTML website with WGET
Edit the config file nano /etc/default/virtualbox Add the lines: VBOXAUTOSTART_DB=/etc/vboxVBOXAUTOSTART_CONFIG=/etc/vbox/autostart.cfg Fix permissions: chgrp vboxusers /etc/vboxchmod 1775 /etc/vbox Start and enable the service: systemctl start vboxautostart-servicesystemctl enable vboxautostart-service
How to delete old kernels and keep only the last 2. yum install yum-utils package-cleanup –oldkernels –count=2
yum install cups -y yum install foomatic* -y yum install avahi avahi-tools -y systemctl enable cups systemctl enable avahi-daemon systemctl start cups systemctl start avahi-daemon after each change in configuration, restart both of them using systemctl restart cups systemctl restart avahi-daemon lynx localhost:631 – allow from remote, then from your computer go to prinserver:631 and … Read more IPP and Airprint shared printer on CentOS Linux
Again, a personal recipe, no questions asked WORKFLOW: profile ipad + CBR 2000 double pas anamorphic none 1280×720 @2000 Join files: Create a list.txt with the following content: file ‘c:\TEST\1.mp4’ file ‘c:\TEST\2.mp4’ file ‘c:\TEST\3.mp4’ Run in CLI: ffmpeg -f concat -i list.txt -codec copy out.mkv mov > mp4 vlc not play in wmp
If we have a CentOS 7 or Red Hat Enterprise Linux (RHEL 7) with a selinux in enforced mode, the password resetting procedure need to be modified. From the Grub menu type “e” in order to edit the default menu item. Find the line that starts with “linux16”. At the end of this line append … Read more CentOS 7 root password reset
WP Themes Engrave WP Advocate i-excel Tracks Make Responsive