728x90 반응형 Programming161 [Apache] 시작/정지/재시작 & 에러 발생 시 Apache 시작/정지/재시작 - > [root@user]# service httpd start/stop/restart httpd: Could not reliably determine the server's fully qualified domain name, using example.com for ServerName 위와 같은 에러 발생 시 httpd.conf 에서 SeverName 127.0.0.1 을 추가 한 후 다시 시도하십시오. 2015. 6. 30. [MySQL] 방화벽 Port 추가하기 1. iptable에 3306 포트 허용 추가 // 정책 제일 마지막에 추가[root@root etc]# iptables -A INPUT -p tcp --dport 3306 -j ACCEPT// 정책 제일 처음에 추가[root@root etc]# iptables -l INPUT -p tcp --dport 3306 -j ACCEPT --> #iptables -A INPUT 2015. 6. 30. [MySQL]비밀번호 변경 1. 데이터베이스 확인을 통해 비밀번호가 설정되어있는지 확인한다. mysql> show databases;+--------------------+| Database |+--------------------+| information_schema || mysql || test | +--------------------+ mysql> use mysql;Database changed mysql> select host,user,password from user;+---------------+------+----------+| host | user | password |+---------------+------+----------+| localhost | root | || face-evaluate | root | .. 2015. 6. 30. [MySQL] Can't connect to local MySQL server through socket 가상서버를 처음 설치 후 mysql에 접속시 위와 같은 에러가 뜬다면 service mysqld start 를 통해 mysql을 실행해주자 2015. 6. 30. 이전 1 ··· 33 34 35 36 37 38 39 ··· 41 다음 728x90 반응형