Linux

Linux is a family of open-source Unix-like operating systems based on the Linux kernel. Some of the most popular Linux distributions include Debian, Fedora, and Ubuntu.

www.linux.org

image 36 - [INFO] Timeout - try typing a little faster next time

[INFO] Timeout – try typing a little faster next time

When using FTP from a slow internet connection, files are not fully transferred, and the following error is recorded in the messages log: [INFO] Timeout – try typing a little faster next time To resolve this, edit pureftpd configuration file:...

MobaXterm Personal 20.3 L2R6UCkkiZ - How to backup a VPS from the inside

How to backup a VPS from the inside

Here is how to backup a VPS “from the inside” Create a directory for the container: mkdir /backup Create an archive vpsbackup.tar.gz of all files and place it in this folder: tar -zcvpf /backup/vpsbackup.tar.gz --directory=/ ...

MobaXterm Personal 20.3 BpISlMbEyO - Disabling SELinux

Disabling SELinux

To disable SELinux for this boot:

setenforce 0

To permanently disable SELinux edit the configuration file:

nano /etc/selinux/config

or

nano /etc/sysconfig/selinux

find SELINUX=enforcing and replace it with SELINUX=disabled

then reboot the system.

image - When the AWS EC2 instance was created

When the AWS EC2 instance was created

Here is how to check when an EC2 instance was created: Option 1. Check the Volume attachment time Option 2. Using a Python script import boto3 ec2 = boto3.resource('ec2', region_name='instance_region_name') volume = ec2.Volume('vol-id') print volume...

reboot aws instance - 3 Ways to Reboot AWS Instance EC2

3 Ways to Reboot AWS Instance EC2

Here are 3 different ways to restart EC2 AWS Instance: 1. Reboot EC2 Instance using AWS Console Login into your AWS EC2 ConsoleNavigate to “Instances” and Select instance which you want to restart, right-click on it and then select...

mtr - Run MTR (traceroute) every minute

Run MTR (traceroute) every minute

From time to time I’m experiencing Connection timed out errors in cPanel > Sent Summary and I need a way to run MTR at that exact time to troubleshoot the network problem. For this I can create a new script, mtr.sh: /usr/sbin/mtr -r -c 2...

chrome KRZ656D7Vo - How to Enable/Disable debug mode in CakePHP

How to Enable/Disable debug mode in CakePHP

To enable debug mode in CakePHP go to config folder and open app.php find ‘debug’ => filter_var(env(‘DEBUG’, false), FILTER_VALIDATE_BOOLEAN), and change the value of debug false to true Older CakePHP versions To enable...

MobaXterm Personal 20.3 kv2c2lOpG8 - Bash script to check server load and notify by email

Bash script to check server load and notify by email

Shell scripts are always to handy to do some tasks on a Linux-based server for SysAdmins, they can automate everything they do frequently through a shell script. Here I’m going to share a simple script that I got from Muhammed Fasal to monitor...