CentOS 7 安装 GitLab

https://about.gitlab.com/downloads/#centos7
国内镜像:
https://mirror.tuna.tsinghua.edu.cn/help/gitlab-ce/
vi /etc/yum.repos.d/gitlab-ce.repo
[gitlab-ce]
name=gitlab-ce
baseurl=http://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7
repo_gpgcheck=0
gpgcheck=0
enabled=1
gpgkey=https://packages.gitlab.com/gpg.key

sudo yum makecache
sudo yum install gitlab-ce

vi /etc/gitlab/gitlab.rb
external_url 'http://localhost' 修改为自己的IP地址或域名
如external_url 'http://testgitlab'

sudo gitlab-ctl reconfigure

在浏览器中访问http://testgitlab/,会自动跳转到root账户密码重置页面,输入新密码,登陆
更多...

CentOS 7 安装 GateOne

https://pip.pypa.io/en/latest/installing/
wget https://bootstrap.pypa.io/get-pip.py
python get-pip.py

pip install 'tornado2.4,<2.5'
or
pip install 'tornado==2.4.1'

pip install Pillow

wget https://github.com/downloads/liftoff/GateOne/gateone-1.1.tar.gz
tar -zxvf gateone-1.1.tar.gz
cd GateOne
python setup.py install

cd /opt/gateone
./gateone.py

如果你想让其后台运行
systemctl start gateone

开机自动启动服务
systemctl enable gateone

查看操作记录(需会话结束之后才能显示):
/opt/gateone/logviewer.py /opt/gateone/users/ANONYMOUS/logs/20161130103312565927.golog
直接访问:
出于安全性考虑,最好修改一下端口和URL后缀
vi /opt/gateone/server.conf
port = xxx
url_prefix = "/xxx/"
"log_file_max_size": 104857600 // Which is the result of: 100 * 1024 * 1024 = 100MB
"log_file_num_backups": 10 // The maximum number 
更多...

MinGW 编译 libCurl

Win32 - Generic curl-7.50.3.zip
https://curl.haxx.se/download.html

解压
编译libcurl
cd lib
mingw32-make -f Makefile.m32

编译curl
cd src
mingw32-make -f Makefile.m32

复制 include\curl 到项目目录
复制 lib 目录下 libcurl.a libcurldll.a libcurl.dll 到项目 lib 目录下

修改Clion输出目录 Setting - Build - CMake,Build output path: bin
拷贝 
更多...