随笔分类 -  Linux

摘要:1. 安装SVN服务器: 检查是否已安装 安装SVN服务器 验证安装 查看版本 2. 代码库创建: 安装完成后要建立SVN库 执行后,自动建立repositories库,查看/opt/svn/repositories文件夹包含了conf,db,format,hooks,locks,README.tx 阅读全文
posted @ 2017-06-28 10:28 Jandison 阅读(186) 评论(0) 推荐(0)
摘要:[root@wfm ~]# yum -y install pip Loaded plugins: fastestmirror, refresh-packagekit, securityLoading mirror speeds from cached hostfile* base: mirrors. 阅读全文
posted @ 2017-06-27 09:49 Jandison 阅读(487) 评论(0) 推荐(0)
摘要:0 0 * * * /usr/sbin/ntpdate -u ntp.api.bz 注意:若不加上-u参数, 会出现以下提示:no server suitable for synchronization found -u:从man ntpdate中可以看出-u参数可以越过防火墙与主机同步; ntp常 阅读全文
posted @ 2017-06-02 09:00 Jandison 阅读(188) 评论(0) 推荐(0)
摘要:公司需要做异构库数据同步,由于之前实际使用过,且字段类型也兼容,满足业务场景,使用了阿里开源数据同步工具:datax,服务器上crontab定时脚本执行。 由于crontab只加载/ect/environment,并不加载/etc/profile和~/.bash_profile,所以需要在脚本里手动 阅读全文
posted @ 2017-05-24 09:20 Jandison 阅读(6626) 评论(1) 推荐(0)
摘要:sysstat工具可以监控系统的IO,CPU,SWAP,LOAD,NETWORK,DISK安装后,系统会生成定时任务脚本路径:/etc/cron.d/sysstat内容:# Run system activity accounting tool every 10 minutes*/10 * * * ... 阅读全文
posted @ 2015-01-31 12:30 Jandison 阅读(451) 评论(0) 推荐(0)