智慧消防项目部署运维手册.docx
《智慧消防项目部署运维手册.docx》由会员分享,可在线阅读,更多相关《智慧消防项目部署运维手册.docx(19页珍藏版)》请在优知文库上搜索。
1、智慧消防项目部署运维手册XX科技股份有限公司编制目录一、文章编写目的5二、前置准备52.1 配置网络ip52.2 编写相关操作脚本91. 批量执行命令脚本92. 批量重命名脚本113. 批量拷贝脚本134. cm_migrate,sh155. format2.sh166. mountDisk.sh167. network,sh178. node,1.ist189. node,txt182. 3hostname及hosts配置181.配置每台节点的hostname182.配置节点ip、hostname映射192.4 禁用SE1.inux192.5 关闭防火墙212.6 设置Swappiness2
2、12.7 关闭透明大页面222.8 配置操作系统本地yum源232.9 安装http服务25这里注意,因为律态ip地址设置为192.168.139.101,因此默认网关和DNS地址前面部分,即192.168.139必须相同,不然会出现无法Ping通的情况SVICE=ethOHWADDr=OO:0C:29:14:8B:FATYPE=EthernetUID=63af865f-878d-4d93-8284-85d60af589bbIDNBOOT=yes1NM_CONTRO1.1.ED=yesbPRQTQ=staticI1.PAK=1.Z.1.b.1.IUU5ATEWAY=192,168.1.2)NS
3、1=114.114.114.114)NS2=8.8.8.8重启网络服务使ip生效servicenetworkrestart如果报错,reboot重启虚拟机三台节点配置的ip分别为:192.168.1.131,192.168.1.132.192.168.1.133注意:每台节点克隆后需要删除每台节点e1.cudevru1.es.d70-PCrSiStCnt-net.ru1.es文件,清除mac地址。重启每台节点即可。节点克隆后还可以使用以下方式修改mac地址Inorderto1.ogintoMariaDBtosecureit,we1.1.needthecurrentpasswordforther
4、ootuser.Ifyou,vejustinsta1.1.edMariaDB,andyouhaventsettherootpasswordyet,thepasswordwi1.1.beb1.ank,soyoushou1.djustpressenterhere.Entercurrentpasswordforroot(enterfornone):力回车OK,successfu1.Iyusedpassword,movingon.Settingtherootpasswordensuresthatnobodycan1.ogintotheMariaDBrootuserwithouttheproperaut
5、horisation.Setrootpassword?YnYNewpassword:Re-enternewpassword:Passwordupdatedsuccessfu1.1.y!Re1.oadingprivi1.egetab1.es.Success!nyonecanaccess.Thisisa1.sointendedon1.yfortesting,andshou1.dberemovedbeforemovingintoaproductionenvironment.Removetestdatabaseandaccesstoit?YnYDroppingtestdatabase.Success!
6、-Removingprivi1.egesontestdatabase.Success!Re1.oadingtheprivi1.egetab1.eswi1.1.ensurethata1.1.changesmadesofarwi1.1.takeeffectimmediate1.y.Re1.oadpriviIcgctab1.esnow?YnYSuccess!C1.eaningup.A1.1.done!Ifyouvecomp1.eteda1.1.oftheabovesteps,yourMariaDBinsta1.1.ationshou1.dnowbesecure.CREATEUSERcm,%,IDEN
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 智慧 消防 项目 部署 手册
