Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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 "lmezaz@mnyl.com.mx"
# 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
You can’t perform that action at this time.