728x90
반응형
SMALL

개발자 인생/Linux 4

Centos 5.X 버젼 Yum 설치 오류 해결

Centos 5.X 버젼 Yum 설치 오류 해결– 2017년 3월 31일 부터 Centos 5.x 버전은 기본포리지토리에 설정 되어 있는 http://mirror.centos.org 가 정상적으로 작동 하지 않아 아래와 같은 조치 후 yum을 사용 해야 한다.■ 오류 증상[root@youmust ~]# yum list pythonLoaded plugins: fastestmirror, securityDetermining fastest mirrorsYumRepo Error: All mirror URLs are not using ftp, http[s] or file.Eg. Invalid release/YumRepo Error: All mirror URLs are not using ftp, http[s] or ..

보안 인증서 설치 후 HTTPS URL 변경

보안 인증서 설치 후 HTTPS URL 변경서버에 보안 인증서 설치 까지 마친 경우 홈페이지 주소를 강제적으로 http:// 에서 https:// 로 변경해야하는 경우가 있는데 index.php 에서 변경하지 않고 .htaccess 에서 변경하시면 보안 및 변경에 유리점이 있어서 글을 코드를 남겨 놓습니다. RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

MySQL, Apache 자동실행 설정

MySQL 자동실행 설정먼저 /usr/local/mysql/share/mysql/mysql.server 파일을 /etc/init.d 디렉토리에 복사한다.# cp /usr/local/mysql/share/mysql/mysql.server /etc/init.d/mysqld다음과 같이 chkconfig 명령어를 이용하여 mysqld 의 자동 실행을 등록한다.# chkconfig --add mysqldApache 자동실행 설정MySQL 과 같이 /usr/local/apache/bin/apachectl 자동실행 스크립트를 /etc/init.d 디렉토리에 복사한다.# cp /usr/local/apache/bin/apachectl /etc/init.d/httpdApache 의 자동 실행 스크립트 파일은 chkconf..

728x90
반응형
LIST