Ubuntu 14.04 安装Go Git Server
来源:互联网 发布:json在线格式化 php 编辑:程序博客网 时间:2024/06/14 23:28
Ubuntu 14.04 安装Go Git Server
项目源码地址:
https://github.com/gogits/gogs
安装参考文档:
https://gogs.io/docs/installation
https://gogs.io/docs/installation/install_from_binary.html
1. 安装mysql和git
sudo apt-get install git mysql-server mysql-client libmysqlclient-dev
过程中输入mysql账户root的密码,要记下
sudo netstat -tap | grep mysql
通过上述命令检查之后,如果看到有mysql 的socket处于 listen 状态则表示安装成功。
2. 创建Gogit需要的数据库
mysql -u root -p
然后执行
https://github.com/gogits/gogs/blob/master/scripts/mysql.sql
中的sql语句
3. 下载最新的release版本
https://github.com/gogits/gogs/releases
解压后,cd 到解压目录,然后执行./gogs web
4. 首次需要配置数据库
打开浏览器,输入 http://localhost:3000/
图中红色标注的是之前安装数据库创建的密码
点下面安装后,跳转到登录
以上配置信息保存在以下文件中
./gogs/custom/conf/app.ini
0 0
- Ubuntu 14.04 安装Go Git Server
- ubuntu安装git server
- ubuntu安装git server经验总结
- Ubuntu下安装git server
- ubuntu 14.04 server 编译安装最新版git V2.11-rc2
- Ubuntu 11.10 server 安装Git 服务器
- Ubuntu 下一步步安装 Git Server
- Ubuntu 11.10 server 安装Git 服务器
- Ubuntu 11.10 server 安装Git 服务器
- Ubuntu 11.10 server 安装Git 服务器
- Ubuntu 14.04安装Go语言开发环境
- Ubuntu Server 14.04安装
- ubuntu 安装go语言包
- ubuntu安装go
- Ubuntu安装Go语言
- Ubuntu,Mac安装go
- ubuntu go安装
- ubuntu 安装go
- ScroView布局不能撑满全屏
- IOS入职一个月
- codeforces 218D Choosing Capital for Treeland 树形DP
- JAVA实践归并排序
- iOS中block实现的底层探究2
- Ubuntu 14.04 安装Go Git Server
- Android Camera的使用
- jieba分词并写入到TXT文本中
- 经济学原理(第1部分)第二章—11
- iOS--触摸事件的传递
- iOS - 如何去除tabbar顶部线条及设置背景图片
- thinkphp控制器实现隐藏文件路径下载
- h5小游戏一个也不能死的实现方式之js实现游戏一个也不能死
- 【项目架构】Android MVP 和MVVM框架模式 学习实例Demo之mvp篇