This script clears all firewall rules, sets standard values for chains, and opens access via SSH, HTTP and HTTPS
We look at the rules in all chains: Can be viewed in a specific chain: See the rules in NAT:
Faced with the fact that in Ubuntu there is no usual CentOS file with me "rc.local", the solution is the following. Create a service: with the following content: Create the file"rc.local" and add it to the execution bit:
Install Master CentOS 7 Add to autorun and run: Installation may require dependencies in the EPEL repository.
This line checks the change of the "configmap.yml" file between the last and the last but one commit, if there was a change in it, then the configmap update in Kubernetes is performed.
The script receives the value, after how many days the certificate expires and sends the values to "Zabbix" via "zabbix-sender". Script content: You need to make sure that the required domain is set as the FQDN of the host. Or receive it in another way, for example, if you have more than one domain …
Continue reading "SSL – Certificate Validity check"
When trying to execute the command: We get the following message: Could not find rake-12.3.1 in any of the sources Run `bundle install` to install missing gems. Solution:
For example, you need to know which package includes the utility "mkpasswd" CentOS: Result:
File Contents: ".htaccess" Redirecting everything to HTTPS Redirecting to www Redirecting from www
The script finds all folders in a given directory and archives them one by one, copies them to S3 Bucket and deletes them locally. It also receives a list of all MySQL databases, excluding system databases, archives them in turn, sends them to S3 Bucket and deletes them locally.