![]() These additional modules will enable your server to support APC User Cache for PHP 5, memcached, cURL, an XML parser, and GD image processing. Make sure that this password is a secure password, and make sure that you document the password used as you will need it again throughout this article.Īfter all the packages are installed, we will be ready to install some additional PHP modules. This password will be set for the “ root” user account of the MySQL database. To see a list of the packages that are included in this group install, you can execute the following: tasksel -task-packages lamp-serverĪs these packages are being installed, the server will ask you to enter a password for your MySQL database installation. This is called a task package installation. These packages combined will enable your server to provide dynamic web services with MySQL connectivity.įirst, let’s install the packages. LAMP stands for Linux, Apache, MySQL, and PHP. We have now completed the Basic Server Preparation and can move on to installing our web server services.ĭuring this step, we are going to install the “LAMP” packages. This command tells the server to regenerate the default system SSL certificate and forces it to overwrite the original CRT and KEY files. make-ssl-cert generate-default-snakeoil -force-overwrite If you purchased an SSL certificate for your mail server, you can skip this step. We are now going to update the default SSL certificate on the server so that it matches our new hostname. nano /etc/hostsĮdit the first line and add your FQDN (fully qualified domain name) just after the 127.0.0.1 IP address. Now we are going to manually edit the /etc/hosts configuration file so that it matches the name we just entered. ![]() Make sure to replace example with your real hostname and domain name. We will also update the /etc/hostname file. Next, we are going to update the hostname and domain name of the server so that when you send email it will match the reverse pointer DNS record that we set up with your hosting provider. ssl-cert: package that enables the ability to create SSL certificates. ![]() nano: command line text editor with easy to use controls.wget: package for retrieving files using HTTP, HTTPS and FTP, the most widely-used Internet protocols.Now, let’s install the basic tools so that we can download files, and edit configuration files easily. The base installation of Ubuntu is comes with a limited set of packages, so the first thing we want to do is install the tools we’ll be using to complete all tasks.įirst, make sure that you are logged in as the root user account. – Access to the domain name for which you will set up mail (we will be using “ example.tld” in the examples in this article). – Fully updated Ubuntu 14.04 Server, if you do not have an Ubuntu server running on a server like ’s Linux cloud servers. Outline of Packages and Configuration Stepsħ – Creating a MySQL Database for the Mail Serverĩ – Adding User Accounts (mailboxes) to Postfix Adminġ0 – Create a system user to handle Virtual Mail Directoriesġ2 – Configuring Spam and Anti-Virus Filtersġ5 – Install RoundCube Webmail Prerequisites ![]() Here is an outline of the packages and goals for this how-to article. Building a Linux mail server from ground up can be a painful process unless you do it day in and day out, but we are going to show you how to do it as painlessly as we can.Ī mail server usually consists of a range of different packages that handle SMTP, POP3/IMAP, storage of the mail, and spam-related tasks, and they must all talk together. In this how-to article, we will walk you through building a complete mail server on Ubuntu 14.04 with Postfix. ![]()
0 Comments
Leave a Reply. |