본문 바로가기
728x90

콤퓨타/Linux43

centos에 mysql 설치 mysql 소스 다운로드해서 압축풀고 시작 ./configure --prefix=[설치위치] --localstatedir=[DB가위치할곳] --sysconfdir=/etc --with-charset=utf8makesudo make install *** No curses/termcap library found 라는 에러가 뜰 경우의 해결법은 맨 밑에 보셈 설치 끝이제 DB 폴더를 생성해야함[설치위치]/bin/mysql_install_db 하면 위에서 지정한 위치에 폴더가 생성됨 얘네들 모두 사용자 그룹을내껄로 바꿔줄 것 !! mysql실행[설치위치]/bin/mysqld_safe & 이제 다른 쉘에서[설치위치]/share/mysql/mysql.server start 참고,출처:http://blog.daum... 2013. 4. 29.
gcc 소스 다운로드 사이트 http://ftp.gnu.org/gnu/gcc/gcc-4.6.4/ 2013. 4. 28.
gcc 버전 업그레이드 (우분투) 예시는 4.6에서 4.7로 업그레이드. sudo add-apt-repository ppa:ubuntu-toolchain-r/test sudo apt-get update sudo apt-get install gcc-4.7 g++-4.7 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.6 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.6 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.7 40 --slave /usr/bin/g++ g++ /usr/bin/g++-4.7 sudo update-alternatives --config gcc -.. 2013. 2. 20.
Ubuntu 10.04 64bit - nvidia 드라이버 설치할 때 nouveau 관련 에러 설치할 때 nouveau 때매 설치 안된다 머시기 이런거 나오면 얘네가 작동 안하게 해줘야 함. ( disable nouveau kernel driver ubuntu 10.04 ) 방법 ㄱㄱ 1. Blacklist the nouveau driver : Add below line to /etc/modprobe.d/blacklist.conf fileblacklist nouveau2. Reboot the system to runlevel 3 (without graphics) 1) sudo vi /etc/init/rc-sysinit.conf 2) In the file that opens search for the line env DEFAULT_RUNLEVEL=3 3) sudo vi /etc/init/gdm.co.. 2013. 2. 20.
728x90