Skip to content

Instantly share code, notes, and snippets.

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 "Lenin Meza"
git config --global ""
# Verificar la configuración
git config --list
# Descargar archivo
wget --no-check-certificate
# 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.