#yum install gcc-gfortran
#yum install gcc gcc-c++
#yum install readline-devel
#yum install libXt-devel
# tar xvf R-3.2.2.tar.gz
#yum install gcc-gfortran
#yum install gcc gcc-c++
#yum install readline-devel
#yum install libXt-devel
# tar xvf R-3.2.2.tar.gz
by 刘迎光@萤火虫工作室
OpenBI交流群:495266201
MicroService 微服务交流群:217722918
mail: liuyg#liuyingguang.cn
博主首页(==防止爬虫==):http://blog.liuyingguang.cn
下载:
export SCALA_HOME=/usr/scala/scala-2.10.3export PATH=$PATH:$SCALA_HOME/bin
by 刘迎光@萤火虫工作室
OpenBI交流群:495266201
MicroService 微服务交流群:217722918
mail: liuyg#liuyingguang.cn
博主首页(==防止爬虫==):http://blog.liuyingguang.cn
<servers><server><id>releases</id><username>admin</username><password>admin123</password></server><server><id>snapshots</id><username>admin</username><password>admin123</password></server><server><id>thirdparty</id><username>admin</username><password>admin123</password></server><server><id>snapshots-host</id><username>admin</username><password>admin123</password></server></servers>
...........<repositories><repository><id>snapshots</id><name>Snapshots</name></repository><repository><id>releases</id><name>Releases</name></repository><repository><id>snapshots-host</id><name>SnapshotsHost</name></repository></repositories>
service nexus status/start/stop
查看nexus服务状态、启动服务、停止服务等
chkconfig nexus on/off
by 刘迎光@萤火虫工作室
OpenBI交流群:495266201
MicroService 微服务交流群:217722918
mail: liuyg#liuyingguang.cn
博主首页(==防止爬虫==):http://blog.liuyingguang.cn
修改配置:# vi /etc/xinetd.d/rsync把原来的disable ,YES改成NO
3、配置/etc/rsyncd.conf(需要手动生成)
# vi /etc/rsyncd.conf
log file = /usr/local/rsync/var/rsyncd.log //日志文件
pid file = /usr/local/rsync/var/rsyncd.pid //pid文件路径
lock file = /usr/local/rsync/var/rsyncd.lock //指定lock文件
secrets file = /usr/local/rsync/etc/rsyncd.pas //指定用户密码对文件
motd file = /usr/local/rsync/etc/rsyncd.motd //指定欢迎消息文件
read only = no //是否只读(若从客户端同步到服务器必须设置为NO)
hosts allow = 192.168.0.0/16,192.168.10.0/24 //允许的IP段
list = yes //是否允许列表
uid = nobody //rsync以什么用户身份启动
gid = nobody //rsync以什么用户组身份启动
use chroot = no //
max connections = 4 //最大连接数
[bak] //模块
path = /bak //模块目录
comment = www bak //描述信息,可以任意填写
auth users = bak //认证的用户,服务器必须存在这个系统用户
(保存退出)
-----------以下为rsyncd.conf配置文件内容,rsync配置直接拷贝-------
log file = /var/rsyncd.logpid file = /var/rsyncd.pidlock file = /var/rsyncd.locksecrets file = /etc/rsyncd.pasmotd file = /etc/rsyncd.motdread only = nohosts allow = 192.168.0.0/16,192