반응형

2015/03 4

The requested URL /index.html was not found on this server. You don't have permission to access index.html on this server.

The requested URL /index.html was not found on this server. 라는 메세지와 함께웹페이지 접속이 안된다. 아파치 권한 문제다.# chorn -R apache:apache /var/www/html/# chmod 711 -R /var/www/html 이렇게 했는데도 안된다면 # chcon -R -t httpd_user_content_t /var/www/html/# chcon -R -t httpd_sys_content_t /var/www/html/ 해주면 정상적으로 접속이 된다. You don't have permission to access index.html on this server.위 메시지도 동일하다.위 방법으로 해주면 정상적으로 작동이 된다.

Linux 2015.03.31

xfs 파일 시스템 복구하기 mount: structure needs cleaning

mount: structure needs cleaning 라는 메세지와 함께mount가 안된다. xfs 파일 시스템이 문제가 생겨서 위와 같이 에러가 발생이 된다. xfs는 repair 명령어가 지원이 된다. 명령어들이 몇가지 있다 일반적으로# xfs_repair -f /dev/sda xfs 로그 복구# xfs_repair /dev/sda xfs 일반적인 방법이 아닌경우 -L 옵션을 사용하면 된다. 하지만 데이터 손실이 일어날수 있으니 조심하자# xfs_repair -v -L /dev/sda xfs 확인# xfs_check /dev/sda 2>&1 | tee log.log - 모두 복구 됐다면 재 마운트를 하자# mount -t xfs /dev/sda

Linux 2015.03.26

bigbluebutton 화상회의 오픈소스

화상회의를 할수 있는 오픈소스 기반의 bigbluebutton이다. 가상화 vm 을 지원하니 이걸 다운받아서 설치하거나 하나씩 설치하면 된다.귀찮으니 난 vm 으로https://code.google.com/p/bigbluebutton/wiki/BigBlueButtonVM최신 버전은 0.9.0 이지만 vm 버전은 0.8.1 이다다운을 받아서 가상화에 넣고 부팅을 시키자 로그인 창이 뜬다기본 계정은 : firstuser기본 암호는 : default 입력을 하면 새 암호를 넣으라고 한다 새로운 암호를 입력하자 부팅이 끝났다 IP셋팅을 하자# vi /etc/network/interface# This file describes the network interfaces available on your system#..

Ubuntu 2015.03.25

error 2002 (hy000) can't connect to local mysql server through socket '/tmp/mysql.sock' (111)

# mysql -u root error 2002 (hy000) can't connect to local mysql server through socket '/tmp/mysql.sock' (111)접속 하려고 했더니 위와 같이 에러가 발생이 된다. # rm -rf /var/lib/mysql/mysql.sock# service mysqld restartStopping mysqld: [ OK ]Starting mysqld: [ OK ]# mysql -u rootWelcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id is 4Server version: 5.1.71-log Source distribution Copyright..

Linux 2015.03.12
728x90
반응형