
主机与系统
文章平均质量分 69
钩子水手
用草稿箱记录我热爱并且还没完成的任务,这是一种鞭策,也是一种财富。
展开
-
Nginx证书(server.crt,server.key),Tomcat证书(server.jks)
[root@localhost cert]# openssl genrsa -des3 -out server.key 2048 //生成server.key[root@localhost cert]# openssl rsa -in server.key -out server.key //生成免密server.key,不好使。[root@localhost cert]# openssl req -new -x509 -key server.key -out ca.crt -days 36...原创 2021-11-05 13:31:00 · 2588 阅读 · 1 评论 -
安装nginx支持https,
[root@localhost cert]# yum install gcc-c++ pcre pcre-devel zlib zlib-devel openssl openssl-devel[root@localhost nginx-1.12.2]# ./configure --prefix=/etc/nginx/ --with-openssl=/usr/bin/openssl --prefix=/etc/nginx --with-http_stub_status_module --with-http原创 2021-11-05 11:26:10 · 437 阅读 · 0 评论 -
CentOS7.6 自建DNS
[root@localhost ~]# yum install -y bind*[root@localhost ~]# systemctl start named#dns开机启动[root@localhost ~]# systemctl enable namedCreated symlink from /etc/systemd/system/multi-user.target.wants/named.service to /usr/lib/systemd/system/named.service.原创 2021-11-04 19:04:19 · 326 阅读 · 0 评论 -
linux FTP 服务器及FTP客户端安装
vsftpd(服务端) 及 ftp(命令工具) 安装[root@ webtools]# rpm -Uvh vsftpd-2.2.2-11.el6_4.1.x86_64.rpmwarning: vsftpd-2.2.2-11.el6_4.1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEYPreparing.原创 2016-03-03 13:02:07 · 3033 阅读 · 0 评论 -
Linux NFS 服务器和客户端
注意:本文直接展示操作命令以及在运用中出现的问题,有关NFS基本概念请找度娘,建议先理解一下什么是NFS。目的:有Server、Client两台主机,在Server及Client中执行如下命令:创建用户及用户组,必须指定uid 及 gid 并且要保证每个主机中的uid和gid相同,无论是Server主机还是Client主机。[root@localhost home]# groupa原创 2016-03-03 12:34:49 · 870 阅读 · 0 评论 -
ubuntu-15.10-desktop-amd64 体验
切换roothello@ubuntu:~$ sudo su[sudo] password for hello:root@ubuntu:/home/hello# passwdEnter new UNIX password:Retype new UNIX password:root 用户的密码已经修改,可以继续su - root 操作了。原创 2016-03-07 09:23:00 · 1581 阅读 · 0 评论 -
Nginx负载均衡配置与spring+redissession共享
ngnix配置(安装启动等百度搜索,很多很多。)#user nobody;worker_processes 1;#error_log logs/error.log;#error_log logs/error.log notice;#error_log logs/error.log info;#pid logs/nginx.pid;events {原创 2017-08-15 14:41:04 · 512 阅读 · 0 评论 -
Linux CPU 长期90%以上问题排查
[root@ecs-37e8 ~]# toptop - 13:44:56 up 17:02, 2 users, load average: 17.02, 17.02, 17.05Tasks: 339 total, 1 running, 338 sleeping, 0 stopped, 0 zombieCpu(s): 93.7%us, 0.0%sy, 0.0%ni, 6原创 2017-10-02 13:42:20 · 3575 阅读 · 0 评论