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.
If an SRV record is present in the zone, the DNS zone is not updated due to this error:
Error: Incorrect DNS record values were specified.
Read More
To implement a MySQL Cluster, we have to install three types of nodes. Each node type will be installed on it’s own server. The components are:
1. Management Node – NDB_MGMD/MGM
The Cluster management server is used to manage the other node of the cluster. We can create and configure new nodes, restart, delete, or backup nodes on the cluster from the management node.
If you want the root user uses a public/private key, but you want the secondary user to use a password.
Here is what you do:
useradd test
passwd test
usermod -G www-data test
usermod -d /usr/share/nginx/html test
chown test:www-data /usr/share/nginx/html
Yes, it is this simple, creating a new user for ftp access in vsftpd is as easy as creating a new valid linux system user.
useradd test
passwd test
We will start on RHEL/Centos 7. Install the pre-requisites:
sudo yum -y install make gcc pam pam-devel
Get the latest PAM RADIUS code (1.4 as of this writing):
wget ftp://ftp.freeradius.org/pub/radius/pam_radius-x.x.x.tar.gz
Log in to the load balancer server and edit the /etc/hosts file.
ssh loadbalancer@192.168.1.102
sudo su
vi /etc/hosts
The ProFTPd software is in Ubuntu’s default repositories. We can install it by typing:
sudo apt-get update && sudo apt-get install proftpd
Choose “stand alone” when prompted during installation.
FTP, or “File Transfer Protocol” is a popular method of transferring files between two remote systems.
SFTP, which stands for SSH File Transfer Protocol, or Secure File Transfer Protocol, is a separate protocol packaged with SSH that works in a similar way over a secure connection. The advantage is the ability to leverage a secure connection to transfer files and traverse the filesystem on both the local and remote system.
Read More
I’m trying to run an rsync between two servers. I’m basing things off of this post: How to rsync files between two remotes?
What I find missing is how to facilitate the rsync (via ssh) when a key (the same key) is required for logging into each server.
Here’s the closest I’ve got:
ssh -i ~/path/to/pem/file.pem -R localhost:50000:SERVER2:22 ubuntu@SERVER1 ‘rsync -e “ssh -p 50000” -vur /home/ubuntu/test localhost:/home/ubuntu/test’
It seems like the initial connection works properly, however I can’t seem to figure out how to specific the key and username for SERVER2.
Read More