浏览代码

新增修改

master
SisMaker 4 年前
父节点
当前提交
d46c956ee2
共有 3 个文件被更改,包括 23 次插入2 次删除
  1. +9
    -0
      centos/centos同步时间.md
  2. +3
    -2
      erlang/编译安装与简单安装.md
  3. +11
    -0
      代码规范/提交规范.md

+ 9
- 0
centos/centos同步时间.md 查看文件

@ -0,0 +1,9 @@
# 安装ntpdate工具
yum -y install ntp ntpdate
# 设置系统时间与网络时间同步
ntpdate 0.asia.pool.ntp.org
这里主要就是通过时间服务器对系统时间进行同步,所以0.asia.pool.ntp.org并不是固定的,大家可以选择time.nist.gov、time.nuri.net、0.asia.pool.ntp.org、1.asia.pool.ntp.org、2.asia.pool.ntp.org、3.asia.pool.ntp.org中任意一个,只要保证可用就OK
# 将系统时间写入硬件时间
hwclock --systohc
这里是为了防止系统重启后时间被还原,因此需要写到硬件设备中去。

+ 3
- 2
erlang/编译安装与简单安装.md 查看文件

@ -26,7 +26,8 @@
enabled=1
3- 安装
# yum install erlang erlang-wx
# %%yum install erlang
# yum install erlang-wx
按照源的地址在网页上下载
http://packages.erlang-solutions.com/rpm/centos/7/x86_64/
@ -41,7 +42,7 @@
yum -y install ncurses-devel unixODBC-devel openssl-devel gcc gcc-c++ autoconf automake libxslt gtk3-devel.x86_64
运行configure配置
./configure --prefix=/usr/local/erlang --with-ssl -enable-threads -enable-smmp-support -enable-kernel-poll --enable-hipe --without-javac
./configure --prefix=/usr/local/erlang --with-ssl -enable-threads -enable-smmp-support -enable-kernel-poll --without-javac
fop is missing可以忽略

+ 11
- 0
代码规范/提交规范.md 查看文件

@ -0,0 +1,11 @@
# Git/SVN提交代码规范
feat - 新功能 feature
fix - 修复 bug
docs - 文档注释
style - 代码格式(不影响代码运行的变动)
refactor - 重构、优化(既不增加新功能,也不是修复bug)
perf - 性能优化
test - 增加测试
chore - 构建过程或辅助工具的变动
revert - 回退
build - 打包

正在加载...
取消
保存