上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 54 下一页
摘要: pyinotify安装git clone https://github.com/seb-m/pyinotify.gitcd pyinotify/python setup.py install 安装python的redis客户端yum install python-redis 安装kafka客户端gi 阅读全文
posted @ 2016-06-02 10:44 凌度 阅读(704) 评论(0) 推荐(0) 编辑
摘要: 查看hdfs全部目录大小 sudo addgroup Hadoop#添加一个hadoop组sudo usermod -a -G hadoop larry#将当前用户加入到hadoop组 修改hadoop目录的权限sudo chown -R larry:hadoop /home/larry/hadoo 阅读全文
posted @ 2016-05-25 10:18 凌度 阅读(28645) 评论(0) 推荐(0) 编辑
摘要: 1.安装先装 mysql-connector-odbc(或 mariadb-connector-odbc )和unixODBChttps://downloads.mariadb.org/mariadb/repositories/#mirror=opencas&distro=CentOS&distro 阅读全文
posted @ 2016-05-06 17:07 凌度 阅读(3773) 评论(0) 推荐(0) 编辑
摘要: vi /etc/my.cnf wait_timeout=2880000interactive_timeout = 2880000max_allowed_packet = 100M 完整配置文件 阅读全文
posted @ 2016-05-06 14:55 凌度 阅读(3684) 评论(0) 推荐(0) 编辑
摘要: 不要弹出下载 配置nginx.conf 阅读全文
posted @ 2016-05-05 16:58 凌度 阅读(6212) 评论(0) 推荐(0) 编辑
摘要: 安装 启动服务 关闭服务 查看服务 加入开机启动 同步数据 注意server密码文件是"用户名:密码",客户端那边只用"密码"。两边都需要chmod 600 rsyncd.secrets 查看服务器列表 服务器配置文件 vi /etc/rsyncd.conf 阅读全文
posted @ 2016-05-04 14:43 凌度 阅读(416) 评论(0) 推荐(0) 编辑
摘要: --清除当前用户的回收站:purge recyclebin; --删除表数据truncate table--查看当前用户回收站select * from user_recyclebin t; 阅读全文
posted @ 2016-04-29 14:22 凌度 阅读(1512) 评论(0) 推荐(0) 编辑
摘要: yum install ntp */20 * * * * /usr/sbin/ntpdate 61.172.254.29 210.72.145.44 (国家授时中心服务器IP地址)133.100.11.8 日本 福冈大学time-a.nist.gov 129.6.15.28 NIST, Gaithe 阅读全文
posted @ 2016-04-26 09:44 凌度 阅读(761) 评论(0) 推荐(0) 编辑
摘要: 可以使用一下命令查使用内存最多的10个进程 ps -aux | sort -k4nr | head -n 10 可以使用一下命令查使用CPU最多的10个进程 ps -aux | sort -k3nr | head -n 10 阅读全文
posted @ 2016-04-25 14:05 凌度 阅读(297) 评论(0) 推荐(0) 编辑
摘要: 清理前内存使用情况 free -m free -gecho 1 > /proc/sys/vm/drop_caches清理后内存使用情况 free -m 阅读全文
posted @ 2016-04-25 14:01 凌度 阅读(839) 评论(0) 推荐(0) 编辑
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 54 下一页