상단

SUlinux를 정리 합니다.

 
 

SULinux 설정


Network

 
 

yum

  • yum 기본 정보

    • Folder : /etc/yum.repos.d/

     
  • vi /etc/yum.repos.d/SUL-Base.repo

    • $releasever : 5

    • $basearch : i386, x86_64, alpha, s390x, ia64, s390

 
 [base](base.md)
 name=CentOS-5 - Base
 mirrorlist=http://mirrorlist.centos.org/?release=5&arch=i386&repo=os
 #baseurl=http://mirror.centos.org/centos/5/os/i386/
 gpgcheck=1
 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 
 
 #released updates
 [updates](updates.md)
 name=CentOS-5 - Updates
 mirrorlist=http://mirrorlist.centos.org/?release=5&arch=i386&repo=updates
 #baseurl=http://mirror.centos.org/centos/5/updates/i386/
 gpgcheck=1
 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
 
 #packages used/produced in the build but not released
 [addons](addons.md)
 name=CentOS-5 - Addons
 mirrorlist=http://mirrorlist.centos.org/?release=5&arch=i386&repo=addons
 #baseurl=http://mirror.centos.org/centos/5/addons/i386/
 gpgcheck=1
 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
 
 #additional packages that may be useful
 [extras](extras.md)
 name=CentOS-5 - Extras
 mirrorlist=http://mirrorlist.centos.org/?release=5&arch=i386&repo=extras
 #baseurl=http://mirror.centos.org/centos/5/extras/i386/
 gpgcheck=1
 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
 
 #additional packages that extend functionality of existing packages
 [centosplus](centosplus.md)
 name=CentOS-5 - Plus
 mirrorlist=http://mirrorlist.centos.org/?release=5&arch=i386&repo=centosplus
 #baseurl=http://mirror.centos.org/centos/5/centosplus/i386/
 gpgcheck=1
 enabled=0
 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
 
 #contrib - packages by Centos Users
 [contrib](contrib.md)
 name=CentOS-5 - Contrib
 mirrorlist=http://mirrorlist.centos.org/?release=5&arch=i386&repo=contrib
 #baseurl=http://mirror.centos.org/centos/5/contrib/i386/
 gpgcheck=1
 enabled=0
 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
 
  • vi /etc/yum.repos.d/SUL-Media.repo

 
 [c5-media](c5-media.md)
 name=CentOS-5 - Media
 baseurl=file:///media/CentOS/
         file:///media/cdrom/
         file:///media/cdrecorder/
 gpgcheck=1
 enabled=0
 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
 
  • vi /etc/pki/rpm-gpg/RPM-GPG-KEY-beta

 
 -----BEGIN PGP PUBLIC KEY BLOCK-----
 Version: GnuPG v1.2.6 (GNU/Linux)
 
 mQGiBEWfBuERBACrwDH+6QvpyaOgzhXiemsIX+q4HlhX/HDmrmZOUd7i9VmZNogP
 6LRRiTygn2+UphaGV3NDA36ZB/1JRpgvgpzbpZNeAoFvsljIbxGIwkH2JgRF6oNo
 eGB3QYzDQJvYVIejk79M0ed3oor4w8OiNVcdxLyVIthFrjrrCqwRP3bLZwCgtY9t
 Ezf5WL63Ue45vdht7A2GH+0D/iNAnWKsU7FUMFZrcwMaMbyP7YG8z0+zXUOgtgyP
 tbgJG5yikNT3vJypb42gbKfcriUUDC5AeiRmkR8QPvYuOm34rM90+wx2LGqXWnHM
 IyLAyl8TS3MQmePem8bfTGTNYxtt3Q7iadez2WYTLBSlmM6hbxZfdwm1hhyM0AJU
 YyFUA/9kHH+CUBxKb1UgG7TSp53Po/5p/Yyuty+RJ7zIGv6SiN/JK4/ntWfm5WS5
 ZprSdE5ODoFQ/Gs3/VB/eolg2fBW1DcftH6lKHT3GKEOaicGX+T9eOMerZZedm5U
 vDA9mFvWnOdOxK8LuRgVqip4jCnWICchpatmdP0whJQHQ6MGLLRMQ2VudE9TLTUg
 QmV0YSBLZXkgKENlbnRPUyA1IEJldGEgU2lnbmluZyBLZXkpIDxjZW50b3MtNS1i
 ZXRhLWtleUBjZW50b3Mub3JnPohkBBMRAgAkBQ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ebWLoPwNTiE8EGBECAA8FAkWfB7MC
 GwwFCRLMAwAACgkQqKRH3OhWKJfvvACfbsF1WK193zM7vSc4uq51XsceLwgAoI0/
 9GxdNhGQEAweSlQfhPa3yYXH
 =o/Mx
 -----END PGP PUBLIC KEY BLOCK-----
 
  • yum clean all

  • apmtools : APM Install Tools로 설치한 프로그램을 모두 삭제 한다.

  • yum remove APM_Install-tools

  • 참고 문헌

 
 

APMtools


  • apmtools

 
 yum update APM_Install-tools
 
  • MySQL

    • /usr/local/mysql_version

    • vi /etc/my.cnf

     
  • Apache

    • /usr/local/apache_version

    • vi /usr/local/apache/conf/httpd.conf

    • Document Root : /var/www/html

    • User:Group : daemon:daemon

     
  • php

    • /usr/local/php : /usr/local/php_version

    • vi /usr/local/lib/php.ini

    • Source : /usr/local/src/php-5.3.3/

    • zip 모듈 설치

 
 cd /usr/local/php/bin
 ./pecl install zip
 
  • PHP Compile Options

 
 --with-curl --with-gd --with-zlib
 

참고 문헌


 

분류: _Linux

최종 수정일: 2024-09-30 12:26:18

이전글 :
다음글 :