http://au.php.net/get/php-5.2.3.tar.gz/from/a/mirror (php-5.2.3)
http://mirror.apache-kr.org/http (apache 2.2.4)
http://dev.mysql.com/get/Downloads/MySQL-5.0/mysql-5.0.41.tar.gz/from/pick?done=fd84035c321b4b (mysql-5.0.41)
서버 구축 하는중인데
메뉴얼 만들어 봐야겠다
지금 페도라 코어6 설치중......................
지금은 기본설치 오피스부분만 체크하고 깔았다.
리눅스 설치 완료 ㅋㅋㅋ
grup 설정 /etc/grub.conf or /boot/grub/grub.conf 에서 설정 멀티부팅시 여기서 설정을 해준다.
리눅스 부팅 레벨 설정 -> /etc/inittab 파일에서 변경할수 있다. 기본설치시 레벨5 x윈도우부팅으로 되어있고 레벨3으로 변경하면 text모드로 부팅된다.
레벨 0 : 시스템 종료(init 0, halt, shudown –h now)
레벨 1 : 싱글모드(관리모드), 콘솔로만 접근가능, root만 허용(init 1)
레벨 2 : NFS를 지원하지 않는 멀티유저 모드(init 2)
레벨 3 : NFS를 지원하는 멀티유저 모드(init 3, full multiuser mode)
레벨 4 : 현재 사용하지 않는 부팅모드(설정하여 사용가능함)
레벨 5 : X윈도우 환경으로 실행된 멀티유저 모드(init 5)
레벨 6 : 서버 재부팅 모드(init 6, reboot, shutdown –r now)
설치시 한글로 설정하고 설치 했을시 .bashrc 파일을 설정함으로 간단한 명령으로
한글 설정과 영어 설정으로 바꿀수 있다.
.bashrc 파일에
alias en='export LANG=en_US'
alias ko='export LANG=ko.KR.UTF-8 '
alias x='export LANG=ko.KR.UTF-8 ; startx' 를 추가하고 재 로그인 했을시에 en,ko,x 라는 명령어로 설정을 변환할수 있다.
vmware에 리눅스 설치후 vmware tool까는 법
VMware Tools for Linux Guests 1. Power on the virtual machine. 2. After the guest operating system has started, prepare your virtual machine to install VMware Tools. ## Choose File > Install VMware Tools. The remaining steps take place inside the virtual machine. 3. Be sure the guest operating system is running in text mode. You cannot install VMware Tools while X is running. 4. As root (su -), mount the VMware Tools virtual CD-ROM image, change to a working directory (for example, /tmp), uncompress the installer, then unmount the CD-ROM image. Note: You do not use an actual CD-ROM to install VMware Tools, nor do you need to download the CD-ROM image or burn a physical CD-ROM of this image file. The VMware Workstation software contains an ISO image that looks like a CD-ROM to your guest operating system. This image contains all the files needed to install VMware Tools in your guest operating system. Note: Some Linux distributions use different device names or organize the /dev directory differently. If your CD-ROM drive is not /dev/cdrom, modify the following commands to reflect the conventions used by your distribution. ## mount /dev/cdrom /mnt ## cd /tmp ## tar zxf /mnt/vmware-linux-tools.tar.gz ## umount /mnt 5. Run the VMware Tools installer. cd vmware-tools-distrib ##./vmware-install.pl 6. Log out of the root account. exit 7. Start X and your graphical environment. 8. In an X terminal, launch the VMware Tools background application. vmware-toolbox & Note: You may run VMware Tools as root or as a normal user. To shrink virtual disks, you must run VMware Tools as root (su -). vmware 홈페이지에 올려져 있는 메뉴얼입니다.. 저 순서대로만 따라하시면 문제 없습니다.. 영어가 주절주절 나와도 명령어들만 잘 따라하시면 문제없으리라 봅니다. ## 으로 표시해놓으신 부분 잘 보시고 따라해보세요 |
다음은 네트워크 설정
콘솔모드에서 setup 명령으로
ip & dns & gateway 설정후 네임서버 추가해주면 된다 네임서버파일은 /etc/resolv.conf에다 nameserver 168.126.63.1을 추가해주면 된다
여기에서 ip와 gateway는 vmware에 edit virtual networking setting에서 나온값과 동일하게 해주면 된다.
rpm --import /etc/pki/rpm-gpg/RPM_GPG-KEY-fedora <- 이키를 포함안하고 yum을 계속 사용하다보면 반드시 에러가 난다.
yum -y update
# 소스 컴파일을 위한 컴파일러 및 각종 모듈 yum 설치
yum -y install gcc cpp gcc-c++ compat-gcc-32-g77 flex libjpeg-devl libpng-devel libtiff-devel freetype-devel openldap-devel pam-devel sendmail-cf vsftpd telnet-server