'install'에 해당되는 글 5건

카테고리 없음

Installing Mercurial on CentOS5.2

Make sure you have installed the python-devel package.

[ root@vmtest ~] # yum install python-devel
[ root@vmtest ~] # cd /usr/local/src
[ root@vmtest /usr/local/src ] # wget http://www.selenic.com/mercurial-stable-snapshot.tar.gz
[ root@vmtest /usr/local/src ] # tar xvfz mercurial-stable-snapshot.tar.gz
[ root@vmtest /usr/local/src ] # cd mercurial-a679bd371091
[ root@vmtest /usr/local/src ] # make all
[ root@vmtest /usr/local/src ] # make install


This will install your python modules in /usr/local/lib/python2.4/site-package/
A simple symlink will fix that.

[ root@vmtest /usr/local/src ] # ln -s /usr/local/lib/python2.4/site-packages/mercurial \
/usr/lib/python2.4/site-packages/
[ root@vmtest /usr/local/src ] # ln -s /usr/local/lib/python2.4/site-packages/hgext \
/usr/lib/python2.4/site-packages/

Now test the install by running:
[ root@vmtest /usr/local/src ] # hg help
카테고리 없음

1. We need to have php5, gcc, gcc-c++, autoconf, automake and apache server installed.

2. Need to install php-pecl* and php-pear.

3. #> yum install php-pecl*     <enter>

4. #> yum install php-devel     <enter>

5. #> yum install php-pear      <enter>

6. #> pecl install Xdebug        <enter>

7. Need to configure your PHP to load the extension.
[Xdebug]
xdebug.profiler_enabl = 1
xdebug.profiler_output_dir = /tmp


8. apache server restart.
카테고리 없음

퍼옴

// --------------------------------------------------------------------------- 
OS : CentOS release 5.2 

* OS 설치시 package Group 내가 선택한 것.. 
- Editors 
- Engineering and Scientific 
- Development Tools 
- Administration Tools 
- System Tools 


mysql 설치 
mysql-5.0.24 

configure 시 오류 메세지 
오류 메세지 : checking for termcap functions library... configure: error: No curses/termcap library found 
해결 방법 : yum -y install ncurses-devel 

./configure --prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/data --with-charset=euckr --enable-thread-safe-client 
make && make install 

# cd /usr/local/mysql/bin 
# ./mysql_install_db 
# useradd -M mysql 
# chown -R mysql:mysql /usr/local/mysql/data 
# /usr/local/mysql/bin/mysqld_safe & 
# cd /usr/local/mysql/bin 
# ./mysqladmin -u root password 암호 
# ./mysql -u root -p mysql 

apache 설치 
httpd-2.0.63 
접속자 수 최대로 올리기 
# vi server/mpm/prefork/prefork.c 
[EDITOR]#define DEFAULT_SERVER_LIMIT 256 을 
[EDITOR]#define DEFAULT_SERVER_LIMIT 1280 으로 수정 
저장하고 아웃 
# vi server/mpm/worker/worker.c 
[EDITOR]#define DEFAULT_SERVER_LIMIT 16 을 
[EDITOR]#define DEFAULT_SERVER_LIMIT 20 으로 수정 
저장하고 아웃 
./configure --prefix=/usr/local/apache2 --enable-so --enable-modules=so --with-mpm=worker --enable-rewrite 
make && make install 


php 설치 
php-5.2.6 
configure 시 오류 
오류 메세지 : configure: error: xml2-config not found. Please check your libxml2 installation 
해결 방법 : yum install libxml2 libxml2-devel -y 

오류 메세지 : configure: error: Please reinstall the BZip2 distribution 
해결 방법 : yum -y install bzip2-devel 

오류 메세지 : configure: error: libjpeg.(a|so) not found. 
해결 방법 : yum -y install libjpeg-devel 

오류 메세지 : configure: error: libpng.(a|so) not found. 
해결 방법 : yum -y install libpng-devel 

오류 메세지 : configure: error: freetype.h not found. 
해결 방법 : yum -y install freetype-devel 

오류 메세지 : configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information. 
해결 방법 : yum -y install libc-client-devel 

오류 메세지 : configure: error: Kerberos libraries not found. 
해결 방법 : yum -y install krb5-devel 

오류 메세지 : configure: error: Cannot find OpenSSL's <evp.h> 
해결 방법 : yum -y install openssl-devel 

./configure --enable-bcmath --enable-ftp --enable-filepro --enable-libxml2 --enable-memory-limit --enable-sockets --enable-spl --enable-sysvsem --enable-sysvshm --enable-track-vars --enable-versioning --enable-wddx --disable-cli --disable-debug --disable-dmalloc --disable-posix --disable-rpath --with-apxs2=/usr/local/apache2/bin/apxs --with-bz2 --with-freetype-dir --with-gd --with-gettext --with-imap=shared --with-jpeg-dir --with-kerberos --with-libxml-dir --with-mod-charset --with-mysql=/usr/local/mysql --with-png-dir --with-ttf --with-zlib --with-mysqli=/usr/local/mysql/bin/mysql_config --with-imap-ssl=/usr/lib --with-openssl 
ssl 추가시  


apache httpd.conf 설정 

NameVirtualHost *:80 
ServerName *:80 

KeepAlive On 
KeepAliveTimeout 2 
(2초간 접속을 끊지 않고 기다린다..) 

Timeout 30 
(dos 공격 방지) 

ServerLimit 20 --> 서버 갯수를 설정 
StartServers 20 --> 아파치를 처음 시작할때 생성하는 서버 갯수 
MaxClients 500 --> ThreadsPerChild * StartServers 값 
ThreadsPerChild 25 --> 서버 하나가 만들어 낼수 있는 쓰레드 갯수입니다. 최대 64개 
MinSpareThreads 25 --> 서버 하나가 만들어 낼수 있는 쓰레드의 최소 갯수입니다. 보통은 ThreadsPerChild 와 맞추어 줌 
MaxSpareThreads 500 --> 시스템 전체에서 만들어 낼수 있는 쓰레드 갯수의 최대치 


<VirtualHost *:80> 
    AddType application/x-httpd-php .php .html .inc .htm 
    #php 를 인식 시킬 확장자 명 
    ServerAdmin 이메일 
    #서버 관리자 이메일 
    DocumentRoot /home/test 
    #html 을 읽을 위치 
    ServerName 도메인 
    #도메인 주소 
#  php_admin_value auto_prepend_file /home/test/move_url/move_page.html 
    #도메인 접근시 최초 열어볼 페이지 주소 
#  RewriteEngine on 
    #Rewrite Engine 사용 여부 
#  RewriteRule ^/([a-zA-Z0-9]+)$ /home/test/rewrite.html?rewrite=$i 
    #Rewrite 사용시 load 할 페이지 주소 
    php_admin_flag register_globals On 
    #register_global 설정 
</VirtualHost> 

apache modules directory에서
#> chcon -c -v -R -u system_u -r object_r -t textrel_shlib_t libphp5.so

카테고리 없음
First
Download httpd source.
http://apache.tt.co.kr/httpd/httpd-2.2.11.tar.gz 

Second
Move and Uncompress.
- mv httpd-2.2.11.tar.gz /usr/local/
- tar xvfz httpd-2.2.11.tar.gz
- cd httpd-2.2.11

Third
Source tree setting. use to "./configure". and make & make install.
- ./configure --prefix=/usr/local/apache2 --enable-rewrite=shared --enable-speling=shared
- make & make install

Fourth
Environmental set. and Start.
- vim /usr/local/apache2/conf/httpd.conf
Edit ServerName,
- /usr/local/apache2/bin/apachectl -f /usr/local/apache2/conf/httpd.conf
카테고리 없음
First,
Download JDK. (J2SE)
- JDK 1.6.0_06 version download
- if break url then try to here

Second,
Move and Run!, bin file.
- mv jdk-6u6-linux-i586.bin /usr/local/
- chmod 755 jdk-6u6-linux-i586.bin
- ./jdk-6u6-linux-i586.bin
- All questions press the "enter"

Third,
Rename Directory.
- mv jdk-6u6-linux-i586 java

fourth,
Enviroment Setting.
- vim /etc/profile
- Go to last line.
- Input this.
PATH="$PATH:/usr/local/java"
export JAVA_HOME="/usr/local/java"
export PATH=$JAVA_HOME/bin:$PATH
- save and exit.
- source /etc/profile

fifth,
Check Java's version
- java -version
- Check 1.6.0_06 version, if you see 1.6.0 then established well.



When you have any questions, send the mail to alloe130@gmail.com.
1
블로그 이미지

개발자

우와신난다