Last active
October 2, 2015 17:30
-
-
Save merolhack/1255492213841a99db49 to your computer and use it in GitHub Desktop.
REHL(CentOs & Oracle Linux): Instalar GIT y GitList
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Instalar con YUM | |
yum install git -y | |
# Verificar la instalación | |
git --version |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Configurar usuario global | |
git config --global user.name "Lenin Meza" | |
git config --global user.email "[email protected]" | |
# Verificar la configuración | |
git config --list |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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