20.27分发系统介绍shell项目-分发系统-expect20.28expect脚本远程登录1.安装expect[root@hao-01~]#yuminstall-yexpect自动远程登录2.创建配置1.expect脚本(远程登录)[root@hao-01~]#vim1.expect添加内容(自动远程登录hao2机器并执行命令)#!/usr/bin/expectsethost"192.168.211...
分类:
其他好文 时间:
2017-09-20 16:34:03
阅读次数:
182
部署环境:CentOSLinuxrelease7.264位10.10.0.103etcdmaster10.10.0.49etcdfollowermaster安装过程:#yumupdate#yuminstall-yetcd#[member]
ETCD_NAME=etcd1
ETCD_DATA_DIR="/var/lib/etcd/default.etcd"
#ETCD_WAL_DIR=""
#ETCD_SNAPSHOT_COUNT="10000"
ETCD_HEARTBEAT_INTERV..
分类:
Web程序 时间:
2017-09-20 16:26:49
阅读次数:
296
1.使用yum安装和卸载软件,有个前提是yum安装的软件包都是rpm格式的。 安装的命令是,yuminstall ~,yum会查询数据库,有无这一软件包,如果有,则检查其依赖冲突关系,如果没有依赖冲突,那么最好,下载安装;如果有,则会给出提示,询问是否要同时安装依赖,或删除冲突的包,你可以自己作出判 ...
分类:
其他好文 时间:
2017-09-17 11:50:04
阅读次数:
183
[root@bogon~]#yuminstall-ynfs-utilsrpcbind#安装NFS服务器[root@bogon~]#rpm-qanfs-utilsrpcbind#检查安装情况rpcbind-0.2.0-13.el6_9.1.x86_64nfs-utils-1.2.3-75.el6.x86_6[root@bogon~]#setenforce0#关闭selinux[root@bogon~]#/etc/init.d/iptablesstop#关闭防护墙[root@b..
分类:
其他好文 时间:
2017-09-14 23:27:49
阅读次数:
151
[root@bogon~]#rm/etc/localtime[root@bogon~]#ln-s/usr/share/zoneinfo/Asia/Shanghai/etc/localtime[root@bogon~]#dateThuSep1408:54:32CST2017[root@bogon~]#yuminstall-yntpdate[root@bogon~]#ntpdatetime.nist.gov14Sep15:59:43ntpdate[1563]:steptimeserver129.6.15.30of..
分类:
其他好文 时间:
2017-09-14 18:52:02
阅读次数:
244
yuminstall-ypython-devel
yuminstall-ylibeventlibevent-develm4autoconfautomakelibtoollibiculibicu-devel
yuminstall-ygccgcc-c++gcc-fortrangcc-infogcc-javagcc-localegcc-obj-c++gcc-objc#安装scribe时需要安装libtool2.4版本cd/usr/local/src/software
tarxzfboost_1_4..
分类:
其他好文 时间:
2017-09-13 17:15:10
阅读次数:
174
需求:有在不同平台互传文件的需求,会使用远程工具登录Linux服务器。前提:使用远程工具Xshell/SecureCRT登录远程Linux服务器(暂不支持putty)安装:yuminstall-ylrzsz使用:Windows内文件传至Linux:rz+Enterrz传递的文件默认保存在Linux系统的当前目录下,也可以更改存放目..
1.安装git客户端#yuminstall-ygitgit-gui2.生成密钥对,并拷贝至github网站#ssh-keygen-trsa-C"you_git_email"3.将生成的/root/.ssh/id_rsa.pub的内容黏贴至github的settings->SSHandGPGkeys->SSHkeys中4.设置ssh不输入口令5.测试是否可连接6.配置全局用户参数gitconfig-..
分类:
其他好文 时间:
2017-09-12 15:49:24
阅读次数:
119
一、系统环境172.16.3.226(master)172.16.3.228(slave)172.16.3.229(pgpool)#yuminstall-ygcc-c++zlib-develreadline-devel#useraddpostgres#passwdpostgresChangingpasswordforuserpostgres.Newpassword:BADPASSWORD:ThepasswordcontainstheusernameinsomeformRetypenewpasswo..
分类:
其他好文 时间:
2017-09-11 22:46:08
阅读次数:
175
使用LDAP验证服务1.安装相关的软件yuminstall-yauthconfig-gtkyuminstall-ykrb5-workstationyuminstall-ysssd2.使用图形化界面配置:#authconfig-gtk点击Download...输入:http://classroom.example.com/pub/example-ca.crt点击Apply验证方法:注:如果出现这个用户,则证明启..
分类:
其他好文 时间:
2017-09-09 23:17:49
阅读次数:
195