$ sudo lshw | less
command to display motherboard's model:
$ sudo dmidecode | less
$ sudo lshw | less
$ sudo dmidecode | less
$ aptitude install git git-core gitk gitweb
$ cd /var/www/
$ mkdir gitweb
$ cd gitweb
$ cd /var/www/gitweb/
$ cp /usr/share/gitweb/* .
$ vi /etc/apache/conf.d/gitweb
Alias /gitweb /var/www/gitweb
Options Indexes FollowSymlinks ExecCGI
DirectoryIndex /cgi-bin/gitweb.cgi
AllowOverride None
$ vi /etc/gitweb.conf
$projectroot = "/var/www/repo/";
# directory to use for temp files
$git_temp = "/tmp";
# target of the home link on top of all pages
#$home_link = $my_uri || "/";
# html text to include at home page
$home_text = "indextext.html";
# file with project list; by default, simply scan the projectroot dir.
$projects_list = $projectroot;
# stylesheet to use
# I took off the prefix / of the following path to put these files inside gitweb directory directly
$stylesheet = "gitweb.css";
# logo to use
$logo = "git-logo.png";
# the 'favicon'
$favicon = "git-favicon.png";
$ sudo /etc/init.d/apache2 restart
:set paste
:set nopaste
sudo dpkg-reconfigure dash