PMTA 5.0r7 installer
With that script, you can install the latest version of PowerMTA on your server in 5 minutes.
If desired, you can also install the Fastpanel server control panel.
Installation stages:
1. Preparing the server file system
2. Install Apache, MySQL, PHP (Lamp)
3. Install...
MailWizz, manual install on VPS server
Download MailWizz (nulled version):
*** Hidden text: You do not have sufficient rights to view the hidden text. Visit the forum thread! ***
VESTA panel installation
Enter the following command to download the installer for the VESTA panel:
curl -O...
Configuring dual DKIM in PowerMTA
By default, PowerMTA supports the ability to add a second DKIM-Signature header.
To configure double DKIM, open virtualhost.txt
<virtual-mta TEST-vmta>
domain-key dkim1,DOMAIN-1.com,/etc/pmta/dkim1.DOMAIN-1.com.pem # First key, dkim1 - key selector...
RPM package install
A clean install for those who don't want to install extra packages. A server running CentOS 7 is suitable.
Download the RPM package
PMTA 4.5r1:
https://drive.google.com/file/d/1mhYSl9kvpyZGSAXEQ233nNL-6VVyCI4_/view?usp=share_link
PMTA 5.0b1:
*** Hidden text: You do not...
Make own proxy
You will need a server with bandwidth 200 Mbps and pre-installed Ubuntu or Debian.
Connect to your server via terminal.
First, install sudo on the server with the command:
apt install sudo
Install 3proxy
Next, install 3proxy itself:
wget --no-check-certificate...
Disable root authorization
We are looking for a file - /etc/phpMyAdmin/config.inc.php,
Change the line
$cfg['Servers'][$i]['AllowRoot'] =TRUE;
to
$cfg['Servers'][$i]['AllowRoot'] = FALSE;
Set up authorization by ip
Apache
/etc/httpd/conf.d/ phpmyadmin.conf
<Directory "/usr/share/phpmyadmin">...
Htaccess settings
Depending on the location of .htaccess, these settings can be applied to the entire site or a specific folder.
Basic settings
Restrict access to .htaccess
<Files.htaccess>
order allow,deny
deny from all
</Files>
Close access to a specific file:
<Files file.php>
Order...
Redirects in htaccess
301 redirect to another site:
Redirect 301 / http://domain.com/
301 redirect from domain to domain:
RewriteCond %{HTTP_HOST} ^domain1\.com$ [NC]
RewriteRule ^(.*)$ http://www.domain2.com/$1 [R=301,L]
301 redirect to another page or site:
Redirect 301 /page1.html...
What is htaccess
.htaccess - is an auxiliary configuration file of the Apache web server. All changes what made in .htaccess do not affect the global server's settings.
With .htaccess, you can control access to site files and directories, create links and redirects, remove duplicate pages from...
Installing LAMP
In this tutorial, we will install the LAMP on a server running Ubuntu, and at the same time we will configure the server.
Installing LAMP packages via the tasksel utility
This utility will allow you to install the entire LAMP stack in one command, tasksel can also be used on a...
Apache2, adding new domain
In order to bind a domain(s) or subdomains to your httpd server, you will need to edit the configuration file.
But keep in mind that you will also need to set up DNS on the side of the domain registrar, otherwise no one will see your site.
Where to find VirtualHost...
What is wordpress?
WordPress is the most popular CMS (Content Management System) in the world.
WordPress installation
Server preparation
# Install LAMP (Apache, MySQL, PHP)
sudo yum install httpd mariadb-server php php-mysql
# Install php-gd
sudo yum install php-gd
# Start Apache
sudo...
What is nagios?
Nagios is a utility designed to monitor network services such as HTTP, SMTP, POP3, HTTP, ICMP, NNTP, monitor CPU usage, disk space and other hardware. Also, nagios can send you alerts in case of any problems with the above services or hardware.
Install nagios on CentOS
To...
What is Fail2ban
Fail2ban protects the server from password brute force and SSH hacking and also able to protect certain partitions on a server running Apache or NGINX.
Installing Fail2ban on CentOS
# Get the Epel repository:
sudo yum install epel-release
# Install fail2ban
yum install...
301 redirect
A 301 redirect is a permanent redirect from one page to another. Most often, webmasters use it when transferring a page to a new address, changing a domain name, or creating site mirrors.
Setting up a redirect via HTML and PHP
Simple redirect:
<meta http-equiv="refresh"...
Basic dns settings for mail server
Name
Type
Value
Additional
domain.com.
A (internet address v4)
90.190.100.0
mail.domain.com.
A (internet address v4)
90.190.100.0
imap.domain.com.
A (internet address v4)
90.190.100.0
www.domain.com.
A (internet address v4)
90.190.100.0...
What is a DKIM signature?
The DKIM signature is used to authenticate the sender's email address.
DKIM key generation
First of all, you need to generate a pair of DKIM keys, public and private.
Public key example:
-----BEGIN PUBLIC KEY-----...
What is X Frame Option header?
The X-Frame-Options HTTP header is used to guide the browser which pages of the site can be displayed in <frame> , <iframe> , and <embed> . This technology does not allow loading website's content in frames on third-party resources, thereby protecting it from...
What is strict Transport Security header
Strict Transport Security (HSTS) is a header that guides the browser never load a site via HTTP protocol. This technology allows you to protect the user from attacks by hackers. With the correct HSTS configuration, even during the first load of the site...
What is Permissions Policy header?
HTTP Permissions-Policy security header specifies which browser features can and cannot be used. This can help to improve the privacy and security of the website, like turning off the camera and microphone. Can also be used to enforce guidelines (such as...