Install the ApacheSSL command in UbuntuFeisty (compile apache2)

Source: Internet
Author: User
The apache2 installation package in Ubuntufeisty has a BUG. The apache2-ssl-certificate command is missing after installation, so if we want to enable the ssl Service of apache, it will not generate the site certificate, this BUG may be fixed in subsequent upgrades, however, no decision has been made to fix the BUG. However, someone has already done this. We can compile The apache2 source code to install it. The installation method is as follows: Download and unzip the fix package: w

Ubuntu feisty in The apache2 installation package has a BUG, the lack of apache2-ssl-certificate command after installation, so if we want to enable the apache ssl Service, can not generate site certificate, this BUG may be fixed in subsequent upgrades, however, no decision has been made to fix the BUG.

However, someone has already done this. We can compile The apache2 source code to install it. The installation method is as follows:

First download and unzip the repair package:

Wget http://librarian.launchpad.net/6917265/files.tar
Tar xvf files.tar then install The Apache2 deb source code and related compilation dependency packages, and then compile and install apache2:

Sudo apt-get build-dep apache2
Sudo apt-get source-d apache2
Dpkg-source-x apache2_2.2.3-3.2build1.dsc
Cd apache2-2.2.3
Fakeroot debian/rules binary (if fakeroot is not installed, install it first)
Sudo dpkg-I ../*. deb (you can also choose to install the Apache2 deb package you need). If you do not want to compile your own package, you can download the compiled Apache2 Deb package here.

The installed apache2 includes the complete tool. We will configure the ssl support for Apache2:

Mr. Cheng site certificate:

Sudo apache2-ssl-certificate-days 365 then enable the ssl module for Apache2:

Sudo a2enmod ssl adds an ssl port 443 listener:

Echo "Listen 443" | sudo tee-a/etc/apache2/ports. conf

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.