升级系统,安装常用的rpm yum -y update yum -y install wget net-tools nfs-utils lrzsz gcc gcc-c++ make cmake\ libxml2-devel openssl-devel curl curl-devel unzip su ...
分类:
其他好文 时间:
2020-07-19 23:07:25
阅读次数:
97
工欲善其事,必先利其器 ubuntu下minishift 和oc (openshift command) 命令行补全 ubuntu默认使用bash,并且已经启用了命令补全功能 前提 minishift在ubuntu上能正常工作,oc命令加入path 1.使用root用户 sudo su cd ~ 2 ...
分类:
其他好文 时间:
2020-07-19 11:37:27
阅读次数:
91
1、编译 ./configure --prefix=/usr/local/nginx-1.8\ --with-http_stub_status_module\ (统计数据查看) --with-pcre=/opt/install/nginx/pcre-8.44\ (正则) --with-http_su ...
分类:
Web程序 时间:
2020-07-17 19:22:38
阅读次数:
72
1、编译 ./configure --prefix=/usr/local/nginx-1.8\ --with-http_stub_status_module\ (统计数据查看) --with-pcre=/opt/install/nginx/pcre-8.44\ (正则) --with-http_su ...
分类:
Web程序 时间:
2020-07-17 16:16:30
阅读次数:
71
./configure: line 16651: syntax error near unexpected token 0.20' ./configure: line 16651: PKG_PROG_PKG_CONFIG(0.20)' solution: pkg-config --version s ...
分类:
其他好文 时间:
2020-07-17 01:13:07
阅读次数:
88
1. 解析错--Javabean没有实现默认的无参数构造器 Exception in thread "main" com.alibaba.fastjson.JSONException: syntax error, expect {, actual string, pos 22, fieldName ...
分类:
Web程序 时间:
2020-07-14 18:10:14
阅读次数:
94
一、系统相关 cat /etc/redhat-release 查看系统版本uname -a 查看系统位数su - hadoop 切换系统账户source /etc/profile 重装配置文件 二、防火墙 firewall-cmd --add-port=3306/tcp 开放3306端口 https ...
分类:
系统相关 时间:
2020-07-14 18:00:46
阅读次数:
79
sudo 身份提权(更安全) su 命令在切换用户身份时,如果每个普通用户都能拿到root用户的密码,当其中某个用户不小心泄漏了root的密码,那系统会变得非常不安全。 为了改进这个问题,从而产生了sudo这个命令。 sudo 执行一个仅有root身份才能执行的命令是可以办到的,但是需要输入密码,这 ...
分类:
系统相关 时间:
2020-07-13 21:26:53
阅读次数:
69
Sublime插件安装和使用 插件安装的方式: 插件安装方式一:直接安装 下载插件安装包,然后把安装解压到packages目中,按成安装(菜单->首选项->浏览插件) 插件安装方法二:使用package control组件安装 Package control的介绍 Package contro是su ...
分类:
其他好文 时间:
2020-07-13 09:47:56
阅读次数:
61
#切换用户或以其他用户身份执行命令 su: 即 switch user,命令可以切换用户身份,并且以指定用户的身份执行命令 ##格式: su [options...] [-] [user [args...]] ##常见选项: -l --login su -l UserName 相当于 su - Us ...
分类:
系统相关 时间:
2020-07-12 22:24:42
阅读次数:
62