<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
>
<channel>
<title><![CDATA[EMLOG]]></title> 
<atom:link href="http://www.gzquan.cn/rss.php" rel="self" type="application/rss+xml" />
<description><![CDATA[使用emlog搭建的站点]]></description>
<link>http://www.gzquan.cn/</link>
<language>zh-cn</language>
<generator>www.emlog.net</generator>
<item>
    <title>gogs快速搭建个人代码仓库</title>
    <link>http://www.gzquan.cn/?post=2</link>
    <description><![CDATA[<p>一.环境<br />
在阿里最低配置的Ubuntu系统中搭建，因为公司用的gogs搭建的git仓库，还很不错，而且消耗内存比较小。</p>
<p>阿里云ECS服务器 Ubuntu 16.04.2（1核cpu 、1G内存 、 1M带宽 、 40G系统盘）</p>
<p>二、安装Gogs所需环境<br />
1.安装nginx</p>
<p>sudo apt-get install nginx<br />
1<br />
如果报异常：</p>
<p>root@iZuf65yda1tq4hu68dttphZ:/usr/local# sudo apt-get install nginx<br />
sudo: unable to resolve host iZuf65yda1tq4hu68dttphZ<br />
Reading package lists... Done<br />
Building dependency tree<br />
Reading state information... Done<br />
E: Unable to locate package nginx</p>
<p>//则需要先更新sudo apt-get update</p>
<h1>sudo apt-get update</h1>
<p>1<br />
2<br />
3<br />
4<br />
5<br />
6<br />
7<br />
8<br />
9<br />
10<br />
11<br />
2.安装git</p>
<p>sudo apt-get install git<br />
1<br />
3.安装MySQL</p>
<p>sudo apt-get install mysql-server<br />
1<br />
4.进入数据库</p>
<p>mysql -u root<br />
1<br />
文章知识点与官方知识档案匹配，可进一步学习相关知识<br />
Git技能树首页概览6957 人正在系统学习中</p>]]></description>
    <pubDate>Sun, 03 Mar 2024 14:32:00 +0800</pubDate>
    <dc:creator>emer</dc:creator>
    <guid>http://www.gzquan.cn/?post=2</guid>
</item></channel>
</rss>