kubectl create secret tls all-deepfos-com \ --cert=./deepfos.com.pem \  
yum remve httpd* php*安装nginxyum install nginx安装php和php-fpmyum install php php-fpm安装数据库yum install mariadb mariadb-server 安装扩展yum install php-gd php-mysql php-mbstring php-xml php-mcrypt php-imap php-
安装完php的时候需要安装memcache的扩展wget https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gztar zxf libevent-2.0.22-stable.tar.gz cd libevent-2.0.22-stable
安装基础软件包yum groupinstall "Compatibility libraries" "Base" "Development tools" –y这一步有Cleanup操作,如果是线上已存在生产环境慎重操作安装yum install epel-release -yyum -y install cpan perl perl-FCGI perl-CGI perl-Digest-HMAC p
centos7安装nfsen方法 1、安装rrdtool及所需组件 yum install perl-rrdtool rrdtool rrdtool-devel rrdutils flex byacc 2、安装perl模块 yum install perl-Socket6 perl-MailTools perl-Mail-Sender 3、下载并安装Nfdump工具 mkdir -p /nfsen
51CTO博客开发
#!/usr/bin/env python # @Time : 2017/9/5 15:31 # @Author : qq:1960050004 import urllib import re def getAllUrl(): &
编译安装mysql前先安装一些基础库文件yum -y install gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel glib2 glib2-devel bzip
一、yum安装 yum -y install ipvsadm二、源码安装yum -y install kernel-devel gcc gcc-c++cd /usr/local/srcwget http://www.linuxvirtualserver.org/software/kernel-2.6/ipvsadm-1.24.tar.gzln -s /usr/src/kernels/2.
实验环境:vmware workstationos:Centos5.8 x86_64编辑两台虚拟机分别新增一块网卡作为心跳检测,新增一块4G的硬盘,大小保持一致两台机器的基本情况如下所示:centos1.mypharma.com 192.168.150.100,心跳线为:10.10.10.2(VM2网段)centos2.mypharma.com 192.168.150.101,心跳线为:10.10
操作系统:centos6.2 64位服务端 ip 192.168.4.11客户端 ip 192.168.4.130 服务端配置如下1、关闭防火墙,重启NFS服务[root@db02 ~]# service iptables stop [root@db02 ~]# service nfs restart2、编辑
一、rhel5.4 64位系统搭建yum源1、挂载光驱[root@db04 ~]# mount /dev/cdrom /mnt/ mount: block device /dev/cdrom is write-protected, mounting read-only [root@db04
安装oracle的时候报错libXp.so.6: cannot open shared object file: No such file or directoryPreparing to launch Oracle Universal Installer from /tmp/OraInstall2015-04-16_12-25
os:centos5.9 32位1、检查mysql的安装情况[root@localhost ~]# rpm -qa|grep mysql* [root@localhost ~]# yum list installed mysql* Loaded plugins: fastestmirror
使用x-manager连接linux,在linux服务器上做如下配置一、主动模式:1、id必须是5[root@localhost ~]# cat /etc/inittab|grep id id:5:initdefault: [root@localhost ~]#2、配置xdmcp[root@localhost ~]# chm
keepalived的安装,需要先安装openssl包yum -y install openssl openssl-develwget http://www.keepalived.org/software/keepalived-1.1.15.tar.gztar zxvf keepalived-1.1.15.tar.gzcd keepalived-1.1.15./configuremake &
mount /dev/cdrom /mntcd /etc/yum.repos.d/vi rhel-debuginfo.repo [rhel-debuginfo]name=Red Hat Enterprise Linux $releasever - $basearch - Debugbaseurl=file:///mnt/Serverenabled=1gpgcheck=1gpgkey=fi
一、生成公钥/密钥对①使用SecureCRT,工具->创建公钥②选择密钥类型RSA,输入通行短语,记住通行短语待会登录的时候需要输入③密钥长度选2048,并选择OpenSSH密钥格式点击完成后会生成两个文件,默认是Identity和Identity.pub,其中Identity为私钥,Identity.pub为公钥,记住它们的存放路径。二、服务器端的配置①跳板机是禁止root用户直接登录的,
OS:centos5.9 32位数据库:oracle 10g 32位在依赖的软件包全部安装完成之后,执行完此脚本可以直接安装oracle#!/bin/bash echo ##### install rlwrap tools ##### wget http://utopia.knoware.nl/~hlub/uck/rlwrap
OS:rhel6.2 x86_64前段时间爆出幽灵漏洞,需要升级glibc[root@localhost 6.2]# ./testghost vulnerable [root@localhost 6.2]# yum -y update glibc Loaded plugins: aliases,&
实验环境:物理机:windows 2008宿主机OS:centos6.2 64位(虚拟机 VMware Workstation 10.0.4)KVM虚拟机OS:redhat5.4 32位一、物理机的BIOS中虚拟化设置成enable 宿主机的CPU需要支持虚拟化 设置完成之后进入系统检查CPU是否支持虚拟化more /proc/cpuinfo |grep&n
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号