location ~ .php($|/) { include /etc/nginx/fastcgi_params; fastcgi_pass unix:/var/run/nginx/php-fcgi.socket; fastcgi_index index.php; } index index.html index.php; 요런식으로 세팅하면 아파치에서 처럼 a.php/a/b/c…
- Category Archives 비공개
-
-
NGINX : FcgiExample
FastCGI Example First thing, I recommend keeping all your typical FCGI settings in a single file and importing them. For example you might have an /etc/nginx/fastcgi.conf (or /etc/nginx/fastcgi_params…
-
vsftpd on Centos server 530 login incorrect error – fixed
The settings for disabling anonymous login and allowing local users where set in /etc/vsftpd.conf. anonymous_enable=NOlocal_enable=YESwrite_enable=YES But the ftp server still refused to let me login…
-
Repair a broken Ext4 Superblock in Ubuntu
This has happened to me a few times, and it’s not a nice problem to find yourself in. You computer won’t boot, all your filesystem checks tell you you’ve a bad superblock, but you cant seem to find ho…
-
Linux: Recover Corrupted Partition From A Bad Superblock
Q. How can I Recover a bad superblock from a corrupted ext3 partition to get back my data? I’m getting following error: /dev/sda2: Input/output error mount: /dev/sda2: can’t read superbloc…
-
NGINX: SELinux Changes when Upgrading to RHEL 6.6 / CentOS 6.6
If you upgrade a running system to Red Hat Enterprise Linux (RHEL) 6.6 or CentOS 6.6, the Security Enhanced Linux (SELinux) security permissions that apply to NGINX are relabelled to a much stricter p…
-
How to find MySQL binary logs, error logs, temporary files?
Have you ever spent a lot of time trying to locate where MySQL keeps some file? Here is a quick way to find all this information in one place. The obvious way is through examining database options in …
-
[DB2] how to use Sequence table
1. describe sequence table describe table syscat.sequences; 2. select sequence information SELECT * FROM syscat.sequences; 3. create sequence CREATE SEQUENCE seq_tab START WITH 1 INCREMENT BY 1 NOMAX…
-
VSFTP install on CENTOS7
1. using yum yum -y install vsftpd db4-utils 2. config vi /etc/vsftpd/vsftpd.conf We need to adjust some basic parameters in this file to increase security and establish our connection options. The fi…
-
install PostgreSQL on CentOS7
1. Install ( 2015-04-21 > 최신 버전은 9.4 ) [root@localhost ~]# rpm -Uvh http://yum.postgresql.org/9.4/redhat/rhel-7-x86_64/pgdg-centos94-9.4-1.noarch.rpm http://yum.postgresql.org/9.4/redhat/rhel-7-x…