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