码迷,mamicode.com
首页 >  
搜索关键字:restart pending    ( 3678个结果
【Qt点滴】游戏2048
看到了挺火的2048,就想用Qt实现一下,游戏逻辑倒是不复杂,稍微推敲就能搞定,倒是动画和各种细节前前后后参考了很多,也想了很久。一个月前把功能都实现了,因为考试等各种琐事,这几天才想到整理下。真正编写的时间也并不久,一周左右吧。这次是用Qt5开发,一个QWidget窗口,添加一个restart按钮...
分类:其他好文   时间:2014-07-25 02:37:44    阅读次数:664
Linux命令之at
1.命令格式:at[参数][时间]2.命令功能:在一个指定的时间执行一个指定任务,只能执行一次,且需要开启atd进程(ps -ef | grep atd查看, 开启用/etc/init.d/atd start or restart; 开机即启动则需要运行 chkconfig --level 2345...
分类:系统相关   时间:2014-07-24 22:03:32    阅读次数:333
MySQL:Useful Commands
Start/Stop/Restart MySQL:===========================On Linux start/stop/restart from the command line:/etc/init.d/mysqld start/etc/init.d/mysqld stop/...
分类:数据库   时间:2014-07-23 12:33:46    阅读次数:344
Disable root 账号登陆
1. 修改文件: /etc/ssh/sshd_config #PermitRootLogin yes 修改为: PermitRootLogin no 2. 重启ssh进程 /etc/init.d/sshd restart Stopping sshd: [ OK ] Starting sshd: [ OK ] TIPS: 用root账号登陆时,如果只看到井号,输入bash,就可以正常显示,登陆账号,主机...
分类:其他好文   时间:2014-07-22 23:52:28    阅读次数:229
添加nginx为系统服务(service nginx start/stop/restart)
1、在/etc/init.d/目录下编写脚本,名为nginx #!/bin/sh  #  # nginx - this script starts and stops the nginx daemon  #  # chkconfig:   - 85 15  # description: Nginx is an HTTP(S) server, HTTP(S) reverse \  ...
分类:其他好文   时间:2014-07-22 22:39:13    阅读次数:321
mysql无法启动——cannot allocate the memory for the buffer pool
今天打开开发网站突然不能使用,发现时Mysql数据库down掉了,就去重启: mysql.server restart 一直会报错:“Manager of pid-file quit without updating file”。 然后就去找原因,网上说有以下三个方面的问题: 1、硬盘不够用了,无法写入pid文件 2、进程卡死了,找到mysql进程kill掉,然后重启 3、目录权限...
分类:数据库   时间:2014-07-22 17:53:52    阅读次数:274
错误 /etc/resolv.conf isn't a symlink, not doing anything. 【解决办法】
配置interfaces文件后用/etc/init.d/networking restart命令重启网络配置出现以下错误 * Running /etc/init.d/networking restart is deprecated because it may not enable again so...
分类:其他好文   时间:2014-07-22 00:03:37    阅读次数:454
修改mysql字符编码出现Job failed to start解决办法
从网上找到如下资料: $sudo gedit /etc/mysql/my.cnf [client]下添加: default-character-set=utf8 [mysqld]下添加: default-character-set=utf8 然后保存退出 $ /etc/init.d/mysql restart 结果出现了: Since...
分类:数据库   时间:2014-07-21 23:39:35    阅读次数:423
linux apache 自动监护脚本
1 首先安装curlyum install curl2 编写shellvi restart_apache.sh写入一下内容#!/bin/bashURL="http://127.0.0.1/"curlit(){curl --connect-timeout 35 --max-time 40 --head...
分类:系统相关   时间:2014-07-20 23:13:03    阅读次数:244
CentOS下mysql最大连接数设置 1040 too many connection
当最大连接数比较小时,可能会出现“1040 too many connection”错误。可以通过修改配置文件来修改最大连接数,但我连配置文件在哪都不知道,应该怎么办呢?首先需要重启mysql服务,执行命令:service mysql restart也有可能是:service mysqld restart登录mysql:mysql -uroot -p输入密码,回车;登录成功后执行以下语句查询当前的...
分类:数据库   时间:2014-07-18 21:23:05    阅读次数:248
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!