This website works better with JavaScript
Home
Explore
Register
Sign In
SongZihuan
/
GogsUpstream
mirror of
https://github.com/gogs/gogs.git
Watch
1
Star
0
Fork
0
Files
Issues
0
Wiki
Tree:
52fbb9788a
Branches
Tags
jc/db-migrate-orgs
jc/exp/pack-release-archives-in-docker
jc/exp/srcgraph-external-service
main
release/0.12
release/0.13
v0.13.2
v0.13.2-rc.1
v0.13.1
v0.13.1-rc.1
v0.13.0
v0.13.0-rc.1
v0.12.11
v0.12.11-rc.1
v0.12.10
v0.12.10-rc.1
v0.12.9
v0.12.9-rc.1
v0.12.8
v0.12.8-rc.1
v0.12.7
v0.12.7-rc.1
v0.12.6
v0.12.6-rc.1
v0.12.5
v0.12.5-rc.1
v0.12.4
v0.12.4-rc.1
v0.12.3
v0.12.2
v0.12.1
v0.12.0
v0.11.91
v0.11.86
v0.11.79
v0.11.66
v0.11.53
v0.11.43
v0.11.34
v0.11.33
v0.11.29
v0.11.19
v0.11.4
v0.11
v0.11rc
v0.10.18
v0.10.8
v0.10.1
v0.10
v0.10rc
v0.9.141
v0.9.128
v0.9.113
v0.9.97
v0.9.71
v0.9.60
v0.9.48
v0.9.46
v0.9.13
v0.9.0
v0.8.43
v0.8.25
v0.8.10
v0.8.0
v0.7.33
v0.7.22
v0.7.19
v0.7.6
v0.7.0
v0.6.15
v0.6.9
v0.6.5
v0.6.3
v0.6.1
v0.6.0
v0.5.13
v0.5.11
v0.5.9
v0.5.8
v0.5.5
v0.5.2
v0.5.0
v0.4.2
v0.4.1
v0.4.0
v0.3.1
v0.3.0
v0.2.0
GogsUpstream
/
doc
/
install_gogs_from_binary_on_ubuntu.md
install_gogs_from_binary_on_ubuntu.md
756 B
History
Raw
Binary install gogs on ubuntu 14.04 LTS
create user and install denpendency
sudo adduser git
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install git
sudo apt-get install mysql-server
create the database
$mysql -u root -p
mysql> SET GLOBAL storage_engine = 'InnoDB';
mysql> CREATE DATABASE gogs CHARACTER SET utf8 COLLATE utf8_bin;
mysql> GRANT ALL PRIVILEGES ON gogs.* TO 'root'@'localhost' IDENTIFIED BY 'password';
mysql> FLUSH PRIVILEGES;
mysql> QUIT
install the gogs
mkdir gogs
cd gogs
curl -L
http://gobuild.io/github.com/gogits/gogs/v0.3.0/linux/amd64
-o v0.3.0.zip
unzip v0.3.0.zip
./start.sh
The up-to-date binary could be found at
http://gobuild.io/download/github.com/gogits/gogs