linux6安装好后发现很多不一样,需要额外的设置。
第一个IP:
需要好好的设置一下;
配置项待续。。。
第二个vsftpd:
IP设置好了发现输入:service vsftpd status 时输出如下信息:
Usage: /etc/init.d/vsftpd {start|stop|restart|try-restart|force-reload|st...
分类:
系统相关 时间:
2014-12-25 01:29:04
阅读次数:
286
安装crontab:yum install crontabs说明:/sbin/service crond start //启动服务/sbin/service crond stop //关闭服务/sbin/service crond restart //重启服务/sbin/service crond ...
分类:
其他好文 时间:
2014-12-24 09:49:28
阅读次数:
125
脚本功能:
实现redis单机多实例情况下的正常启动、关闭、重启单个redis实例。完成系统标准服务的以下常用功能: start|stop|status|restart
注:redis程序代码屏蔽了HUP信号,不支持在线重载配置文件,故去掉reload功能。
本脚本优化了redis停止和重启逻辑,解决原redis脚本关闭时会造...
分类:
系统相关 时间:
2014-12-23 19:37:16
阅读次数:
269
下载zookeeper-3.4.6 , 试用了一下
standlone
启动
./bin/zkServer.sh start
注: Usage: ./bin/zkServer.sh {start|start-foreground|stop|restart|status|upgrade|print-cmd}_
用cli工具就可以操作了
./bin/zkCli.sh -server 1...
分类:
其他好文 时间:
2014-12-22 14:31:51
阅读次数:
169
https是一个安全的访问方式,数据在传输过程中是加密的,https基于ssl。
一、安装apache和ssl模块
1、安装apache
#yum install httpd
2、安装ssl模块
#yum install mod_ssl
重启apache:
#service httpd restart
安装完mod_ssl会创建一个默认的SSL证书,路径位于...
分类:
其他好文 时间:
2014-12-21 20:48:07
阅读次数:
181
每2分钟 将date写入到time.log(下面的为奇数分钟执行)
*/2 * * * * date >> ~/time.log */2 * * * * date >> ~/time.log
每天的23:30分重启apache
30 23 * * * /etc/init.d/apache2 restart
每月的1,10,20号的23:30分重启apache...
分类:
其他好文 时间:
2014-12-21 18:05:09
阅读次数:
293
调试的时候出现一下错误:The connection to adb is down, and a servera error has occured.You must restart adb and Eclipse. Please ensure that adb is correctly locat...
分类:
移动开发 时间:
2014-12-20 00:44:35
阅读次数:
213
$a=get-date$b="restart""On {0} ,ERP has {1}" -f $a,$b结果:On 2014/12/19 16:33:51 ,ERP has restart
分类:
其他好文 时间:
2014-12-19 17:20:55
阅读次数:
135
The connection to adb is down, and a severe error has occured.
You must restart adb and Eclipse.
Please ensure that adb is correctly located at 'E:\androidide\android-sdk-windows\platform-tools\adb....
分类:
数据库 时间:
2014-12-18 13:35:51
阅读次数:
191
最近一个项目,,想用redis 作为数据库,php是不待redis 扩展,必须安装,怎么安装呢?我在网上找的很多资料发现都是预编译的,但都没成功,于是就找了另外一种方法是不需要编译直接安装就可以了。sudo apt-get install git-core
安装好后重启nginx ,php5-fpm,
重启nginx
sudo /etc/init.d/nginx restart...
分类:
Web程序 时间:
2014-12-18 06:50:19
阅读次数:
198