摘要:
一、启动系统,用ISO镜像挂载[root@yum ~]# mkdir -p /mnt/cdrom01[root@yum ~]# mkdir -p /mnt/cdrom02[root@yum ~]# mount -a -t iso9660 -o loop /root/CentOS-6.5-x86_64... 阅读全文
摘要:
yum -y install gcc gcc-c++ makeError: Multilib version problems found. This often means that the root cause is something else and multilib version che... 阅读全文
摘要:
[root@master01 setup]# egrep -v "^#|^$" /usr/local/zookeeper/conf/zoo.cfg tickTime=2000initLimit=10syncLimit=5dataDir=/opt/Zookeeper/datedateDirLog=/o 阅读全文
摘要:
mysql远程授权GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '123.com' WITH GRANT OPTION;flush privileges;显示所有数据库show databases选定数据库use database_n... 阅读全文
摘要:
[root@master01 setup]# ps -ef|grep "java"|grep -v grep|awk '{print $2}'|xargs kill 9 [root@master01 setup]# ps -ef|grep "java"|grep -v grep|cut -c 9-1 阅读全文
摘要:
vim /etc/profileexport PS1='\[\e[1;33m\]\h\[\e[m\] \t [\[\e[1;36m\]\w\[\e[m\]] [\u] ' export LANG=zh_CN.utf8 source /etc/profile 阅读全文