10 2015 档案

摘要:centos LAMP第四部分mysql操作 忘记root密码 skip-innodb配置慢查询日志 mysql常用操作mysql常用操作 mysql备份与恢复 第二十二节课mysql用的哪个my.cnf,如果都有就用后面的查找顺序 /etc/mycnf ---> /etc/mysql/mycnf ... 阅读全文
posted @ 2015-10-28 23:30 huangchaolilli 阅读(231) 评论(0) 推荐(0)
摘要:centos LAMP第三部分php,mysql配置 php配置文件 配置php的error_log 配置php的open_basedir 安装php的扩展模块 phpize mysql配置第二十一节课 主配置文件:/usr/local/apache2/conf/httpd.conf虚拟主机配置文件 阅读全文
posted @ 2015-10-25 10:08 huangchaolilli 阅读(572) 评论(0) 推荐(0)
摘要:LVM的一些问题汇总 tune2fs命令 --http://www.aminglinux.com/bbs/forum.php?mod=viewthread&tid=7664&page=1&extra=#pid38836 看了几篇文章和视频,跟啊铭老师也沟通过,下面列出啊铭老师没有说到的命令和自己的一 阅读全文
posted @ 2015-10-16 13:58 huangchaolilli 阅读(1762) 评论(0) 推荐(0)
摘要:MegaCli 监控raid状态http://blog.chinaunix.net/uid-25135004-id-3139293.html 简介MegaCli是一款管理维护硬件RAID软件,可以通过它来了解当前raid卡的所有信息,包括raid卡的型号,raid的阵列类型,raid上各磁盘状态,等... 阅读全文
posted @ 2015-10-16 13:05 huangchaolilli 阅读(1961) 评论(0) 推荐(0)
摘要:centos LAMP第二部分apache配置 下载discuz!配置第一个虚拟主机 安装Discuz! 用户认证 配置域名跳转 配置apache的访问日志 配置静态文件缓存 配置防盗链 访问控制 apache rewrite 配置开机启动apache tcpdump 第二十节课 无论是apache 阅读全文
posted @ 2015-10-15 22:14 huangchaolilli 阅读(1084) 评论(0) 推荐(0)
摘要:Linux中的Buffer Cache和Page Cache echo 3 > /proc/sys/vm/drop_caches Slab内存管理机制 SLUB内存管理机制 http://wenku.baidu.com/view/dd677d2fcfc789eb172dc868.html http: 阅读全文
posted @ 2015-10-15 21:28 huangchaolilli 阅读(1895) 评论(0) 推荐(0)
摘要:ssh 配置文件讲解大全 ssh调试模式 sftp scp strace进行调试 特权分离 http://blog.chinaunix.net/uid-16728139-id-3265394.html 1995 年,芬兰学者Tatu Ylonen 设计了SSH 协议,将登录信息全部加密,成为互联网安 阅读全文
posted @ 2015-10-15 20:04 huangchaolilli 阅读(32393) 评论(1) 推荐(2)
摘要:centos LAMP第一部分-环境搭建 Linux软件删除方式,mysql安装,apache,PHP,apache和php结合,phpinfo页面,ldd命令 第十九节课 打命令之后可以输入: echo $? 上半节课 Linux软件删除方式 mysql安装 apache 下半节课 PHPapac 阅读全文
posted @ 2015-10-13 22:59 huangchaolilli 阅读(631) 评论(0) 推荐(0)
摘要:centos linux系统日常管理复习 物理CPU和每颗CPU的逻辑核数,uptime ,w,vmstat,iftop ,iotop ,sar ,ps,netstat ,一个网卡配置多个IP,mii-tool 网络连接,ethtool网卡速率,一个网卡配置多个IP,mii-tool 网络连接,et 阅读全文
posted @ 2015-10-12 00:36 huangchaolilli 阅读(1297) 评论(0) 推荐(0)
摘要:设置XShell快捷键 复制粘贴并禁用智能选择1打开选项2键盘和鼠标->打开编辑3新建 组合键 Ctrl+C 类型:菜单 -》操作 [编辑]复制 [编辑]粘贴4选中 ctrl+c5粘贴禁用智能选择工具-》选项-》高级f 阅读全文
posted @ 2015-10-11 11:08 huangchaolilli 阅读(2029) 评论(0) 推荐(0)
摘要:centos linux 系统日常管理4 scp,rsync,md5sum,sha1sum,strace ,pstack,find Rsync 常见错误及解决方法 第十七节课 rsync可以增量同步,scp不行 注意:修改sshd_config文件时候,port字段,sshd不支持监听小于1024 阅读全文
posted @ 2015-10-11 10:23 huangchaolilli 阅读(1638) 评论(0) 推荐(0)
摘要:centos linux系统日常管理3 服务管理ntsysv,chkconfig,系统日志rsyslog,last ,lastb ,exec,xargs,dmesg,screen,nohup,curl,ping ,telnet,traceroute ,dig ,nc,nmap,host,nethog 阅读全文
posted @ 2015-10-10 08:15 huangchaolilli 阅读(2053) 评论(0) 推荐(0)
摘要:centos Linux系统日常管理2 tcpdump,tshark,selinux,strings命令, iptables ,crontab,TCP,UDP,ICMP,FTP网络知识 第十五节课 上半节课 tcpdumptsharkselinux strings命令 下半节课 iptablescr 阅读全文
posted @ 2015-10-07 18:11 huangchaolilli 阅读(1683) 评论(0) 推荐(0)
摘要:一个兼职DBA的数据库运维经验 小米科技 xx@xiaomi.com 2011 内存扩容 16G-》64G ,调大bp后,凌晨说监控物理内存有余量情况下,开吃swap,内存泄露措施1 定时 echo 1 >/proc/sys/vm/drop_caches 页面缓存措施2 下次mysql实例重启期间, 阅读全文
posted @ 2015-10-06 17:41 huangchaolilli 阅读(1182) 评论(0) 推荐(0)
摘要:centos Linux系统日常管理1 cpuinfo cpu核数 命令 w, vmstat, uptime ,top ,kill ,ps ,free,netstat ,sar, ulimit ,lsof ,pidof,dstat ,prlimit 第十四节课 上半节课 wuptime 下半节课to 阅读全文
posted @ 2015-10-06 12:43 huangchaolilli 阅读(1157) 评论(0) 推荐(0)
摘要:grep命令做永久别名 显示颜色http://jingyan.baidu.com/article/22fe7ced17c1543002617f9c.htmlhttp://blog.csdn.net/ricks_wu/article/details/9031357全局alias的定义就放在~/.bas... 阅读全文
posted @ 2015-10-04 18:02 huangchaolilli 阅读(453) 评论(0) 推荐(0)
摘要:centos 正则,grep,egrep,流式编辑器 sed,awk -F 多个分隔符 通配符 特殊符号. * + ? 总结 问加星 cat -n nl 输出文件内容并加上行号 alias放~/.bash_profile 2015-4-10 第十三节课 第一节课 grep. * + ? 特殊符号总结 阅读全文
posted @ 2015-10-03 22:27 huangchaolilli 阅读(1537) 评论(0) 推荐(0)
摘要:centos shell基础知识 alias 变量单引号 双引号 history 错误重定向 2>&1 jobs 环境变量 .bash_history source配置文件 nohup & 后台运行 cut,sort,wc ,uniq ,tee ,tr ,split, paste cat> 2.tx 阅读全文
posted @ 2015-10-03 15:25 huangchaolilli 阅读(1674) 评论(0) 推荐(0)
摘要:wget 命令大全 wget默认会以最后一个符合”/”的后面的字符来命令,对于动态链接的下载通常文件名会不正确 wget http://www.minjieren.com/wordpress-3.1-zh_CN.zip 使用wget下载单个文件 命令: wget http://www.minjier 阅读全文
posted @ 2015-10-02 16:54 huangchaolilli 阅读(422) 评论(0) 推荐(0)