![](http://dl.iteye.com/upload/attachment/0075/7149/8be63ed7-2c84-3d9b-8b53-c08f0f658a2b.png)
TCP/IP (Transmission Control Protocol/Internet Protocol的简写,中译名为传输控制协议/因特网互联协议) 由网络层的IP协议和传输层的TCP协议组成。TCP/IP 定义了电子设备如何连入因特网,以及数据如何在它们之间传输的标准。协议采用了4层的层级结构,
![](http://dl.iteye.com/upload/attachment/0075/7159/1ef1788d-e677-3f28-ab2a-00341fe2d0f3.png)
![](http://dl.iteye.com/upload/attachment/0075/7164/55495e38-ee5d-3260-86a2-c3cf7324d32a.png)
![](http://dl.iteye.com/upload/attachment/0075/7167/85d8f4b6-ece3-3d67-8c41-0067c2c5dc0a.png)
![](http://dl.iteye.com/upload/attachment/0075/7175/7dedaf49-a21b-309e-8ba6-cac1e27e666c.png)
![](http://dl.iteye.com/upload/attachment/0075/7173/7daf5637-881a-34be-8419-f1f0aaf70512.png)
![](http://dl.iteye.com/upload/attachment/0075/7191/569b81fc-14fa-3e38-98c4-81db280296d0.png)
![](http://dl.iteye.com/upload/attachment/0075/7187/eb88adae-46fc-34fd-9da7-0d5000e3bef8.png)
![](http://dl.iteye.com/upload/attachment/0075/7189/bc8d8536-219c-3028-922d-3e720bb8f756.png)
![](http://dl.iteye.com/upload/attachment/0075/7203/08b3e704-aeb8-3e65-8a68-2a948d7c6781.png)
![](http://dl.iteye.com/upload/attachment/0075/7207/aba5805a-6222-32d5-bfd1-49757c278940.png)
![](http://dl.iteye.com/upload/attachment/0075/7215/9fb4a78f-910b-3c10-9d48-dae07c16078f.png)
![](http://dl.iteye.com/upload/attachment/0075/7223/59a9eee6-af58-356d-8e88-ae1c4c5a730b.png)
![](http://dl.iteye.com/upload/attachment/0075/7234/82349222-9dda-3176-b00a-b13ed86ab153.png)
第4天
![](http://dl.iteye.com/upload/attachment/0075/7290/cf8316d7-be19-3a73-a42b-6aaa54a5ffa6.png)
![](http://dl.iteye.com/upload/attachment/0075/7292/b8a0af65-a6d3-3c66-85ff-015a9cb6f2bd.png)
![](http://dl.iteye.com/upload/attachment/0075/7301/e029ed49-9150-3e61-bf29-5cd33586ce27.png)
按 i 进入 insert 状态, 想退出 按 esc 再按 ctrl+: , 然后输入wq 保存
![](http://dl.iteye.com/upload/attachment/0075/7303/2dd53545-a937-3ed8-b577-8eeb29586a89.png)
![](http://dl.iteye.com/upload/attachment/0075/7307/d9d002d2-a1bc-3ee7-8cda-9e3ac5a6bbcd.png)
![](http://dl.iteye.com/upload/attachment/0075/7309/98652dbf-93f2-3c1a-8bc2-b27eeab35a95.png)
![](http://dl.iteye.com/upload/attachment/0075/7311/f7d0b15e-ead5-39d1-b545-7744f6b97e3a.png)
刚建完的shell脚本可能没有执行权限,"x" ,通过 chmod 修改权限
![](http://dl.iteye.com/upload/attachment/0075/7313/08460a0c-cf1a-3018-8064-5a515fd40e8b.png)
![](http://dl.iteye.com/upload/attachment/0075/7315/f1fbcfb0-71e9-3ff2-a013-76246f883c44.png)
显示调度
![](http://dl.iteye.com/upload/attachment/0075/7317/b3199978-d364-3204-a724-70cd68d5aa37.png)
进程
![](http://dl.iteye.com/upload/attachment/0075/7320/9603f408-8cb4-30b1-882a-08c9f3306c75.png)
![](http://dl.iteye.com/upload/attachment/0075/7322/82f30c33-10c1-3b32-9602-76e96152d044.png)
![](http://dl.iteye.com/upload/attachment/0075/7326/313783d1-50da-3ca5-abc8-c37cd41086f9.png)
如果 一个进程调用了 其他进程的地址空间,或者空的,或者不存在的 地址空间,一定会出现蓝屏。 很可能是木马,或者内存硬件有问题或者操作系统有问题。
![](http://dl.iteye.com/upload/attachment/0075/7328/ded787b4-b35f-3edb-8442-bbf1d0a3dfee.png)
![](http://dl.iteye.com/upload/attachment/0075/7330/d5707104-bad1-341f-8658-037a486e6826.png)
![](http://dl.iteye.com/upload/attachment/0075/7332/c233ac60-9cd8-3e50-af6e-0426e34e5ade.png)
![](http://dl.iteye.com/upload/attachment/0075/7334/3c0f71eb-2880-33a2-bd63-44a4573eba52.png)
![](http://dl.iteye.com/upload/attachment/0075/7336/ae9c3443-882b-31f0-9ce4-aa84becbe69d.png)
详细参见 http://wentao365.iteye.com/blog/1220921
![](http://dl.iteye.com/upload/attachment/0075/7342/985f7ffe-bcf3-394e-ba50-858e55ce0496.png)
设置系统时间
![](http://dl.iteye.com/upload/attachment/0075/7348/947c3b31-2065-3bb8-8166-8fb8829927a4.png)
![](http://dl.iteye.com/upload/attachment/0075/7350/c68c2d73-325d-3986-8997-c3bf6bfbfc2a.png)
监控网络状态信息
![](http://dl.iteye.com/upload/attachment/0075/7388/00f6e708-278b-37ce-a36e-ad7924d24e17.png)
![](http://dl.iteye.com/upload/attachment/0075/7393/24b8d8c3-d1da-31c4-8000-278ad9229df5.png)
![](http://dl.iteye.com/upload/attachment/0075/7395/9215a262-47da-364a-ad31-ba6d2e5bd2d4.png)
![](http://dl.iteye.com/upload/attachment/0075/7405/0a9c4213-2cfc-3896-b075-e1935cfef092.png)
![](http://dl.iteye.com/upload/attachment/0075/7407/3e604c0f-9312-32b2-8ee9-9515ced8d7c6.png)
![](http://dl.iteye.com/upload/attachment/0075/7409/eb874491-6eec-39d2-9b24-9ad05efce347.png)
删除文件,不加 -f 每次都询问 是否删除,加了就不询问
![](http://dl.iteye.com/upload/attachment/0075/7411/cbb98802-77bd-37ba-ae0c-f652256eddb2.png)
mv 修改文件夹或文件 名称
![](http://dl.iteye.com/upload/attachment/0075/7417/c56a28dc-6ea5-39b5-a9c8-b5ca152d582d.png)
安装mysql
![](http://dl.iteye.com/upload/attachment/0075/7450/e2d94110-054f-3adc-b6ad-183c26e578c7.png)
![](http://dl.iteye.com/upload/attachment/0075/7425/aec2e3e6-a2aa-3cbd-9617-330ebffc0c7f.png)
因为之前存在mysql ,用 rpm -e 删除
chown -R root . 修改文件拥有者
![](http://dl.iteye.com/upload/attachment/0075/7428/c9fe2ac5-cddc-307f-8c5e-1e30279d3f6e.png)
![](http://dl.iteye.com/upload/attachment/0075/7452/ae9595f7-bcd0-3faf-a845-5e7edc28676d.png)
![](http://dl.iteye.com/upload/attachment/0075/7456/7c8d48ec-5e88-3daf-8d16-fd36772a7af5.png)
![](http://dl.iteye.com/upload/attachment/0075/7466/e26d5e97-063e-399a-9f04-457fcc49f9e6.png)
环境变量
![](http://dl.iteye.com/upload/attachment/0075/7570/b0af2b85-bdf9-3d9c-b5fd-dd409a9eb8ce.png)
![](http://dl.iteye.com/upload/attachment/0075/7573/26dbb56c-0d8f-3171-b024-7c7490fdd62e.png)
![](http://dl.iteye.com/upload/attachment/0075/7578/ba4dac9d-c37b-3a31-bf7b-a15b32338606.png)
![](http://dl.iteye.com/upload/attachment/0075/7580/6cd0bc58-7160-3f1a-99c1-ee53e6a0a666.png)
mysql 备份与恢复
![](http://dl.iteye.com/upload/attachment/0075/7478/78b334fc-ed1d-3ff3-906f-510b9dbe45d4.png)
![](http://dl.iteye.com/upload/attachment/0075/7474/aa14f2b1-b37e-3012-831e-fa9fe85472c9.png)
![](http://dl.iteye.com/upload/attachment/0075/7476/d2eeda9a-8c4c-33d2-a4d1-a1c6b22317ad.png)
apache
[root@localhost conf]#netstat -an | grep :80 //查看linux80端口是否开启 [root@localhost conf]#ps -aux | grep httpd //linux下查看apache进程
重启apache
![](http://dl.iteye.com/upload/attachment/0075/8076/9fea9a6a-b90e-3d40-96a9-a10f70c85c01.png)
ssh
![](http://dl.iteye.com/upload/attachment/0075/7481/a827d0a3-570a-3e53-9106-47b3726f95bc.png)
![](http://dl.iteye.com/upload/attachment/0075/7483/19e17b51-7758-3c9b-9bd3-38b0039eca88.png)
压缩与解压
![](http://dl.iteye.com/upload/attachment/0075/7621/de33e3fa-52e9-3c6a-8fb0-ae96f9e629cf.png)
![](http://dl.iteye.com/upload/attachment/0075/7617/c3473f1e-6e21-3ebc-b7d7-bee0f7b125ef.png)
![](http://dl.iteye.com/upload/attachment/0075/7631/28ee7b2e-76f9-3aae-bfc9-ef6cbf98f2dc.png)