sudo find /etc/ -type f -name "rc*" -exec ls -l {} \;find . -name "t*" -perm 777 -printfind . -mtime -180find /var/log/ -mtime -3 -ok rm {} \; vim 替换: ...
分类:
系统相关 时间:
2021-03-04 13:03:44
阅读次数:
0
虚拟用户虚拟用户认证所使用的账号和密码都不是服务器中真实存在的,其安全性比本地用户更好,即使被抓包获取到账号密码都无法直接登录到服务器。配置虚拟用户的流程如下:(1)建立虚拟用户数据库文件(2)创建根目录及虚拟用户映射的系统用户(3)建立支持虚拟用户的PAM认证文件(4)在vsftpd.conf中添 ...
分类:
其他好文 时间:
2021-03-03 11:52:48
阅读次数:
0
1. 安装nodejs 1. sudo yum -y install gcc gcc-c++ openssl-devel (安装相关软件) 2. 下载nodejs源码包并解压 wget https://nodejs.org/dist/v8.15.1/node-v8.15.1.tar.gz tar z ...
分类:
Web程序 时间:
2021-03-01 13:21:38
阅读次数:
0
apt install的过程中会出现一些错误,加入--only-upgrade 在安装就可以了 第1步:安装Apache httpd服务器 首先更新系统,然后运行以下命令安装apache2软件包: sudo apt update sudo apt -y upgrade sudo apt instal ...
分类:
其他好文 时间:
2021-03-01 12:57:53
阅读次数:
0
1:使用命令安装openssh-server sudo apt-get install openssh-server openssh-client 2:这是因为没有更新apt-get,更新命令 sudo apt-get update 3:更新完之后执行 sudo apt-get install op ...
分类:
系统相关 时间:
2021-03-01 12:57:39
阅读次数:
0
linux crontab报以下错误解决 [root@china ~]# crontab -l 拒绝权限You (root) are not allowed to access to (crontab) because of pam configuration. 解决: 1.查看定时任务的日志/va ...
分类:
数据库 时间:
2021-02-27 13:40:22
阅读次数:
0
protoc 编译工具 windows 平台下载对应平台的 protobuf,并配置环境变量 protobuf linux 环境先安装依赖 sudo apt-get install autoconf automake libtool curl make g++ unzip git clone htt ...
分类:
其他好文 时间:
2021-02-27 13:31:02
阅读次数:
0
刚换DEEPIN系统, 有个路由器要做调整,的确是没windows友好,查了网上资料,归总一下。 zhaodong@zhaodong-PC:sudo find / -name serial 进入 zhaodong@zhaodong-PC:~/Desktop$ cd /usr/lib/modules/ ...
分类:
其他好文 时间:
2021-02-27 13:15:24
阅读次数:
0
step1: 打开网站:https://www.ipaddress.com/,分别搜索github.com,github.global.ssl.fastly.net,codeload.github.com,获取对应的ip地址 step2: sudo vi /etc/hosts i进入编辑模式,esc ...
分类:
系统相关 时间:
2021-02-27 13:05:50
阅读次数:
0
首先使用uname -r 查看服务器内核版本,最低版本为3.8.13或3.10 安装docker,sudo wget -qO- https://get.docker.com | sh 查看docker版本,docker version 用service docker start命令启动docker ...
分类:
系统相关 时间:
2021-02-26 13:32:04
阅读次数:
0