Install nginx using yum on CentOS or SL Linux Rumi, October 25, 2013 Step #1: Install nginx repo Type the following wget command to install nginx yum configuration file: # cd /tmp CentOS Linux v6.x user type the following command: # wget http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm # rpm -ivh nginx-release-centos-6-0.el6.ngx.noarch.rpm RHEL v6.x user type the following command: # wget http://nginx.org/packages/rhel/6/noarch/RPMS/nginx-release-rhel-6-0.el6.ngx.noarch.rpm # rpm -ivh nginx-release-rhel-6-0.el6.ngx.noarch.rpm Step #2: Install nginx web-server Type the following yum command to install nginx web-server: # yum install nginx Sample outputs: Loaded plugins: product-id, rhnplugin, security, subscription-manager Updating certificate-based repositories. Unable to read consumer identity nginx | 1.3 kB 00:00 nginx/primary | 4.8 kB 00:00 nginx 33/33 Setting up Install Process Resolving Dependencies –> Running transaction check —> Package nginx.x86_64 0:1.2.6-1.el6.ngx will be installed –> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: nginx x86_64 1.2.6-1.el6.ngx nginx 361 k Transaction Summary ================================================================================ Install 1 Package(s) Total download size: 361 k Installed size: 835 k Is this ok [y/N]: y Downloading Packages: nginx-1.2.6-1.el6.ngx.x86_64.rpm | 361 kB 00:00 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Warning: RPMDB altered outside of yum. Installing : nginx-1.2.6-1.el6.ngx.x86_64 1/1 ———————————————————————- Thanks for using NGINX! Check out our community web site: * http://nginx.org/en/support.html If you have questions about commercial support for NGINX please visit: * http://www.nginx.com/support.html ———————————————————————- Installed products updated. Verifying : nginx-1.2.6-1.el6.ngx.x86_64 1/1 Installed: nginx.x86_64 0:1.2.6-1.el6.ngx Complete! Step #3: Turn on nginx service Type the following command: # chkconfig nginx on Related Configurations (Linux) CentOSnginxSL
A Simple Step-By-Step Guide To Apache Tomcat SSL Configuration March 21, 2012March 21, 2012 Secure Socket Layer (SSL) is a protocol that provides security for communications between client and server by implementing encrypted data and certificate-based authentication. Technically, the term "SSL" now refers to the Transport Layer ouSecurity (TLS) protocol, which is based on the original SSL specification. SSL is one of the most… Read More
Troubleshooting ubuntu: dpkg: unrecoverable fatal error, aborting: files list file for package ‘linux-generic’ is missing final newline September 15, 2023 If you ever encounter with such similar of an error (in my case it occurred on my Ubuntu 20 distro), you may apply the following process to get a fix. The error: Reading package lists… Done Building dependency tree Reading state information… Done Calculating upgrade… Done The following packages will… Read More
PEN: HTTP Load Balancer August 15, 2015August 15, 2015 This is performed on a CentOS 6.x 64 bit machine Install pen which is lightweight simple Load Balancing software. It is TCP protocol based, so it’s possible to balance not only HTTP but SMTP, FTP, LDAP and so on. This example is based on the environment like follows. Configure Pen… Read More