Search our database

Archive | Operating Systems RSS feed for this section
Viewing 1 to 10 of 159 items

How to install PHP selector and upgrade PHP version on DirectAdmin custombuild 2.0 in Centos 7

SSH , login as rootvim /usr/local/directadmin/custombuild/options.confedit the PHP version, in this example PHP1 is version 5.6 and PHP2 is 7.3 > save cd /usr/local/directadmin/custombuild./build set_fastest./build update./build php n If you login to Directadmin > Domain Setup > Domain > you should be able to select the PHP version of your choice 

Windows Server 2008 setup task scheduler

Go to administrative tools, task scheduler.  Then right click on Task Scheduler and select Create Task Name the task, in this example “Reboot Weekly Saturday 2am”Change settings to run whether user is logged in or not. Change User/Group and type in SYSTEM.On the Triggers tab, select New and fill in your schedule and make sure to check […]

All About SPF Records and How to Manage it

Sender Policy Framework, also abbreviated as SPF. SPF is a framework designed to prevent email phishing/forgery. With SPF, if a spammer attempts to send emails with a faked “from” address, the message will be rejected by mail servers that use SPF verification. An SPF record is a single TXT entry in the DNS for each domain. […]

CentOS (and other Linux machines) to Act as a Router

By default, if you have two or more network interfaces in CentOS, they do not know each other until you introduce and connect them together. To connect two network interfaces to forward packets back and forth, here are the two commands to use: Step 1:Open up the Linux terminal. Step 2:If you have a STATIC IP address on the […]

Block IP address at Directadmin using block_ip.sh

This tutorial will show you how to block IP address from DirectAdmin control panel. This guide is only for Centos 6 Please be informed that DirectAdmin do not support this implementation, you will need to at your own risk. It is better to backup anything first. 1 – Replace IPTables script as follow [root ~]# […]

Change Firewall Rules in CentOS 7

A firewall blocks many things, including some web applications that we want (such as Apache), but turning off the firewall also introduces vulnerabilities to our system.In CentOS 7, iptables are replaced by firewalld service. To maintain security of our system, there are steps to configure it so that only certain ports are allowed to pass through while […]

Install LEMP on CentOS 7

LEMP is an acronym for Linux, Nginx (Engine x), MySQL, and PHP. It is needed to run web servers due to it containing various software required for other web content management software, such as WordPress and also Joomla.LEMP is similar to LAMP, where LAMP uses Apache instead of Nginx as open source web servers. Apache is usually chosen […]

Change OpenSSH Port on CentOS 7

By default the port used for OpenSSH is port 22. For security reasons such as preventing hackers from guessing our server access port too easily, we can change the listening port for accessing our servers through a few steps.Step 1: First we need to backup our current SSH configuration, using the command:cp /etc/ssh/sshd_config /etc/ssh/sshd_config.bakThis command […]