Nginx Proxy Service E-commerce website Server 1: provide image request response ( apache / nginx ) Server 2: provide dynamic request response ( php-fpm / apache-php ) Server 3: provide static request response ( apache / nginx ) Server 4: provide data request response ( mysql ) It need one additional nginx server 1. Install nginx 2. proxy to specific server Example location / { proxy_pass http://192.168.199.187:80/; } location /bbs/ { proxy_pass http://192.168.199.187:80/bbs/; } location ~* \.(jpg|png|gif)$ { proxy_pass http://172.16.100.7; } Enhance the log information and specific the hostname location / { proxy_pass http://192.168.199.187:80/; proxy_set_header <parameter name> $host; (client requst the hostname ) proxy_set_header <parameter name> $remote_addr; ...
oracle official error explanation http://docs.oracle.com/cd/E11882_01/server.112/e17766/toc.htm 从服务器下载ALERT日志文件,传输方式需要选择"ASCII" ORA-01078: failure in processing system parameters 发生场景:新建数据库第一次启动时 SQL> startup ORA-01078: failure in processing system parameters LRM-00109: could not open parameter file ‘/home/oracle/oracle/product/10.2.0/db_1/dbs/initorcl.ora’ 原因:oracle_sid没有配置正确 解决方案: 1. 修改oracle用户.bash_profile文件中ORACLE_SID后的内容; 2. 重新已oracle用户登录; ORA-01157: cannot identify/lock data file string - see DBWR trace file Cause: The background process was either unable to find one of the data files or failed to lock it because the file was already in use. The database will prohibit access to this file but other files will be unaffected. However the first instance to open the database will need to access all online data files. Accompanying error from the operating system describes why the file could not be identified. Action: Have operating system make file ...
Comments
Post a Comment