“WEB”的版本间的差异

来自Alex's wiki
跳转至: 导航搜索
前端
Shell及服务器
第44行: 第44行:
 
echo "export TMOUT=1000000" >> .bash_profile
 
echo "export TMOUT=1000000" >> .bash_profile
 
</source>
 
</source>
[http://blog.csdn.net/a491057947/article/details/26841157 shell中if条件字符串、数字比对,  <nowiki> [] 和 [[]] </nowiki>区别]
+
[http://www.cnblogs.com/include/archive/2011/12/09/2307905.html shell中if条件字符串、数字比对,  <nowiki> [] 和 [[]] </nowiki>区别]
  
 
[http://laoguang.blog.51cto.com/6013350/1103628 一步步制作RPM包]<br />
 
[http://laoguang.blog.51cto.com/6013350/1103628 一步步制作RPM包]<br />

2017年5月27日 (六) 08:48的版本

服务器

《Nginx高性能Web服务器详解》笔记

Nginx+FPM结构模型剖析及优化

架构

各大网站架构总结笔记



Shell及服务器

Shell脚本容易写错的几个语法
高并发情况下Linux服务器内核配置

Linux配置使用SSH Key登录并禁用root密码登录

#1、生成密钥
ssh-keygen -t rsa
#2、使用以下命令将公钥导入到VPS:
cat /root/.ssh/id_rsa.pub >> /root/.ssh/authorized_keys
#3、修改SSH的配置文件/etc/ssh/sshd_config :
vi /etc/ssh/sshd_config
:%s/#RSAAuthentication yes/RSAAuthentication yes/g
:%s/#PubkeyAuthentication yes/PubkeyAuthentication yes/g
:%s/#AuthorizedKeysFile/AuthorizedKeysFile/g
 
#禁止密码登录(可选):
:%s/PasswordAuthentication yes/PasswordAuthentication no/g
 
#保存后重启
service sshd restart

CentOS修改主机名方法大全

Linux保持SSH连接时间设置

vi /etc/ssh/sshd_config
:s/#ClientAliveCountMax 3/ClientAliveCountMax 86400/g  
/etc/rc.d/init.d/sshd restart
echo "export TMOUT=1000000" >> .bash_profile

shell中if条件字符串、数字比对, [] 和 [[]] 区别

一步步制作RPM包
RSYNC

前端

Ace

必包传参问题

工具

数据公式:www.mathjax.org