分类: GNU/Linux

140 篇文章

CentOS 7 部署nodejs
[root@web ~]# cd /root/packages nodejs下载页面:http://nodejs.cn/download/,选择合适的linux版本编译包 [root@web ~]# wget -c https://npm.taobao.org/mirrors/node/v12.14.0/node-v12.14.0-linux-x6…
CentOS 7 部署生产环境 Jumpserver 1.4.8
环境准备 安装依赖包 $ yum -y install wget gcc epel-release git 安装 Redis, Jumpserver 使用 Redis 做 cache 和 celery broke $ yum -y install redis $ systemctl enable redis $ systemctl start re…
CentOS 7 部署Python3环境
安装依赖 yum -y groupinstall "Development tools" yum -y install zlib-devel openssl-devel # 比较重要的包(不装的话,python3.7+ 会报错) yum install libffi-devel -y 下载 wget https://www.python.org/f…
PXE 批量部署 CentOS 7系统
安装dhcp服务 [root@pxe-server ~]# yum install dhcp -y 配置DHCP服务 [root@pxe-server ~]# cat >>/etc/dhcp/dhcpd.conf<<EOF subnet 192.168.0.0 netmask 255.255.255.0 { range 19…
CentOS 配置squid代理服务
需求 根据某运营商项目需求,服务器通常规划于DMZ及核心两块网络环境中,顾名思义,核心域是非常重要的,一般用于部署数据库及存储服务器不提供任何外网访问权限,而DMZ域中可以一对一或一对多的方式进行端口映射从而提供网络服务,那么位于核心域中的服务器基本环境的纯内网部署就成为了首要问题,通常情况下可以采用挂载本地镜像源的方式部署基本服务,而其他服务则需…
thumbnail
Zabbix 监控服务器登录事件
使用zabbix提供的'log[file,,,,,]'来监控Linux的/var/log/secure文件。先介绍下这个log监控项: 1)监控项类型是Zabbix agent (active),返回数据类型是Log。 2)Zabbix agent要对监控的日志文件有可读权限,否则会返回unsupported。 3)参数介绍: file - 日志文…
CentOS 7 部署Jenkins
安装yum源 [root@jenkins-server ~]# wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo [root@jenkins-server ~]# wget -O /etc/yum.repos.d/epel.r…
CentOS 7 部署Samba共享服务
安装 samba 及其依赖包 [root@samba-server ~]# yum install samba samba-client samba-common -y [root@samba-server ~]# mv /etc/samba/smb.conf /etc/samba/smb.conf.bak [root@samba-server ~…