-
-
Save DDaems/9ee048d53ec195d09fe9 to your computer and use it in GitHub Desktop.
Revisions
-
jniltinho revised this gist
Aug 7, 2015 . 1 changed file with 21 additions and 9 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,19 @@ #!/bin/bash ## Install Gogs 0.6.3 on Ubuntu 14.04 LTS 64Bits ## Author: Nilton OS -- www.linuxpro.com.br ## Version: 0.2 echo 'install_gogs_ubuntu.sh' echo 'Support Ubuntu/Debian' echo 'Installs Gogs 0.6.3' echo 'Requires Ubuntu 14.04+, Debian 7+' # Check if user has root privileges if [[ $EUID -ne 0 ]]; then echo "You must run the script as root or using sudo" exit 1 fi apt-get update apt-get install -y unzip @@ -10,9 +22,9 @@ adduser --disabled-login --gecos 'Gogs' git su - git cd wget http://gogs.dn.qbox.me/gogs_v0.6.3_linux_amd64.zip unzip gogs_v0.6.3_linux_amd64.zip rm -f gogs_v0.6.3_linux_amd64.zip cd gogs mysql -p < etc/mysql.sql @@ -22,15 +34,15 @@ chmod +x /etc/init.d/gogs /etc/init.d/gogs start ## Gogs enable on Boot update-rc.d gogs defaults ## Gogs Server App run on port 3000 ## Access http://ip_your_server:3000 to continue the installation ## Links ## http://gogs.io/docs/installation/install_from_source.html ## http://gogs.io/ ## https://github.com/gogits/gogs/ ## https://github.com/gogits/gogs/blob/master/conf/app.ini -
jniltinho revised this gist
Jul 15, 2015 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -32,4 +32,5 @@ update-rc.d gogs defaults ## Links ## http://gogs.io/docs/installation/install_from_source.html ## http://gogs.io/ ## https://github.com/gogits/gogs/ ## https://github.com/gogits/gogs/blob/master/conf/app.ini -
jniltinho revised this gist
Jul 15, 2015 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -30,4 +30,6 @@ update-rc.d gogs defaults ## Links ## http://gogs.io/docs/installation/install_from_source.html ## http://gogs.io/ ## https://github.com/gogits/gogs/ -
jniltinho revised this gist
Jul 15, 2015 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -22,6 +22,9 @@ chmod +x /etc/init.d/gogs /etc/init.d/gogs start ## Colocando a aplicacao para Subir no Boot update-rc.d gogs defaults ## Pronto o Servidor do Gogs ja esta rodando na porta 3000 ## Acesse http://ip_do_servidor:3000 para continuar a instalacao -
jniltinho revised this gist
Jul 15, 2015 . 1 changed file with 10 additions and 5 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -8,17 +8,22 @@ apt-get install -y unzip apt-get install -y wget git-core postfix mysql-client mysql-server adduser --disabled-login --gecos 'Gogs' git su - git cd wget http://gogs.dn.qbox.me/gogs_v0.6.1_linux_amd64.zip unzip gogs_v0.6.1_linux_amd64.zip rm -f gogs_v0.6.1_linux_amd64.zip cd gogs mysql -p < etc/mysql.sql exit cp /home/git/gogs/scripts/init/debian/gogs /etc/init.d/ chmod +x /etc/init.d/gogs /etc/init.d/gogs start ## Pronto o Servidor do Gogs ja esta rodando na porta 3000 ## Acesse http://ip_do_servidor:3000 para continuar a instalacao ## Links -
jniltinho revised this gist
Jul 15, 2015 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,11 +1,11 @@ #!/bin/bash ## Install Gogs 0.6.1 on Ubuntu 14.04 LTS 64Bits ### Execute os passos abaixo como root (sudo su) apt-get update apt-get install -y unzip apt-get install -y wget git-core postfix mysql-client mysql-server adduser --disabled-login --gecos 'Gogs' git sudo su - git -
jniltinho revised this gist
Jul 15, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -9,7 +9,7 @@ apt-get install -y wget git-core adduser --disabled-login --gecos 'Gogs' git sudo su - git cd mkdir local cd local wget http://gogs.dn.qbox.me/gogs_v0.6.1_linux_amd64.zip -
jniltinho revised this gist
Jul 15, 2015 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -15,6 +15,8 @@ cd local wget http://gogs.dn.qbox.me/gogs_v0.6.1_linux_amd64.zip unzip gogs_v0.6.1_linux_amd64.zip ./gogs web -
jniltinho revised this gist
Jul 15, 2015 . 1 changed file with 16 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -5,4 +5,19 @@ apt-get update apt-get install -y unzip apt-get install -y wget git-core adduser --disabled-login --gecos 'Gogs' git sudo su - git cd ~ mkdir local cd local wget http://gogs.dn.qbox.me/gogs_v0.6.1_linux_amd64.zip unzip gogs_v0.6.1_linux_amd64.zip ## Links #http://gogs.io/docs/installation/install_from_source.html -
jniltinho revised this gist
Jul 15, 2015 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -4,4 +4,5 @@ ### Execute os passos abaixo como root (sudo su) apt-get update apt-get install -y unzip apt-get install -y wget git-core -
jniltinho created this gist
Jul 15, 2015 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ #!/bin/bash ## Install Gogs on Ubuntu 14.04 LTS 64Bits ### Execute os passos abaixo como root (sudo su) apt-get update apt-get install unzip