活到老学到老  

记录遇到问题的点点滴滴。

0

今天尝鲜用VMWare安装了CentOS7,选择了最小安装包模式,安装完毕之后想查看一下本机的ip地址,发现报错# ifcon -bash: ifconfig: command not found谷歌了一下,整理了一下解决思路 查看ifconfig命令是否存在 查看 /sbin/ifconfig是否存在 如果ifconfig命令存在,查看...

7年前发布  · 862 次阅读
0

CentOS MySQL 5.7编译安装MySQL 5.7 GA版本的发布,也就是说从现在开始5.7已经可以在生产环境中使用,有任何问题官方都将立刻修复。MySQL 5.7主要特性:更好的性能:对于多核CPU、固态硬盘、锁有着更好的优化,每秒100W QPS已不再是MySQL的追求,下个版本能否上200W QPS才是吾等用户更关心的更好的...

7年前发布  · 1160 次阅读
0

安装完mysql 之后,登陆以后,不管运行任何命令,总是提示这个step 1:SET PASSWORD = PASSWORD('your new password');step 2:ALTER USER 'root'@'localhost' PASSWORD EXPIRE NEVER;step 3:flush privileges;完成以...

7年前发布  · 1282 次阅读
0

晚上清理mysql日志,强制重启了下mysql,然后mysql就登陆不上了。。。以下方法来自网络,可以使用,已试。刚安装完mysql,进行运行测试,报Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’错误,[root@localhost mysql]#...

7年前发布  · 1305 次阅读
  mysql 
0

安装MySQL时,有warning:[root@localhost mysql]# scripts/mysql_install_db --user=mysql Installing MySQL system tables...2015-08-13 14:20:09 0 [Warning] TIMESTAMP with implicit D...

7年前发布  · 1125 次阅读
  mysql 
0

本来初始化配置是这样的:scripts/mysql_install_db --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data --user=mysql出现了[root@localhost mysql-5.6.14]# service mysql restart ERROR!...

7年前发布  · 2954 次阅读
  mysql 
0

在vim下可以使用常用的箭头键 但是 还有其它键可以让你更快的达到目标hjkl 这是代替箭头键功能的 H M L 跳到屏幕的顶上 中间 下方 w 跳到下一个单词的开始e 跳到单词的结束b 向后跳gg 跳到文件的开始 G 跳到文件的结束 10gg 或10G 跳到第10行 ta 跳到下一个a 前面fa 跳到下一个a 大写的意思相反另外还有%(...

7年前发布  · 1149 次阅读
  linux 
0

SummaryThis post describes how to set up your Red Hat or Centos 7 server to be a yum repository for both the local server and also serve other servers on the network via...

7年前发布  · 889 次阅读
0

今天安装vsftp服务器,在修改了 chroot_local_user 属性以后,发现进行客户端访问的时候会报错:500 OOPS: vsftpd: refusing to run with writable root inside chroot()到网上查了资料,得到解决问题方法如下:"如果启用chroot,必须保证ftp根目录不可写,...

7年前发布  · 1068 次阅读
0

This article describes how to create system users in vstfpd and chroot them (isolate or “jail” them to their home directory) if necessary.Add a system userCreate a new us...

7年前发布  · 1042 次阅读
0

Thanks to Wandisco, which is maintaining the rpm packages for latest Subversion version. This article will help you to install subversion 1.9 ( svn client ) on CentOS/RHE...

7年前发布  · 1859 次阅读
0

前言:今天在阅读Qt  Creator的源代码时,发现一些注释中有FIXME英文单词,用英文词典居然查不到其意义!实际上,在阅读一些开源代码时,我们常会碰到诸如:TODO、FIXME和XXX的单词,它们是有其特殊含义的。、TODO: + 说明:如果代码中有该标识,说明在标识处有功能代码待编写,待实现的功能在说明中会简略说明。FIXME:...

7年前发布  · 1229 次阅读