logs install gitlist in ubuntu server

gitlist source code https://github.com/klaussilveira/gitlist

download stable version at gitlist.org

# find where git
where git
#returnĀ  /usr/bin/git

# create repo in user git
su git
mkdir -p ~/repo/cec-spt.git && cd ~/repo/cec-spt.git
git init --bare

# first commit to empty repository
cd /var/www/html/source-code-spt
git init
git add .
git commit -m "first init"
git remote add origin ssh://git@localhost:/home/git/repo/cec-spt.git
git push origin master

# to html folder
cd /var/www/html
wget https://s3.amazonaws.com/gitlist/gitlist-master.tar.gz -O gitlist.tar.gz
tar -xvzf gitlist.tar.gz
cd gitlist
mkdir cache
chmod 777 cache
cp config.ini-example config.ini
nano config.ini

# edit this value
client = '/usr/bin/git'
repositories[] = '/home/git/repo/'

# remove function proc_open & parse_ini_file from disable_functions
sudo nano /etc/php5/apache2/conf.d/disable_functions.ini
# enable proc_open & parse_ini_file
disable_functions =passthru,shell_exec,system,popen,curl_exec,curl_multi_exec,show_source

# restart apache
sudo service apache2 restart

# test in browser

Published by


just to remember what i had known :)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s