4. MySQL
yum -y install mysql mysql-* -----> 5.1 버전으로 깔림 # error MySQL: Error 1045 (28000): Access denied for user ‘root’@'localhost’ (using password: NO) I’ve upgraded MySQL server version to 5.1.54-1ubuntu4 and when I try to connect to the database I’m getting this error: 1 2 3 $ mysql -u root Error 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) Maybe updating the package ..
3. apache2와 tomcat 연동
tomcat-connectors-1.2.37-src.tar.gz 다운 tomcat-connectors-1.2.37-src\native\ # 실행 ./buildconf.sh ./configure --with-apxs=/usr/local/apache2/bin/apxs make make install apache2/modules/jk_mod.so 생성 /usr/local/apache2/conf/httpd.conf 맨밑에추가 LoadModule jk_module modules/mod_jk.so JkWorkersFile conf/workers.properties JkShmFile logs/mod_jk.shm JkLogFile logs/mod_jk.log JkLogLevel info JkLogStampFormat ..
2. tomcat8 설치
http://tomcat.apache.org/download-80.cgi /usr/local/tomcat8 --> 압축푼폴더 localhost:8080 으로 접속 시에 톰캣 사이트가 열리면 성공 #vi /etc/profile 을 다음의 내용을 추가한다. #TOMCAT7 export CATALINA_HOME=/usr/tomcat7/apache-tomcat-7.0.22 export PATH=$PATH:$CATALINA_HOME/bin #source /etc/profile 실행