Web Hosting

From Wiki | LUG@UCLA
Revision as of 12:38, 3 November 2013 by (Talk)

Jump to: navigation, search

As a member of LUG@UCLA, you have been given a unix account on this server, and apache will serve your ~/public_html directory.

If your username is johndoe, your web space can be found at http://linux.ucla.edu/~johndoe

Hosting public Git repositories

$ cp -r /usr/share/gitweb ~/public_html/gitweb
$ cd ~/public_html/gitweb
$ cp /etc/gitweb.conf gitweb_config.perl

Now edit gitweb_config.perl and change the following configurations:

  • $projectroot = "/home/<user>/public_html/repos/"; (be sure to change <user> to your username)
  • add this to the bottom: @git_base_url_list = ("http://linux.ucla.edu/~<user>/repos");

Noteworthy files/profiles from former LUGers