1.config: anonymous_enable=NO local_enable=YES write_enable=YES local_umask=022 anon_umask=022 file_open_mode=0644 anon_upload_enable=YES anon_mkdir_write_enable=YES anon_other_write_enable=YES ano...
分类:
系统服务 时间:
2014-11-26 19:22:32
收藏:
0 评论:
0 赞:
0 阅读:
197
#!/bin/bash while [ 1 ] do SendMail_is_exstit=$(ps -ef | grep "feed SendMail" | grep -v grep | wc -l) if [ ${SendMail_is_exstit} == 0 ] then cd /var/www/sdkfeed/ ./app/Console/cake SendMail fi slee...
分类:
系统服务 时间:
2014-11-26 19:20:52
收藏:
0 评论:
0 赞:
0 阅读:
346
update,YellowdogUpdateModifier,YUMyum是什么?yum是一个在Fedora和RedHat以及SUSE中的Shell前端软件包管理器。基于RPM包管理,能够从指定的服务器自动下载RPM包并且安装,可以自动处理依赖性关系,并且一次安装所有依赖的软件包,无需繁琐的一次次下载、安装。yum是基于yum数..
分类:
系统服务 时间:
2014-11-26 19:19:43
收藏:
0 评论:
0 赞:
0 阅读:
467
ClamXavwww.clamxav.comAdwareMedicwww.adwaremedic.comSophos-homeeditionwww.sophos.com
分类:
系统服务 时间:
2014-11-26 19:18:13
收藏:
0 评论:
0 赞:
0 阅读:
280
在linux中定义了许多错误码,比如:-ENOMEM,-EINTR等错误码。而这些错误码从本质上来说都是一些负整数而已。然而在实际的代码过程中,有的函数的返回值是指针类型的,有的是整数类型的。比如下面这个函数:structkfifo*kfifo_init(){structkfifo*kfifo;kfifo=kmalloc(sizeof(s..
分类:
系统服务 时间:
2014-11-26 19:17:42
收藏:
0 评论:
0 赞:
0 阅读:
873
首先需要准备jdk、maven、eclipse、tomcat。具体安装步骤请参考其它。说明:我们solrcenter-war最后作为最终的部署项目,并且使他依赖于模块(solrcenter-common、solrcentr-core)1、首先需要创建第一个maven项目(说明:可以随意在你的目录下。我这里面放到目录:E:\workspac..
分类:
系统服务 时间:
2014-11-26 19:16:43
收藏:
0 评论:
0 赞:
0 阅读:
3432
Linux学习基础1、什么是Linux?准确的说,是指Linux的kernel(系统的核心程序),其内核版权属于LinusTorvalds,在GPL(GNUGeneralPublicLicense)版权协议下发行,任何人都可以自由的复制(copy),修改(change),套装分发(distribute),销售,但是不可以在分发时加入任何限制,而且所有..
分类:
系统服务 时间:
2014-11-26 19:14:03
收藏:
0 评论:
0 赞:
0 阅读:
356
htop是一款运行于Linux下交互式系统监控与进程管理软件,可以取代Linux/Unix下传统的top命令,htop用C语言编写,采用了ncurses库,因此使用有此功能需要安装ncurses。与top相比有什么优点:1.htop提供所有进程列表,并以不同颜色标识出CPU、swap和内存等状态2.更优雅的显示界面..
分类:
系统服务 时间:
2014-11-26 19:12:33
收藏:
0 评论:
0 赞:
0 阅读:
327
由于公司的服务器在安装Ubuntu12.10时候,默认是没有桌面,但由于某些原因,某些部门要用到桌面模式!一、配置好Source源列表详情可以参考:http://www.cnblogs.com/sbaicl/archive/2013/01/09/2852357.html另附一个比较好方便的Source源更新方法我们可以先下载之后,可以cp本地..
分类:
系统服务 时间:
2014-11-26 19:10:53
收藏:
0 评论:
0 赞:
0 阅读:
370
在命令行下输入passwd[root@localhost
~]#passwd在提示下输入新密码Changing
passwordforuserroot.New
password:完成后再次输入密码Retype
newpassword:修改成功提示passwd:
allauthenticationtokensupdatedsuccessfully.
分类:
系统服务 时间:
2014-11-26 19:09:52
收藏:
0 评论:
0 赞:
0 阅读:
222
这里只讲linux下安装Yii2的方法,windows安装yii2 的方法 请参见我的另一篇博文 http://blog.csdn.net/zqtsx/article/details/39344913 第一步 安装Composer: 语法:“curl -sS https://getcomposer.org/installer | php中bin目录里的php可执行文件路径”我这里的php可执行文件...
分类:
系统服务 时间:
2014-11-26 19:02:42
收藏:
0 评论:
0 赞:
0 阅读:
300
实验环境:
CentOS release 6.6 (Final) 一台
IP地址:172.16.249.230
附带:CentOS release 6.6光盘镜像文件
CentOS-6.6-x86_64-bin-DVD1.iso
CentOS-6.6-x86_64-bin-DVD2.iso
YUM(Yellow dog Updater,...
分类:
系统服务 时间:
2014-11-26 18:57:14
收藏:
0 评论:
0 赞:
0 阅读:
486
如果碰到了需要在指定的时间运行php脚本的情况,比如定时进行网站的数据统计、自动执行数据库备份任务、定时发送email等等。
如果我们不使用Cron来执行php脚本,或许我们会采用php include的方法。
比如在index.php 中添加代码:
当访客通过浏览器访问http://xxxx/index.php的时候,自动执行了crontab.php。
当然这只是一种思路...
分类:
系统服务 时间:
2014-11-26 18:57:02
收藏:
0 评论:
0 赞:
0 阅读:
428
# id # 显示当前用户和用户组的 ID
# who # 显示目前登入系统的用户信息
#su 改变使用者身份
[root@localhost/]#su Chenlly
[Chenlly@localhost/]
#cat /etc/passwd 档案结构
root:x:0:0:root:/root:/bin/bash
chenlly:x:1000:1000:chenlly,,...
分类:
系统服务 时间:
2014-11-26 18:54:02
收藏:
0 评论:
0 赞:
0 阅读:
185
(1)、Linux 文件权限和目录配置
Linux 文件分三种身份 owner、group、others。 三种权限 read、write、execute
#ls -al
drwxr-xr-x 1 root root 4230 2012-09-12 17:21 jdk-7u7
对应文件权限 连接数 用户组 用户 文件大小 最后修改日期 文件名
其...
分类:
系统服务 时间:
2014-11-26 18:53:42
收藏:
0 评论:
0 赞:
0 阅读:
359
案数据除了档案实际内容外, 通帯有非帯多癿属性,例如 Linux 操作系统的档案权限(rwx)和文件属性(拞有者、群组、时间参数等)。
文件系统会将这两部数据分别存放在不同的区块,权限属性放置到 inode 中,至亍实际数据则放置到 data block 区块中。 另外,还有一个超级区块 (superblock) 会记彔整个
文件系统癿整体信息,包括 inode 不 block 癿总量、使用...
分类:
系统服务 时间:
2014-11-26 18:53:22
收藏:
0 评论:
0 赞:
0 阅读:
387
(1)、ifconfig 查询、设定网络卡与 IP 网域等相关参数;
eth0:就是网络卡的代号
HWaddr 00:16:d3:fc:9b:be //MAC 地址
inet addr:192.168.18.40 //IP 地址
Bcast:192.168.255.255 //广播地址
Mask:255.255.0.0 //子网掩码
不过我们可以...
分类:
系统服务 时间:
2014-11-26 18:53:12
收藏:
0 评论:
0 赞:
0 阅读:
503
引用struts2所用到的jarweb.xml配置如下 struts2 org.apache.struts2.dispatcher.FilterDispatcher struts2 /* ...
分类:
系统服务 时间:
2014-11-26 18:42:42
收藏:
0 评论:
0 赞:
0 阅读:
193
InstallationDownload, extract and compile Redis with:$ wget http://download.redis.io/releases/redis-2.8.17.tar.gz$ tar xzf redis-2.8.17.tar.gz$ cd red...
分类:
系统服务 时间:
2014-11-26 18:42:22
收藏:
0 评论:
0 赞:
0 阅读:
261
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations:getandset.get(key)- Get the valu...
分类:
系统服务 时间:
2014-11-26 18:33:42
收藏:
0 评论:
0 赞:
0 阅读:
314