zongguofeng.com
运维家园/运维之家/运维那些事/运维相关 - 运维家园/运维之家/系统运维工程师|linux|windows|数据库|FTP|WEB|VPS|虚拟化|LVS|高性能
http://zongguofeng.com/html/Operation
zongguofeng.com
浅谈Linux内存管理机制-转发51cto文章 - 运维家园/运维之家/linux/windows系统,数据库,FTP,WEB,VPS,虚拟化,LVS,高性能,vm - 运维家园/运维之家/系统运维工程师|linux|windows|数据库|FTP|WEB|VPS|虚拟化|LVS|高性能
http://zongguofeng.com/html/2013/linuxtech_1003/650.html
Linux进行页面交换是有条件的,不是所有页面在不用时都交换到虚拟内存,Linux内核根据”最近最经常使用“算法,仅仅将一些不经常使用的页面文件交换到虚拟内存,有时我们会看到这么一个现象 Linux物理内存还有很多,但是交换空间也使用了很多。 Total used free shared buffers cached. Mem: 3894036 3473544 420492 0 72972 1332348. Swap: 4095992 906036 3189956. 3894036 – 3473544 = 420492. 也就是Linux上运行的应用程序可以使用的内存大小,即free命令第三行 -/ buffers/cached 的输出,可以看到,此系统已经使用的内存才2068224K,而空闲的内存达到1825812K,继续做这样一个计算. 420492 72972 1332348 1825812. Buffers是用来缓冲块设备做的,它只记录文件系统的元数据 metadata 以及 tracking in-flight pages,而cached是用来给文件做缓冲。
zongguofeng.com
phpcms v9.42版本上传图片出现undefined解决办法 - 运维家园/程序 - 运维家园/运维之家/系统运维工程师|linux|windows|数据库|FTP|WEB|VPS|虚拟化|LVS|高性能
http://zongguofeng.com/html/2014/chengxu_0129/659.html
把extension=php zip.dll前面的 号去掉 先确保php环境包下面的ext目录有php zip.dll文件。 把 $this- upload func = ‘copy’. 修改为 $this- upload func = ‘move uploaded file’. 把文件phpcms modules attachment attachments.php下载到本地,然后使用文本编辑器打开,找到代码 if(empty($this- userid) {. 修改为 if(empty($ POST[userid]) {. 原理 因为在上传图片提交时 $this- userid一定为空,但在调用时用到了$attachment- set userid($ POST[userid]);. 早期版本phpcms的attachments.php中就是$ POST[userid],所以如果您怕修改错了文件,这里也可以下载早前版本的attachments.php进行替换。 Can't connect to Mys.
zongguofeng.com
sendmail启动失败报错如下,解决思路权限问题-思路来自于网 - 运维家园/运维之家/linux/windows系统,数据库,FTP,WEB,VPS,虚拟化,LVS,高性能,vm - 运维家园/运维之家/系统运维工程师|linux|windows|数据库|FTP|WEB|VPS|虚拟化|LVS|高性能
http://zongguofeng.com/html/2013/linuxtech_0713/645.html
Starting sendmail: 451 4.0.0 /etc/mail/sendmail.cf: line 91: filecla. Root@localhost etc]# /etc/init.d/sendmail restart. Shutting down sm-client: [FAILED]. Shutting down sendmail: [FAILED]. Starting sendmail: 451 4.0.0 /etc/mail/sendmail.cf: line 91: fileclass: cannot open /etc/mail/local-host-names: World writable directory. 451 40.0 /etc/mail/sendmail.cf: line 588: fileclass: cannot open /etc/mail/trusted-users: World writable directory. 方法一 放大对文件的检查权限- 替换/etc/mail/sendmail.cf. Can't connect to Mys.
zongguofeng.com
你有什么理由不努力?你凭什么不努力?(转) - 运维家园/其他收集 - 运维家园/运维之家/系统运维工程师|linux|windows|数据库|FTP|WEB|VPS|虚拟化|LVS|高性能
http://zongguofeng.com/html/2013/qitashouji_1218/652.html
2013-12-18 16:26:33 来源 乌云 评论 0. 有 一天,美丽华酒店来了一辆劳斯莱斯,擦车小弟擦完后,忍不住拉开了车门,想上去享受享受,领班看见了,训斥他道,你也配坐这种车 受了屈辱的擦车小弟暗暗 发誓,我不仅要坐,而且还要买 后来,这个擦车小弟一连买了五辆劳斯莱斯。 Middot;·····. 而等他们成功之后,你则会回忆起自己当年不曾对他落井下石的那点恩德,并把“没跟着别人一起戳死他,只不过是简单地笑话了他一下”这件事,当成自己的远见,四处炫耀道,“我早就知道他是个人才。 Can't connect to Mys.
zongguofeng.com
PHPCMS v9 安全防范教程(转) - 运维家园/程序 - 运维家园/运维之家/系统运维工程师|linux|windows|数据库|FTP|WEB|VPS|虚拟化|LVS|高性能
http://zongguofeng.com/html/2014/chengxu_0129/655.html
如果通过 chmod 644 * -R 的话,php文件就没有权限访问了。 如果通过chmod 755 * -R 的话,php文件的权限就高了。 Find /path -type f -exec chmod 644 {} ; / 设置文件权限为644. Find /path -type d -exec chmod 755 {} ; / 设置目录权限为755. 设置完成后,再通过命令 chown root:root * -R 将目录和文件的所有者改为root。 Find / -mtime -30 -type f -exec ls -l {} ;. Find / -name *.txt -print. Find / -name *.txt -exec rm -rf {} ;. Find / -name *.php -mtime -30 -typef -exec ls -l {} ;. Find / -name *.php -mtime -30 -mtime 1 -type f -execls -l {} ;. Php flag engine off. Can't connect to Mys.
zongguofeng.com
sendmail启动virtusertable.db错误解决 - 运维家园/运维之家/linux/windows系统,数据库,FTP,WEB,VPS,虚拟化,LVS,高性能,vm - 运维家园/运维之家/系统运维工程师|linux|windows|数据库|FTP|WEB|VPS|虚拟化|LVS|高性能
http://zongguofeng.com/html/2013/linuxtech_0614/643.html
Starting sendmail: make: Warning: File `virtusertable.db has modification time 2.2e 07 s inthe future. Make: warning: Clock skew detected. Your build may be incomplete. Warning: File `virtusertable.db has modification time in the future (2003-06-13 11:57:26 2003-06-13 06:04:40). Make: warning: Clock skew detected. Your build may be incomplete. Can't connect to Mys.
zongguofeng.com
dedecms迁移服务器后需要更改数据库的连接代码列表记录 - 运维家园/程序 - 运维家园/运维之家/系统运维工程师|linux|windows|数据库|FTP|WEB|VPS|虚拟化|LVS|高性能
http://www.zongguofeng.com/html/2013/chengxu_0420/641.html
Www/zongguofeng.com/include/common.inc.php. Www/zongguofeng.com/data/common.inc.php. Www/zongguofeng.com/bbs/config/config global.php. Www/zongguofeng.com/bbs/config/config ucenter.php. Www/zongguofeng.com/bbs/uc server/data/config.inc.php. Can't connect to Mys.
zongguofeng.com
运维家园/ - 运维家园/运维之家/系统运维工程师|linux|windows|数据库|FTP|WEB|VPS|虚拟化|LVS|高性能
http://www.zongguofeng.com/html/picture
收藏几幅结绳技巧以备后用 收集整理 linuxzgf 欢迎大家转载运维家园文章到自己.