![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
5 Cups of Ubuntu
![]() Join Date: Jul 2005
Beans: 34
|
HOWTO - Apache2 + Subversion + SSL
I needed install Apache2 + Subversion and i have searching for info, etc. and now i'm decide to create this tutorial, i hope you like!
Here we go: INSTALL APACHE2 To install apache2 run that command: Code:
sudo apt-get install apache2 After you will install subversion: Code:
sudo apt-get install subversion To use svn with apache you need install libapache2-svn: Code:
sudo apt-get install libapache2-svn Code:
sudo /etc/init.d/apache2 restart Run: Code:
a2enmod ssl Code:
sudo gedit /etc/apache2/ports.conf Code:
apache2-ssl-certificate Code:
sudo cp /etc/apache2/sites-available/default /etc/apache2/sites-available/myown-ssl Code:
sudo gedit /etc/apache2/sites-available/myown-ssl Code:
NameVirtualHost * Code:
NameVirtualHost *:443 Code:
<VirtualHost *> Code:
<VirtualHost *:443> Code:
SSLEngine on SSLCertificateFile /etc/apache2/ssl/apache.pem SSLProtocol all SSLCipherSuite HIGH:MEDIUM Code:
a2ensite myown-ssl Code:
sudo /etc/init.d/apache2 restart Edit dav_svn configuration file and follow the instructions: Code:
sudo gedit /etc/apache2/mods-available/dav_svn.conf Code:
sudo /etc/init.d/apache2 restart Code:
sudo svnadmin create /srv/svn sudo chown -R www-data:www-data /srv/svn sudo chmod -R g+ws /srv/svn Code:
sudo htpasswd2 -c /etc/apache2/dav_svn.passwd svnuser Test SVN: Code:
svn import .bashrc https://localhost/svn/testfile -mlogentry For the SSL instructions i have follow this Tutorial. About how using SVN see the official SVN book here or visit the official website (Link). Any error, please report! (and not only in the istructions but also in the english...) |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|