Skip to content

Instantly share code, notes, and snippets.

@merolhack
Last active October 2, 2015 17:30
Show Gist options
  • Save merolhack/1255492213841a99db49 to your computer and use it in GitHub Desktop.
Save merolhack/1255492213841a99db49 to your computer and use it in GitHub Desktop.
REHL(CentOs & Oracle Linux): Instalar GIT y GitList
# Instalar con YUM
yum install git -y
# Verificar la instalación
git --version
# Configurar usuario global
git config --global user.name "Lenin Meza"
git config --global user.email "[email protected]"
# Verificar la configuración
git config --list
# Descargar archivo
wget --no-check-certificate https://s3.amazonaws.com/gitlist/gitlist-0.5.0.tar.gz
# Descomprimir
tar -zxvf gitlist-0.5.0.tar.gz
# Crear directorio cache y establecer owner y permisos
mkdir cache
chown apache:apache cache
chmod 775 cache/
# Editar .htaccess y establecer la base para el mod_rewrite
nano .htaccess
- #RewriteBase /path/to/gitlist/
+ RewriteBase /git
# Copiar y editar archivo de configuración
cp config.ini-example config.ini
nano config.ini
- repositories[] = '/home/git/repositories/' ; Path to your repositories
+ repositories[] = '/var/www/html/' ; Path to your repositories
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment