安装环境编译安装环境 Linux(centos 7.6) Ansible(1.5.12)主机信息: 部署规划:172.24.77.241(sr1.dj.com):运行Ansilble172.24.77.242(sr2.dj.com):客户机YUM安装ansibleyum install epel-release -yyum install ansible -y编译安装:yum -y
SonarQube安装https://docs.sonarqube.org/6.7/RunningSonarQubeasaServiceonLinux.html主机配置:CPU2C内存>4G数据库安装安装依赖包yuminstallvimgccgcc-c++wgetautoconfnet-toolslrzsziotoplsofiotopbash-completioncurlpolicycore
安装环境8G内存+30G硬盘+4核CPUGitlab安装yuminstallvimgccgcc-c++wgetnet-toolslrzsziotoplsofiotopbash-completion-yyuminstallcurlpolicycoreutilsopenssh-serveropenssh-clientspostfix-ywget-O/etc/yum.repos.d/epel.repoh
###配置java环境并部署jenkinsyumlistjava-1.8*yuminstalljava-1.8.0-openjdktarxvfjdk-8u241-linux-x64.tar.gzln-sv/usr/local/src/jdk1.8.0_241//usr/local/jdk###java命令软连接ln-sv/usr/local/jdk/bin/java/usr/bin/###配置环境
邮箱首页|设置--账户发短信:配置邮件客户端到号码:1069070069Zabbix报警媒介添加管理--[报警媒介类型]--创建媒介类型名称:monitor-email类型:电子邮件SMTP服务器:smtp.qq.comSMTP服务器端口:465SMTPHELO:qq.comSMTP电邮:269851802@qq.com安全链接:SSL/TLSSSL验证对端:VSSL验证主机:V认证:用户名和密码
部署Memache-CentOS7yuminstallmemcachednmap-yvim/etc/sysconfig/memcachedUSER="memcached"MAXCONN="1024"CACHESIZE="64"OPTIONS=""systemctlrestartmemcachedsystemctlenablememcached编写监控脚本cd/usr/local/zabbix/et
部署Nginx-CentOS7yuminstall-yvimlrzsztreescreenpsmisclsoftcpdumpwgetntpdategccgcc-c++glibcglibc-develpcrepcre-developensslopenssl-develsystemd-develnet-toolsiotopbczipunzipzlib-develbash-completionnfs-u
部署tomcatyuminstalljdk-8u241-linux-x64.rpm#vim/etc/profile.d/java.shexportJAVA_HOME=/usr/java/latestexportPATH=$JAVA_HOME/bin:$PATH./etc/profile.d/java.sh#tarxfapache-tomcat-8.5.53.tar.gz-C/usr/local/c
安装环境Ubantu:18.04.4主机信息:CPU>=2C,开启支持虚拟化内存>=4GHD=80GB下载安装包wgethttps://cdn.zabbix.com/zabbix/sources/stable/4.0/zabbix-4.0.23.tar.gz安装依赖包apt-getupdateapt-getinstalllibmariadb-devlibmariadb-dev-comp
服务器信息类型服务器IP地址备注Ansible(2台)172.24.78.21/22K8S集群部署服务器,可以和在一起,需要配置在负载均衡上实现反向代理,dashboard的端口为8443K8SMaster(2台)172.24.78.21/22K8s控制端,通过一个VIP做主备高可用Harbor(2台)172.24.78.23/24高可用镜像服务器Etcd(最少3台)172.24.78.25/26
下载镜像并初始化系统dockerpullcentos:7.6.1810测试启动容器dockerrun-itcentos:7.6.1810/bin/bashexit创建目录环境,宿主机下cd/opt/mkdirdockerfile/{web/{nginx,tomcat,jdk,apache},system/{centos,ubuntu,redhat}}-pvcd/opt/dockerfile/web
下载镜像并初始化系统dockerpullcentos:7.2.1511测试启动容器dockerrun-itdocker.io/centos:7.2.1511/bin/bash创建目录环境,宿主机下mkdir/opt/dockerfile/{web/{nginx,tomcat,jdk,apache},system/{centos,ubuntu,redhat}}-pvcd/opt/dockerfile
安装环境:CPU:2C内存:8GIP:172.24.77.241(Server1)IP:172.24.77.243(Server2)服务器1安装dockeryuminstalldocker-ysystemctlstartdockersystemctlenabledocker服务器1安装dockeryuminstalldocker-ysystemctlstartdockersystemctlenab
安装环境Tomcat编译安装环境L:Linux(centos7.6)http://mirrors.cqu.edu.cn/CentOS/7.6.1810/isos/x86_64/N:Nginx(1.16.1)T:Tomcat(8.5.53)主机信息:部署规划:172.24.77.242(sr1.dj.com):运行Tomcat关闭防火墙及selinuxvim/etc/selinux/configSE
安装dockerhttps://jumpserver.readthedocs.io/zh/master/install/docker_install/yumlistdocker提示docker.x86_642:1.13.1-162.git64e9980.el7.centos更新yum源mkdir./bakcp-r/etc/yum.repos.d/*./bakrm-rf/etc/yum.repos.
安装环境Tomcat编译安装环境L:Linux(centos7.6)http://mirrors.cqu.edu.cn/CentOS/7.6.1810/isos/x86_64/T:Tomcat(8.5.53)主机信息:部署规划:172.24.77.242(sr1.dj.com):运行Tomcat安装JDKyuminstalljdk-8u241-linux-x64.rpm修改环境变量vim/etc/
安装环境Memcached编译安装环境L:Linux(centos7.2)主机信息:CPU>=2C,开启支持虚拟化内存>=3072MBHD=100GB部署规划:172.24.77.221linux1-host.jay.com):运行172.24.77.222linux2-host.jay.com):运行查看openstackyum版本yumlistcentos-release-open
安装环境:CPU:2C内存:4GHostname:kvm.comIP:172.24.77.241开始CPU虚拟化功能确认CPU指令集grep-E"vmx|svm"/proc/cpuinfo|wc-l[root@kvm~]#grep-E"vmx|svm"/proc/cpuinfo|wc-l2安装KVM工具包yuminstallqemu-kvmqemu-kvm-
安装环境Redis编译安装环境L:Linux(centos7.6)http://download.redis.io/releases/R:Redis(5.0.7)主机信息:部署规划:172.24.77.241(sr1.dj.com):运行Redis-Master&Slave172.24.77.242(sr2.dj.com):运行Redis--Master&Slave172.24.7
安装环境Memcached编译安装环境L:Linux(centos7.6)http://download.redis.io/releases/R:Memcached(1.5.12)http://www.memcached.org/files/memcached-1.5.12.tar.gz主机信息:部署规划:172.24.77.241(sr1.dj.com):运行Memcached172.24.77
安装环境:虚拟主机,CPU2C;内存8GB,硬盘200GB设置网络
环境准备安装环境:LVS版本:LVS-1.4.21keepalived版本:keepalivedv1.3.5LVS:172.24.77.241(master)LVS:172.24.77.242(backup)VIP地址:172.24.77.245LVS安装:master和backup服务器安装LVS先检查/usr/src/kernels目录下是否有文件,没有则需要安装kernelsll/usr/s
环境准备安装环境:Haproxy版本:Haproxy-1.4.21keepalived版本:keepalivedv1.2.1Haproxy:172.24.77.241(master)Haproxy:172.24.77.242(backup)VIP地址:172.24.77.245Haproxy安装:master和backup服务器安装Haproxy安装依赖包yuminstallgccgcc-c++g
实战环境LNMP项目实战:L:Linux(centos7.6)http://mirrors.cqu.edu.cn/CentOS/7.6.1810/isos/x86_64/N:Tengine(1.12.2)http://tengine.taobao.org/download/tengine-2.1.2.tar.gz主机信息:部署规划:172.24.77.242(sr2.dj.com):运行Tengi
实战环境LNMP项目实战:L:Linux(centos7.6)http://mirrors.cqu.edu.cn/CentOS/7.6.1810/isos/x86_64/N:Nginx(1.12.2)https://nginx.org/en/download.htmlM:MySQL(5.6.48)https://dev.mysql.com/downloads/mysql/5.6.html#down
1、LNMP1)aapache2)mmariadb,mysql3)pphp,perl,pythonLNMMP:memcached静态资源:静态内容;客户端从服务器获得的资源的表现形式与原文件相同;动态资源:通常是程序文件,需要在服务器执行之后,将执行的结果返回给客户端;CGI:CommonGatewayInterfacefastcti程序=指令+数据httpd+phpmodulescgifastc
Bind-DNS-转发服务器安装1安装bind应用:yuminstallbind-ybind-utils2查看安装文件内容:rpm-qlbind|less3修改配置文件:vi/etc/named.conf主配置文件:全局配置:option{}日志子系统配置:logging{}区域定义:本机能够为哪些zone进行解析,就要定义哪些zone:zone"ZONE_NAME"IN{}注
Bind-DNS安装(从服务器安装及配置)1安装bind应用:yuminstallbind-yyuminstallbind-utils2查看安装文件内容:rpm-qlbind|less3检查与能从主服务器进行正向区域传送dig-taxfrmagedu.com@10.206.35.2424修改配置文件:vi/etc/named.conf主配置文件:全局配置:option{}日志子系统配置:loggi
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号