본문 바로가기

Linux

MySQL 비번을 분실하였을때에 비번을 변경하는 방법(우분투) MySQL 비번을 분실하였을때에 비번을 변경하는 방법입니다. sudo /etc/init.d/mysql stop mysqld 이 중지된것을 확인한 후, sudo mysqld_safe --skip-grant & 그렇게 되면 승인 절차를 거치지 않도록 mysqld 데몬이 실행될것이다. 자, 이제 MySQL 패스워드를 바꿔봅시다. sudo mysql 아래와 같이 입력하시면 비번을 복구하실수 있습니다. use mysql; UPDATE user SET password=PASSWORD('변경할패스워드') where user='root'; FLUSH PRIVILEGES; quit 이제 MySQL데몬을 중지합시다. sudo killall mysqld_safe 다시 MySQL데몬을 시작합시다. sudo /etc/init... 더보기
Could not reliably determine the server's fully qualified domain name (우분투에서 apache설치중 오류) This is just a friendly warning and not really a problem (as in that something does not work). If you insert aServerName localhost in either httpd.conf or apache2.conf in /etc/apache2 and restart apache the notice will disappear. If you have a name inside /etc/hostname you can also use that name instead of localhost. And it uses 127.0.1.1 if it is inside your /etc/hosts:127.0.0.1 localhost 127.0.. 더보기
리눅스 apm 설치 리눅스 apm 설치 *설치1) apache2 설치$ sudo apt-get install apache22) mysql 설치$ sudo apt-get install libapache2-mod-auth-mysql$ sudo apt-get install mysql-server mysql-client3) php 설치$ sudo apt-get install php5-common php5 libapache2-mod-php5$ sudo apt-get install php5-mysql4) apache 재시작$ sudo /etc/init.d/apache2 restart * 구동확인$ sudo netstat -tap | grep mysql * Apache 설정 파일 위치/etc/apache2/apache2.conf * A.. 더보기