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

c8 hue 6 - Installing CentOS 7 🐧 on VirtualBox

Installing CentOS 7 🐧 on VirtualBox

First lets download the VM image from this website. Why use VM images instead of the real CentOS ico? The VirtualBox and VMware images are created in such a way that they are less in size but contains all the standard packages required for instant...

linux - Automatic MySQL Database Backups Using CRONTAB

Automatic MySQL Database Backups Using CRONTAB

Here is how to set up a cronjob that automatically backs up a MySQL database to a file every hour. Okay, so first we need to create a new script that will be executed via cron: #!/bin/bash YEAR=`date +%Y` MONTH=`date +%m` DAY=`date +%d` HOUR=`date...

email 3249062 1280 - Get Email Alert on low Disk Space

Get Email Alert on low Disk Space

Here is a small script that will send you an email when the disk usage rises above the percentage specified by the THRESHOLD variable (90% in the example bellow). If you don’t want to step up to a full monitoring solution such as Nagios...

email 3249062 1280 - Restrict domains in ✉️ Zimbra Mail server

Restrict domains in ✉️ Zimbra Mail server

Here is how to restrict users to send emails to certain domains in the Zimbra mail server. 1. Open file /opt/zimbra/conf/zmconfigd/smtpd_recipient_restrictions.cf and add this line: check_sender_access lmdb:/opt/zimbra/conf/restricted_senders 2...

linux - Introduction to Networking

Introduction to Networking

Installing the Linux operating system is only the first step toward creating a fully functional departmental server or Web site. Almost all computers are now networked in some way to other devices therefore a basic understanding of networking and...

linux - 🐧 Linux / Unix scp command

🐧 Linux / Unix scp command

scp – secure copy (remote file copy program) Syntax scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file] [-l limit] [-o ssh_option] [-P port] -S program] [[user@]host1:]file1 [...] [[user@]host2:]file2 -1Forces scp to use protocol...

swap - SWAP memory allocation

SWAP memory allocation

SWAP memory is used to help RAM, once it can not store any more data. Here is how to modify and increase SWAP memory on Linux.

linux - Configuring DNS 🐧

Configuring DNS 🐧

Domain Name System (DNS) converts the name of a Web site (www.pcx3.com) to an IP address (104.21.70.187). This step is important, because the IP address of a Web site’s server, not the Web site’s name, is used in routing traffic over the...