分类 Web应用 中的文章

EduSoho程序上线实录

1.1 修改配置文件 location / { index app.php; try_files $uri @rewriteapp; } location @rewriteapp { rewrite ^(.*)$ /app.php/$1 last; } location ~ ^/udisk { internal; root /application/nginx/html/edusoho/app/data/; } location ~ ^/(app|app_dev)\.php(/|$) { fastcgi_pass 127.0.0.1:9000; fastcgi_split_path_info ^(.+\.php)(/.*)$; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param HTTPS off; fastcgi_param HTTP_X-Sendfile-Type X-Accel-Redirect; fastcgi_param HTTP_X-Accel-Mapping /udisk=/application/nginx/html/edusoho/app/data/udisk; fastcgi_buffer_size 128k; fastcgi_buffers 8 128k; } location ~* \.(jpg|jpeg|gif|png|ico|swf)$ { expires 3y; access_log off; gzip off; } location ~* \.(css|js)$ { access_log off; expires 3y; } location ~ ^/files/.*\.(php|php5)$ { deny all; } location ~ \.php$ { fastcgi_pass 127.0.0.1:9000; fastcgi_split_path_info ^(.+\.php)(/.*)$; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param HTTPS off; include fastcgi_params; } }1.2 edusoho站点上线 **第一个里程碑:**上传解压文件 **第二个里程……

阅读全文

Linux企业运维人员最常用150个命令汇总

<td style="padding: 0px 7px; margin: 0px; background: #d9d9d9; border-style: solid solid solid none; border-color: #dddddd;" valign="top" width="470"> <p style="padding: 0px; margin: 0px; clear: both; height: auto; overflow: hidden;"> <span style="padding: 0px; margin: 0px; font-family: 宋体;">功能说明</span> </p> </td> <td style="padding: 0px 7px; margin: 0px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-style: none solid solid none; border-color: #dddddd;" valign="top" width="470"> <p style="padding: 0px; margin: 0px; clear: both; height: auto; overflow: hidden;"> <span style="padding: 0px; margin: 0px; font-family: 'Lucida Console';">查看命令帮助,命……

阅读全文