脚本地址:https://github.com/shatianxiaozi/auto_install_k8s.git 1. 下载 git clone https://github.com/shatianxiaozi/auto_install_k8s.git 2. 解压 tar zxvf auto_i ...
分类:
Web程序 时间:
2019-11-29 11:22:41
阅读次数:
97
CMAKE option选项 cmake入门: http://linghutf.github.io/2016/06/16/cmake/ cmake option讲解: https://www.jianshu.com/p/035bc18f8f62 CMake option 使用场景 : 编译脚本传递参 ...
分类:
其他好文 时间:
2019-11-29 11:01:53
阅读次数:
40
ulimit 是一个计算机命令,用于shell启动进程所占用的资源,可用于修改系统资源限制 命令常用参数 1 -H 设置硬资源限制. 2 -S 设置软资源限制. 3 -a 显示当前所有的资源限制. 4 -c size:设置core文件的最大值.单位:blocks 5 -d size:设置数据段的最大 ...
分类:
系统相关 时间:
2019-11-29 10:56:14
阅读次数:
100
shell是用户使用 Linux 的桥梁 1.第一个shell语言 新增一个a.sh文档 内容: #!/bin/sh myUrl="hello" echo $myUrl 运行:chmod +x ./a.sh ./a.sh 2.shell的循环 #!/bin/sh for skill in Tom T ...
分类:
系统相关 时间:
2019-11-29 10:49:06
阅读次数:
130
打开git bash 1.设置git全局账号git config --global user.email "abc@qq.com"git config --global user.name "ice" 2.初始化本地仓库git init3.添加远程仓库git remote add origin ht ...
分类:
其他好文 时间:
2019-11-29 10:42:10
阅读次数:
68
1. https://www.scala-lang.org/download/ 安装路径,建议采用命令形式 2. 安装之前检查下支持安装的版本:brew search scala 3. 指定版本进行安装:brew install scala@2.10 4. 下载完成后需要将路径配置到~/.bash_ ...
分类:
其他好文 时间:
2019-11-29 10:36:26
阅读次数:
58
[toc] nginx的命令,配置! nginx工作原理 "Nginx工作原理(Master+Worker)" nginx常用命令 1. 测试配置文件 2. 启动: 指定配置文件 bash nginx p / c conf/nginx.conf bash nginx p / c conf/nginx ...
分类:
其他好文 时间:
2019-11-29 00:47:11
阅读次数:
93
1、增加hadoop账户su # 上述提到的以 root 用户登录useradd -m hadoop -s /bin/bash # 创建新用户hadooppasswd hadoop 输入 口令 hadoop为 hadoop 用户增加管理员权限 visudo找到以下文本处,增加 hadoop 权限## ...
分类:
其他好文 时间:
2019-11-29 00:39:07
阅读次数:
86
一、部署 Django 到远程 Linux 服务器 利用 xshell 通过 ssh 连接到 Linux服务器,常规的启动命令是 python3 manage.py runserver 0.0.0.0:80 但是,关闭 xshell 后,就访问不了 Django 了。 这时候需要使用 nohup 命 ...
分类:
移动开发 时间:
2019-11-28 21:24:14
阅读次数:
211
【Purpose】 Shell script monitor prog function 【Eevironment】 Ubuntu 16.04 bash env 【Procdeure】 Source code: #!/bin/bash while [ 1 ] do # get under /appS ...
分类:
系统相关 时间:
2019-11-28 19:20:14
阅读次数:
103