Create a script clear_exim
# vi clear_exim
Insert:
Read More
InetServices offers both Windows and Linux bare metal server hosting, and cloud server hosting for any small to medium size business. We also offer both PCI and HIPAA Compliant servers allowing you to achieve PCI or HIPAA Compliance without all the worries of figuring it out. InetServices offers much more than just dedicated servers and cloud servers, we offer you a complete solution to your hosting needs including Big Data, Disaster Recovery, and High Availability services.
1 – Install EPEL 7
RHEL7:
# wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-9.noarch.rpm
# rpm -Uvh epel-release*.rpm
CentOS 7:
# yum install epel-release
https://support.plesk.com/hc/en-us/articles/213410909
Vulnerability check script:
wget http://kb.plesk.com/Attachments/kcs-40007/poodle.zip
unzip poodle.zip
chmod +x poodle.sh
for i in `echo 21 587 443 465 7081 8443 993 995 `; do /bin/sh /home/inet203/poodle.sh 10.204.35.204 $i; done
To repair a corrupted MySQL database table, simply do the following steps:
a) Login to your MySQL server using Secure Shell (SSH).
b) Enter the following command at root prompt:
mysqlcheck -r [database name]
ClamAV is not available in the official CentOS repositories, therefore, we enable the EPEL repository (if you haven’t done so already. Start by importing the RPM GPK keys.
rpm –import /etc/pki/rpm-gpg/RPM-GPG-KEY*
Then we enable the EPEL repository on our CentOS system as lots of the packages that we are going to install in the course of this tutorial are not available in the official CentOS 7 repository:
I would like to disable DNS recursion; the PCI compliance check fails because recursive DNS queries are allowed.
To disable recursive DNS queries follow these steps:
To reset your MySQL root password, please follow these steps:
1)root@server [~] /etc/init.d/mysqld stop
2) Start MySQL server without password:
root@server [~] mysqld_safe –skip-grant-tables &
3) root@server [~] mysql Read More
Once you have create am image your next option is to publish the created Docker image on the Docker Hub Repository. To do so, you will need to create an account on the Docker Hub signup webpage where you will provide a name, password, and email address for your account. I should also point out that the Docker Hub service is free for public docker images. Once you have created your account, you can push the image that you have previously created, to make it available for others to use.
We will create a custom Docker Image using the “Whale say ” image which is a small Docker Image (based on an Ubuntu Image) which when you run it, it says something that you programmed to say back to you.
First, fire up a terminal and create a new folder by typing:
mkdir mywhale
Let us introduce ourselves to the Docker Hub and learned that it is a cloud-based centralized resource for container image discovery, image building, and distribution of those images. We also learned that a docker image is a multi-layer image on top of a base image. That said, using a base image removes the hassle of creating from scratch a suitable OS for docker image and gives us the option to customize the upper layers where our software will reside.