部署 NFS 服务
服务端: 192.168.100.11
安装依赖
yum -y install epel-release
安装 NFS
yum -y install nfs-...
![git clone代码报文件名过长](https://devops.centoscn.vip/wp-content/themes/begin/prune.php?src=https://devops.centoscn.vip/wp-content/themes/begin/img/loading.png&w=280&h=210&a=&zc=1)
git clone代码报文件名过长
简述
由于工程路径过长导致克隆代码时会出现文件名过长的问题不能clone代码中断
打开git Bash窗口执行
git config --global core.longpaths tr...
Nginx禁止某个IP或者IP段访问的方法
使用的是nginx进行转发
刚部署上线一天就发现被好多的恶意软件扫描了
于是我就把所有的ip给封了,只留下我自己的IP段可以访问
nginx配置访问ip需要修改nginx.conf文件,只需...
![shell 在手分析服务器日志不愁](https://devops.centoscn.vip/wp-content/themes/begin/prune.php?src=https://devops.centoscn.vip/wp-content/themes/begin/img/loading.png&w=280&h=210&a=&zc=1)
shell 在手分析服务器日志不愁
1、查看有多少个IP访问:
awk '{print $1}' log_file|sort|uniq|wc -l
2、查看某一个页面被访问的次数:
grep "/index.php" log_fi...
![服务器禁ping](https://devops.centoscn.vip/wp-content/themes/begin/prune.php?src=https://devops.centoscn.vip/wp-content/themes/begin/img/loading.png&w=280&h=210&a=&zc=1)
服务器禁ping
ping是通的
[root@nginx-2 ~]# ping 192.168.1.227
PING 192.168.1.227 (192.168.1.227) 56(84) bytes of da...
linux压缩包加密
OpenSSL加密算法
OpenSSL是一个开源的用以实现SSL协议的产品,它主要包括了三个部分:密码算法库、应用程序、SSL协议库[vip]
Openssl支持的加密算法有:
...
![kafka集群](https://devops.centoscn.vip/wp-content/themes/begin/prune.php?src=https://devops.centoscn.vip/wp-content/themes/begin/img/loading.png&w=280&h=210&a=&zc=1)
kafka集群
系统环境
1、操作系统:64位CentOS Linux release 7.2.1511 (Core)
2、jdk版本:1.8.0_121
3、zookeeper版本:zookeeper...
![R730做Raid5](https://devops.centoscn.vip/wp-content/themes/begin/prune.php?src=https://devops.centoscn.vip/wp-content/themes/begin/img/loading.png&w=280&h=210&a=&zc=1)
R730做Raid5
操作
首先启动服务器,出现[Pressto Run Configuration Utility]提示时,按下ctrl+r
(只要一顿猛如虎的按就可以了)
查看
进去一看被做了两个rai...
![VMware vSphere Client客户端](https://devops.centoscn.vip/wp-content/themes/begin/prune.php?src=https://devops.centoscn.vip/wp-content/themes/begin/img/loading.png&w=280&h=210&a=&zc=1)
VMware vSphere Client客户端
软件包下载
关于客户端安装包你可以在浏览器输入服务器IP地址进行下载,或者找一个和服务端同版本的客户端下载即可。
浏览器下载
客户端安装
安装包很简单,直接下一步下一步即可。
...
![VMware vSphere Hypervisor服务端](https://devops.centoscn.vip/wp-content/themes/begin/prune.php?src=https://devops.centoscn.vip/wp-content/themes/begin/img/loading.png&w=280&h=210&a=&zc=1)
VMware vSphere Hypervisor服务端
vSphere Hypervisor
VMware vSphere Hypervisor 是一款免费的裸机 hypervisor,能够虚拟化服务器,以便将应用整合到更少的硬件上。
更多...
18