Does anybody know how to setup git with apache on a solaris 11 box? I know how to do most things on ubuntu and RHEL/Centos but not solaris. I imagine its fairly similar but having a starting point will be good.
Any help is appreciated.
Does anybody know how to setup git with apache on a solaris 11 box? I know how to do most things on ubuntu and RHEL/Centos but not solaris. I imagine its fairly similar but having a starting point will be good.
Any help is appreciated.
When you mention the two together I suppose you mean exposing your Git repo via http(s) protocol ?
It is very simple. You just use the normal
pkg
command to install the two from Oracle's repo.Git
Apache httpd
The web server will have its conf files in
/etc/apache2/2.2/
and logs in/var/apache2/2.2/logs
.You'll need to have a very basis knowledge about SMF (equivalent on Linux - they really suck in comparision IMO - would be something like
systemd
). By basic knowledge I mean you at least need to know how to stop and start services using SMF. So you start the web server like thissvcadm enable apache22
and stop it like thissvcadm disable apache22
.Now you'll need Apache Web Server knowledge to configure your web server with Git. This will not be Solaris-specific so I won't go into details.
This was a very basic crash course.