본문 바로가기

우분투

터미널에서 삭제가 안될때. Use rm -rf lampp it delete all files and folders contains in lampp directory. 더보기
mysql 접속제한 해제 우분투 설치후 root권한으로 mysql로 들어 갈때나 데이터베이스 생성을 할때 패스워드 오류라는 메세지가 뜰때가 있다.권한 부여가 되지 않아서 그런것이다..아래 내용에 따라 하면 해결. 1. mysql 접속 - mysql -u root -p - pw 입력 2. DB change - use mysql; 3. 계정정보 조회 - select host, user, password from user; - 출력결과 +-----------+------+-------------------------------------------+ | host | user | password | +-----------+------+-------------------------------------------+ | localhost .. 더보기
php on ubunto 환경설정 문서 http://wiki.jetbrains.net/intellij/Configuring_PHP_development_environment_on_Ubuntu#Checking_the_Installation 더보기
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.. 더보기
dev에서 root 유저로 바꾸기 및 ssh 외부접속. 1. 유저 바꾸기 => su root 2. 우분투에서 터미널을 이용한 외부 ssh 이동(접속) => ssh -p portname username@address or domain name 포트가 22 일때는 p옵션 줄 필요 없다. 3. tar 압축 하기 풀기=> tar -cvzf filename / tar -xvzf filename 더보기