전체 글
-
Apache 2.4 /CentOS 7 가상호스팅 설정하기LINUX 2017. 3. 24. 16:31
107 서버 Apache 2.4 CentOS 7 환경에서 작업되었습니다. 아파치 2.2 에서는 vi /etc/httpd/conf/httpd.conf 파일에서 ServerName 111.222.333.444 DocumentRoot /home/users/dootoriftp8/ 가상호스트 추가후 아파치 리스타트를 해주면 적용된다. 그런데 아파치 2.4 에서는 적용이 안되었다. 아파치 2.4 vi /etc/httpd/conf/httpd.conf 파일에서 Options Indexes FollowSymLinks AllowOverride All Require all granted ServerName 111.222.333.444 DocumentRoot /home/users/dootoriftp8/ systemctl st..
-
리눅스 네트워크 잡기LINUX 2017. 3. 23. 15:24
ping www.google.co.kr 을 했더니 , ping: unknown host www.google.co.kr 이 나왓다. 뭔가 네트워크 설정이 제대로 안되어서 이런문제가 생긴듯하다. 1. vi /etc/sysconfig/network-scripts/ifcfg-eth0 파일 열기 (ifcfg-eno1 일 수도 있다.) DEVICE=eth0TYPE=EthernetUUID=a89ea4c3-ae10-4999-93aa-51b790a0abe3NM_CONTROLLED=yesBOOTPROTO=staticONBOOT=yesIPADDR= 서버 아이피GATEWAY= 게이트웨이NETMASK= 넷마스크HWADDR=00:1F:29:32:24:BC 이런식으로 알맞게 설정해준다. 2. /etc/init.d/network r..
-
CentOS7 php 설치하기LINUX 2017. 3. 22. 16:02
이글은 CentOS Linux release 7.3.1611 (Core) 서버에서 작업되었습니다. 설치가 되어있을때 , 버전이 나온다.[root@cobuy-0884 ~]# php -vPHP 5.2.16 (cli) (built: Jul 2 2016 23:09:09) Copyright (c) 1997-2010 The PHP GroupZend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technolo..
-
-
CentOS7 mysql 설치하기LINUX 2017. 3. 22. 15:33
이글은 CentOS Linux release 7.3.1611 (Core) 서버에서 작업되었습니다. 글 중간에 나오는 systemctl 명령어는 CentOS 7 부터 가능한 명령어로 , 6점대 버전에서는 도움이 되지 않습니다. mysql 이설치가 되어있을때 , 버전이 나온다. [root@cobuy-0884 ~]# mysql --versionmysql Ver 14.14 Distrib 5.1.69, for unknown-linux-gnu (x86_64) using readline 5.1[root@cobuy-0884 ~]# rpm -qa | grep mysqlmysql-connector-odbc-5.1.5r1144-7.el6.x86_64mysql-libs-5.1.73-3.el6_5.x86_64 설치가 되어있지 ..
-
리눅스 ssh ,http 외부네트워크 접속환경구축LINUX 2017. 3. 22. 14:46
이글은 CentOS Linux release 7.3.1611 (Core) 서버에서 작업되었습니다. 1. 네트워크 설정이 완료되어있다. -> 네트워크 설정 vi /etc/sysconfig/network-scripts/ifcfg-eno1 vi /etc/sysconfig/network-scripts/ifcfg-eth0 둘중 하나가 있을것이다. 이 파일을 [root@cobuy-0938 ~]# vi /etc/sysconfig/network-scripts/ifcfg-eno1 TYPE=EthernetBOOTPROTO=staticDEFROUTE=yesPEERDNS=yesPEERROUTES=yesIPV4_FAILURE_FATAL=noIPV6INIT=yesIPV6_AUTOCONF=yesIPV6_DEFROUTE=yesIPV..