'CentOS'에 해당되는 글 5건

카테고리 없음

# yum install vnc-server

# vim /etc/sysconfig/vncservers

add

VNCSERVERS="1:root"
VNCSERVERARGS[2]="-geometry 1920x1080"

save and quit

# vncpasswd
password : *****
verify : *****

# service vncserver start
# service vncserver stop

# vim /root/.vnc/xstartup

edit
#twm & <- add annotation
gnome-session &

save and quit

# service vncserver start
# chkconfig vncserver on


vnc viewer

contact url
http://www.tightvnc.org/
download TightVNC

login ip -> ex) 10.10.10.10:1
1 is first session("1:root") not port

카테고리 없음

1. yum install *priorities

2. check "enabled = 1" in "/etc/yum/pluginconf.d/priorities.conf"

3. [base], [addons], [updates], [extras] = priority=1

4. [centosplus],[contrib] = priority=2

5. add rpmforge.repo
# Name: RPMforge RPM Repository for Red Hat Enterprise 5 - dag
# URL: http://rpmforge.net/
[rpmforge]
name = Red Hat Enterprise $releasever - RPMforge.net - dag
#baseurl = http://apt.sw.be/redhat/el5/en/$basearch/dag
mirrorlist = http://apt.sw.be/redhat/el5/en/mirrors-rpmforge
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 1
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1
priority=20

6. uname -i
i386 - http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.i386.rpm
x86_64 - http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm

7. install DAG's GPG key
rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt

8. check rpmforge release file
rpm -K rpmforge-release-0.5.1-1.el5.rf.*.rpm

9. install rpmforge
rpm -i rpmforge-release-0.5.1-1.el5.rf.*.rpm

10. check yum
yum check-update

......
Loading "priorities" plugin

**packages excluded due to repository priority protections

11. success
카테고리 없음

Hi all.

Centos install use to xen,nfs and virt-install script.

. First step.

Install xen, nfs, portmap.

#> yum update
#> yum install xen kernel-xen


. Second step.

nfs setting and service start

#> vim /etc/exrpots

write share point in exports file (/etc/exports)

/media/CentOS_5.2_Final   *(rw)       # all ip approach

. Third step.


start nfs service and portmap

#> service nfs restart
#> service portmap restart

#> rpcinfo -p

runing check nfs and portmap.

program    vers    proto    port
100000      2         tcp       111        portmapper
100000      2         udp      111        potmapper
100003      2         udp     2049       nfs
100003      3         udp     2049       nfs
100003      4         udp     2049       nfs
100003      2         tcp      2049       nfs
100003      3         tcp      2049       nfs
100003      4         tcp      2049       nfs
100005      1         udp      800       mountd
100005      1         tcp       803       mountd
100005      2         udp      800       mountd
100005      2         tcp       803       mountd
100005      3         udp      800       mountd
100005      3         tcp       803       mountd


. Fourth step.

mount directory (CentOS CD path)

#> mount your_pc_ip_address:/media/CentOS_5.2_Final/ /mnt/centos

. Fiveth step.

Start CentOS install .

#> virt-install

What is the name of your virtaul machine?  vm01

How much RAM should be allocated (in megabytes)? 512

What would you like to use as the disk (path)? /vm/vm01.img

What would you like the disk to be (in gigabytes)? 8

Would you like to enable graphics support? (yes or no) no

What is the install locatio? /mnt/centos


Start install.

. Sixth step.

1. Select 'NFS imge'
2. Select 'DHCP'
3. Input your IP and install locaion path.
- NFS server name : your_pc_ip_address       <enter>
- CentOS directory : /media/CentOS_5.2_Final            <enter>


- The end -







카테고리 없음

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.
카테고리 없음
Windows Drive mount Used to ntfs-3g

   1. yum-priorities package install for rpmforge add to yum
     [root@localhost ~]# yum install yum-priorities -y

   2. "priority=N" add to /etc/yum/pluginconf.d/priorities.conf

     [root@localhost ~]# vi /etc/yum/pluginconf.d/priorities.conf
     [main]
      enabled = 1
      check_obsoletes = 1
      priority=2

   3. Install rpmforge 

   [root@localhost ~]# rpm -ivh http://apt.sw.be/redhat/el5/en/i386/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

   4. update yum 

   [root@localhost ~]# yum check-update

   5. install "fuse", "fuse-ntfs-3g", "dkms", "dkms-fuse"

  [root@localhost ~]# yum install fuse fuse-ntfs-3g dkms dkms-fuse -y

   6. make directory "windows" for mount ntfs

   [root@localhost ~]# mkdir /windows

   7. mount ntfs filesystem to "/windows" , type is ntfs-3g

   [root@localhost ~]# mount -t ntfs-3g /dev/sda1 /windows
   [root@localhost ~]# ls -al /windows/

1
블로그 이미지

개발자

우와신난다