Need For Speed The Run Highly Compressed 10Mb
Need For Speed The Run Highly Compressed 10Mb' title='Need For Speed The Run Highly Compressed 10Mb' />A comprehensive documentation for the Administrator of an Endian Firewall. Reliability, fault tolerance, and data correction. The reliability of systems starts with components, devices, and subsystems that are designed to be highly reliable. Need For Speed The Run Highly Compressed 10Mb' title='Need For Speed The Run Highly Compressed 10Mb' />Install latest apache on Cent. OS how to Hi there Today Id like to show you how I install and configure Apache httpd on Cent. OS. I like to have it installed in minimal and secure way. First part is about installation, second about configuration. Last part is about setting up Virtual Hosts. How to install Apache httpd on Cent. OS easy way. There are two ways to install Apache httpd on Cent. OS. First is with yum and it is the simplest version sudo yum install httpd y. Volia You have httpd installed. However, if you check the version httpd v. You will most probably get 2. If you check Apache website, you will note, that they have 2. So, if you want to have access to latest features such as HTTP2 support or latest bugfixes, you will have to try more difficult method which is installing Apache httpd from source. How to install Apache httpd from source on Cent. OS Installing and compiling software from the source code might sound scary. But trust me, its not. It takes more time to have Apache httpd up and running, than installing it with yum. However it comes with some benefits that I will mention during this tutorial. Remove old Apache httpd. Before you will even begin, make sure that you dont have Apache httpd installed. In general you dont want to have two version installed on the same machine, unless you are doing some AB testing or testing versions on different ports etc. Common Sense Book Art Williams Pdf To Jpg. But for this tutorial I want to start clean, so I remove installed Apache httpd sudo yum remove httpd y. Compile and install Apache httpd. Required tools for building. You need to install some tools that will help us compile Apache. Its basic stuff like compiler, required libraries etc sudo yum install autoconf libtool openssl devel pcre devel y. Download and unpack source code. Next thing that you need are packages with source files. For compiling Apache, you will need 3 different packages httpd itself, apr and apr util. Last two are Apache Runtime libraries. They are required for Apache httpd. When you install Apache httpd with yum they come as dependencies. There are two ways of getting them. Either you can clone them from git repository or you can download them as tar. I must say that as I love git, for downloading sources I prefer downloading compressed package. Why When you clone repository it usually downloads whole history, branches etc. Apache is for instance around 2. MB of files. Compressed package is about 1. MB. So it is much faster to download just required files instead of cloning whole repo. I like to download packages from Git. Hub releases. Here are the links to the packages Click on tar. Or simply copy commands below curl O L https github. O L https github. O L https github. Unpack downloaded sources tar zxvf 2. APR and APR Util. Apache requires APR library to be present in the system. You can manually compile and install APR and APR util first and then do the same with httpd. But I prefer to do it in one shot. First you need to copy the source codes to correct directory cp r apr 1. Its important to not to include version number in APR directories. If you just copy apr 1. Compilation. Now you are ready to compile Apache httpd. Its important that you should not use root user for compilation. It can lead to serious security issues. I described it more on my other tutorial about installing GIT. In short words, imagine that you downloaded package from wrong source with malicious code. If you would compile it as root user, anything can happen to your server. Including cutting of your root access. Im not saying that its not possible to compile packages as root, because it is. Its just not safe. If you want to create separate user with sudo powers, you can read this tutorial. So get inside httpd directory and compile your Apache httpd version cd httpd 2. First command. buildconf will build. Apache httpd. Here are the options that I use enable ssl will build Apache with SSL support, so you can enable HTTPS on your websites. So you can enable and disable modules without recompilation I will describe modules in configuration part with mpm will set multiprocessing modules for Apache. Im using event, but you can use worker or prefork instead. I think that it is mpm that will give you most performance. It will use APR library that you copied to srclib directory prefix is the installation path for Apache httpd compiled package. Whole process might take a while. It depends how fast your server is. Installation. After its compiled you can install it. For that you need sudo or root account sudo make install. Apache should be installed in the directory you specified with prefix option. Cleanup. Last thing you can do now is to remove downloaded files. You wont need them now. Its not mandatory, but its nice to keep server clean. Set system scripts for Apache httpd. Before I will show you how I configure my Apache httpd server, I want to show you two really helpful scripts. Add Apache httpd to PATHIf you try to type httpd v in your command line, it will result in command not found. Thats because httpd is not on your PATH. Id like to have all executables from Apache available from everywhere. In order to achieve that, create filesudo vi etcprofile. Save the file, log out and log in from your current session to reload your profile. After that you should be able to use httpd v command System. D entry. Second really useful script is System. D entry. It will allow you to start, restart and stop Apache httpd from systemctl. You need to create another file sudo vi etcsystemdsystemhttpd. Unit. DescriptionThe Apache HTTP Server. Afternetwork. target. Exec. Startusrlocalapache. Exec. Reloadusrlocalapache. Exec. Stopusrlocalapache. PIDFileusrlocalapache. Private. Tmptrue. Wanted. Bymulti user. Save the file and reload the systemctl daemonsudo systemctl daemon reload. Now you can try to start your Apache httpd server with following command sudo systemctl start httpd. It should start properly. If you will have any warnings, dont bother with them now. I will show you proper configuration in next step. Once its up and running you can try to type your server IP address in your browser like http 4. It works message If so, you have Apache httpd running fine How to configure Apache httpd properly. Although Apache httpd is working and you can use its default configuration its good to tune it up a bit. Its always nice to gain additional milliseconds and security. Apache user and group. Before I will show you how to change configuration I usually create additional user and group for httpd daemon. Its good practice from security side. How To Crackle Outside The U.S. Each service should operate as separate user. It limits possible damage during attacks, httpd exploitation etc. If you want to learn more about creating user and groups I recommend reading this tutorial. Here Ill just simply create group and user without shell. You can change the names as you wish. I like to use www group instead of httpd group for example. I usually add there other services as well, like nginx or php fpm. Configuration of httpd. Apache httpd configuration file. You should start by editing this file sudo vi usrlocalapache. There are couple of options that we should set. Just scroll the file and edit what you need.