SSD系统安装优化指南


系统优化设置 1、关闭磁盘索引 磁盘索引功能会产生很多小文件的写入,影响ssd性能。SSD低延时特性使它不需要这个功能。 右键计算机-管理-服务与应用-服务-windows search-改成disabled-ok (搜索功能还是能有的) 进入计算机-右键SSD硬盘的盘符-属性-取消掉Allow files on this drive to have contents indexed in addition tofile properties. (之后需要跳过一些文件,也需要等几分钟) 2、关闭superfetch 和prefetch win+R输入regedit打开注册表,找到 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SessionManager\Memory Management\PrefetchParameters 将EnableSuperfetch和 EnableSuperfetch两个键值调成0 3、转移如qq msn等软件的默认存储位置到hdd硬盘上 4、Internet临时文件存储位置转移 打开ie,选择工具-选项-浏览历史中的设置按钮,把位置转移到HDD硬盘上 5、打开trim功能 Win+R 输入cmd 打开trim输入fsutilbehavior set disabledeletenotify 0 关闭trim 输入fsutil behavior set disabledeletenotify 1 查看trim情况 输入fsutil behavior querydisabledeletenotify 显示0则为已开启”

Mysql优化–linux篇



Warning: Invalid argument supplied for foreach() in /home/www/blog/wp-content/plugins/where-did-they-go-from-here/where-did-they-go-from-here.php on line 54

温州大学草样论坛稳定的运行了几天,但是却发现在访问量增大的时候会出现访问缓慢和502错误,所以开始优化下服务器,nginx和php可以做的真的不多,所以把目标放在了mysql上面。 这里推荐一个软件给大家,挺好用的。 用于MySql调优的诊断脚本 MySqlTuner 是一个Perl脚本,简单好用。首先是下载 wget mysqltuner.pl 然后就是修改权限,然后运行 chmod +x mysqltuner.pl ./mysqltuner.pl 然后他会输出你的数据库情况,并给出优化意见 我运行后的结果 ——– General Statistics ————————————————– [--] Skipped version check for MySQLTuner script [OK] Currently running supported MySQL version 5.1.39-1 [OK] Operating on 64-bit architecture ——– Storage Engine Statistics ——————————————- [--] Status: -Archive -BDB -Federated +InnoDB -ISAM -NDBCluster [--] Data in MyISAM tables: [...]

使用cpanel前对whm的优化与设置



Warning: Invalid argument supplied for foreach() in /home/www/blog/wp-content/plugins/where-did-they-go-from-here/where-did-they-go-from-here.php on line 54

======================================== = Web Host manager and CPANEL mods. ======================================== = These are items inside of WHM/Cpanel that should be changed to secure your server. Goto Server Setup =>> Tweak Settings Check the following items… Under Domains Prevent users from parking/adding on common internet domains. (ie hotmail.com, aol.com) Under Mail Attempt to prevent pop3 connection floods [...]