본문 바로가기 메뉴 바로가기

뭐든지하는 웹개발

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

뭐든지하는 웹개발

검색하기 폼
  • 분류 전체보기 (169)
    • serverSide (141)
      • windows (17)
      • Linux (64)
      • ASP (13)
      • PHP (14)
      • MSSQL (24)
      • MariaDB(MYSQL) (6)
      • Python (2)
    • clientSide (11)
      • javascript (11)
      • html (0)
      • css (0)
    • IDE (10)
      • VSCODE (6)
      • GIT (4)
    • 일상 (6)
      • 이야기 (6)
  • 방명록

serverSide (141)
CentOS7 + nginx + PHP7 + codeIgniter 세팅기

어렵지 않은걸 어렵게 돌아갔다.. 우선 nginx + php7 설치 후 연동까지는 많은 블로그들에 정보가 있다. 중요한점은 /etc/nginx/conf.d/*.conf 파일의 아래부분에 unix:/var/run/php-fpm/php-fpm.sock;와/etc/php-fpm.d/www.conf 설정에 listen = /var/run/php-fpm/php-fpm.sock이 동일해야한다는것정도 location ~ \.php$ { 72 fastcgi_split_path_info ^(.+\.php)(/.+)$; 73 fastcgi_index index.php; 74 fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock; 75 fastcgi_param PATH_INFO $fastcg..

serverSide/Linux 2017. 4. 6. 20:13
CentOS 7 nginX 가상 호스트 설정

일단 호스트 관련 파일이 /etc/nginx/conf.d/ 폴더 안에 있다.. nginx를 설치하면 위 폴더 안에 default.conf란 파일이 있을것이다. 이걸 복사해서 호스트명 파일로 변경한다 sudo cp /etc/nginx/conf.d/default.conf /etc/nginx/conf.d/example.conf 파일 복사 후에 sudo vi /etc/nginx/conf.d/example.conf 데이터로 열어서 아래와 같이 변경한다.. 변경하고나면 당연히 재시작 sudo systemctl restart nginx server { listen 80; server_name www.example.com; return 301 $scheme://example.com$request_uri; } serve..

serverSide/Linux 2016. 11. 25. 15:58
CentOS 7 ssh sftp 설정

ssh설정을 완료하고 연결까지는 성공 sftp를 사용해보려고 설정방법을 찾아 그대로 진행했다. # create a group for SFTP [root@dlp ~]# groupadd sftp_users # apply to a user "cent" for SFTP only [root@dlp ~]# usermod -G sftp_users cent [root@dlp ~]# vi /etc/ssh/sshd_config# line 147: comment out and add a line like below #Subsystem sftp /usr/libexec/openssh/sftp-server Subsystem sftp internal-sftp# add follows to the end Match Group sftp..

serverSide/Linux 2016. 11. 24. 12:07
CentOS7 nginX 502 111: Connection refused

https://github.com/php79/stack 위 git을 이용하여 설치함.. 일단 한서버에 다 구축해서 테스트를 진행할 예정이라 한방에... 여기서 발생하는 문제들은 설정파일들의 경로가 기존경로랑 좀 다르다는것.. nginx에서 php로 연결되는 포트가 다르다는것.. 정도? 다 설치된 후에 nginx에서 php연결부분은 따로 설정은 해줘야함 nginx 설정폴더 경로 /etc/nginx/conf.d php 설정폴더 경로 /etc/opt/remi/php70 설정 파일 수정 nginx /etc/nginx/conf.d/default.conf location / { root /usr/share/nginx/html; index index.html index.htm index.php; } location ..

serverSide/Linux 2016. 11. 18. 09:41
CentOS 7 ssh 설정

편집기로 설정파일 오픈 vi /etc/ssh/sshd_config 루트권한으로 접속안되게 설정PermiRootLogin no 재시작systemctl restart sshd 방화벽설정 firewall-cmd --add-service=ssh --permanent 방화벽재시작 firewall-cmd --reload 포트를 변경할 경우엔 아래글 참고 http://rootjs.tistory.com/entry/CentOS7-SSH-%EC%84%A4%EC%A0%95

serverSide/Linux 2016. 11. 17. 09:39
이전 1 ··· 22 23 24 25 26 27 28 29 다음
이전 다음

Designed by Tistory / Modified by 택대리
  • 분류 전체보기 (169)
    • serverSide (141)
      • windows (17)
      • Linux (64)
      • ASP (13)
      • PHP (14)
      • MSSQL (24)
      • MariaDB(MYSQL) (6)
      • Python (2)
    • clientSide (11)
      • javascript (11)
      • html (0)
      • css (0)
    • IDE (10)
      • VSCODE (6)
      • GIT (4)
    • 일상 (6)
      • 이야기 (6)
  • 방명록

티스토리툴바