As a member of LUG@UCLA, you have been given an account on this server, and apache will serve your <code>~/public_html/</code> directory at [{{SERVER}}/~user/ <code>{{SERVER}}/'''~user'''/</code>] (replace "user" with your LUG username). Use your web space for whatever you want, but keep in mind that whatever you put up represents the LUG too. Just try not to get us in trouble!

+

>>> '''<nowiki>https://linux.ucla.edu/~user/</nowiki>''' <<<

+

+

As a member of LUG@UCLA, you have been given an account on this server, and apache will serve your <tt>~/public_html/</tt> directory at [https://linux.ucla.edu/~user/ https://linux.ucla.edu/~'''user'''/] (replace "user" with your LUG username). Use your web space for whatever you want, but keep in mind that whatever you put up represents the LUG too. Just try not to get us in trouble!

Here are some ideas for things to host:

Here are some ideas for things to host:

Line 6:

Line 8:

* your code (see a tutorial below)

* your code (see a tutorial below)

−

== [Tutorial] Hosting public Git repositories ==

+

== Tutorial: Hosting public Git repositories ==

−

Here at LUG@UCLA we like to share code. You can share yours by installing Gitweb in your public web space so anybody in the world can <code>git clone</code> your repositories!

+

Here at LUG@UCLA we like to share code. You can share yours by setting up bare git repositories and installing Gitweb into your public web space so anybody in the world can easily browse your code.

+

+

First set up a repos directory in your web root:

$ mkdir ~/public_html/repos

$ mkdir ~/public_html/repos

−

$ 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:

+

Later you can add bare repositories under this directory. For demonstration, we'll add a test repository:

Revision as of 20:18, 24 November 2013

>>> https://linux.ucla.edu/~user/ <<<

As a member of LUG@UCLA, you have been given an account on this server, and apache will serve your ~/public_html/ directory at https://linux.ucla.edu/~user/ (replace "user" with your LUG username). Use your web space for whatever you want, but keep in mind that whatever you put up represents the LUG too. Just try not to get us in trouble!

Here are some ideas for things to host:

your resume

your blog

your code (see a tutorial below)

Tutorial: Hosting public Git repositories

Here at LUG@UCLA we like to share code. You can share yours by setting up bare git repositories and installing Gitweb into your public web space so anybody in the world can easily browse your code.

First set up a repos directory in your web root:

$ mkdir ~/public_html/repos

Later you can add bare repositories under this directory. For demonstration, we'll add a test repository: