Installing MySQL
On CentOS 8, MySQL version 8 is available from the default repositories. In this guide I will install the server and create some initial user and databases.
Continue reading →On CentOS 8, MySQL version 8 is available from the default repositories. In this guide I will install the server and create some initial user and databases.
Continue reading →Reference: https://linux4one.com/how-to-install-dropbox-on-centos-8-server/
Before you start to install Dropbox on CentOS. You must have the non-root user account on your server with sudo privileges.
Continue reading →Adapted from digital ocean reference.
Cron is a time-based job scheduling daemon found in Unix-like operating systems, including Linux distributions. Cron runs in the background and tasks scheduled with cron, referred to as “cron jobs,” are executed automatically, making cron useful for automating maintenance-related tasks.
Continue reading →Fail2ban is available through the EPEL project. So it needs to be installed first.
sudo yum install epel-release
sudo yum install fail2ban
sudo systemctl enable fail2ban
sudo systemctl start fail2ban
sudo systemctl status fail2ban
Configuration files is located in the /etc/fail2ban
directory. Leave the jail.conf
as default and create your own config file called /etc/fail2ban/jail.d/jail.local
. The values defined in jail.local
will take precedent over jail.conf
.
sudo touch /etc/fail2ban/jail.d/jail.local
sudo vim /etc/fail2ban/jail.d/jail.local
add the content to it as needed. below is a sample content
[DEFAULT]
# Ban hosts for one hour:
bantime = 3600
# Override /etc/fail2ban/jail.d/00-firewalld.conf:
banaction = iptables-multiport
[sshd]
enabled = true
[nginx-http-auth]
enabled = true
sudo systemctl restart fail2ban
sudo systemctl status fail2ban
sudo fail2ban-client status
sudo fail2ban-client status jail_name
sudo tail -F /var/log/fail2ban.log
I have a local OS repository that is used by my local machines to get the Centos updates from.
I realised it has stopped working and it turned out that the disk is full.
The machine is hosted on a VMWare ESXi 6.7 server. Below are the steps needed to go through to get the partition size extended.
Continue reading →Ansible is a radically simple IT automation engine that automates cloud provisioning, configuration management, application deployment, intra-service orchestration, and many other IT needs.
From asciidoc.org
Continue reading →AsciiDoc is a text document format for writing notes, documentation, articles, books, ebooks, slideshows, web pages, man pages and blogs. AsciiDoc files can be translated to many formats including HTML, PDF, EPUB, man page.
AsciiDoc is highly configurable: both the AsciiDoc source file syntax and the backend output markups (which can be almost any type of SGML/XML markup) can be customized and extended by the user.
asciidoc.org
In this post, I will go through the installation and setting of collectd. Then configure it to send the system metrics to remote Graphite server.
Continue reading →