SVN服务器部署 安装SVNyum install svn 创建仓库 分别创建目录和以目录创建对应仓库 mkdir -p ~/svn/test svnadmin create ~/svn/test ls -al ~/svn/test total 8 drwxr-xr-x. 8 root root 112 May 10 14:25 . drwxr-xr-x. 4 root root 36 May 10 11:2 2021-06-28 coding #SVN
安装windows和office HelloWindows.cn 精校 完整 极致 Windows系统下载仓储站 直接下载里面的 Windows 和 Offices(都是正版) Windows Offices 激活工具,使用激活工具把windows和Office都激活 2021-06-05 coding #破解
Rebar3各种自定义配置 编译 编译器选项可以使用erl_opts配置,具体选项跟compile:file一样 {erl_opts, []}. 可声明需要首先编译的模块 {erl_first_files, ["srcipt/mymodule.erl", "src/mymodule.erl"]}. 发布 依赖 {deps, [ 2021-05-26 coding #Erlang #Rebar3
Rebar3的基本使用流程 创建项目rebar3 new [lib|app|release|plugin] myapp 添加依赖 rebar.config添加{deps, [cowboy]} rebar.config可添加CDN的源让rebar3从该源上下载依赖{rebar_packages_cdn,"https://hexpm.upyun.com"}. 修改.app.src,applications 2021-05-26 coding #Erlang #Rebar3
Rebar3的目录组织方式 开发目录单一App的组织方式. ├── _build ## 运行rebar compile编译后生成的文件夹 │ └── default ## 配置的环境:debug或者release或者生产 │ └── lib ## 统一存放项目下所有的app │ └── test_app │ ├── ebin ## 该app所有的ebin位置 2021-05-26 coding #Erlang #Rebar3
Shell: .RPM文件安装方法 RPM 包的安装最简单的安装 RPM 的命令格式为: shell > rpm -ivh 包全名 此命令中各选项参数的含义为: -i:安装(install); -v:显示更详细的信息(verbose); -h:打印 #,显示安装进度(hash); 例如,使用此命令安装 apache 软件包,如下所示: [root@localhost ~]# rpm -ivh \ /mnt/cdr 2021-05-19 coding #Linux #Shell
Rebar3安装使用 首先:需要安装erlang: Erlang安装 进入rebar3的官网下载编译好的rebar3的可执行文件 https://rebar3.org/ 放到机器的/usr/local/lib(仅是个人习惯) 编辑/etc/profile最后一行添加export PATH=/usr/local/lib:PATH source /etc/profile rebar3 --version 2021-05-10 coding #Erlang #rebar3
iptables命令 关闭所有的INPUT FORWARD OUTPUT命令 iptables -P INPUT DROP iptables -P FORWARD DROP iptables -P OUTPUT DROP 查看状态列表命令 iptables -L -n # output like this Chain INPUT (policy ACCEPT) target prot opt sourc 2021-05-08 coding #Linux
Rebar3的作用 一些变化: 改变代码组织方式: 使用app的组织思路把原本以app思路编写的服务更加整洁规范。 把原本因“方便”而糅合的代码拆分为专属功能模块,例如:common_config 把无归属的代码,都挂载到某个app 编译命令有所修改: 以前是需要事先mmake.erl文件,然后这个文件读取emakefile的配置和调用compile:file来进行编译。其中还会包括多语言编译、多进程编译等优化。 2021-05-07 coding #Erlang #Rebar3