• 임시..
    개발 이야기/인프라 구축 및 운영 2014. 10. 6. 18:51

    => couchbase install


    Centos 6.5


    - iptables 기본으로 enable  >> rule 구성하거나 일단 꺼두기

    service iptables stop


    - eth0 기본으로 off

    vi /etc/sysconfig/network-scripts/ifcfg-eth0 

    # ONBOOT=no


    service network restart


    - sshd 켜기

    service sshd start


    node.js 설치


    - Fedora Extra Packages for Enterprise Linux (EPEL) 저장소 등록

    curl -O http://download-i2.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm

    rpm -ivh epel-release-6-8.noarch.rpm

    - npm 설치 (* node 자동설치)

    yum install npm --enablerepo=epel


    couchbase 설치

    => RPM을 다운 받아서 설치해야 한다.



    => ntfs usb mount



    Yes, you can mount FAT/FAT16/FAT32 without a problem to copy or write files.

    For NTFS you need to install additional repo and install pkgs as follows. For 64 bit CentOS/RHEL 5.x type

    wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm

    For 32bit CentOS/RHEL 5.x type:

    wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el5.rf.i386.rpm

    Install downloaded rpm file:

    rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
    rpm -ivh rpmforge-release*
    yum --enablerepo=rpmforge install fuse fuse-ntfs-3g

    To mount type:

    mkdir /mnt/ExtUSB
    mount -t ntfs-3g -o rw,umask=0000 /dev/sda1 /mnt/ExtUSB/
    cd /mnt/ExtUSB/
    ls -l


    CentOS 6/RHEL 6

     see RHEL / CentOS Linux: Mount and Access NTFS Partition



     => vncserver font error


    The magic combination of yum installs to get this working for me was as follows...

    yum groupinstall -y "X Window System"
    yum install -y  tigervnc-server tigervnc-server-module libXfont pixman xterm xorg-x11-twm
    chkconfig --level 345 vncserver on

    then for convenience maybe something like this to get it going

    echo 'VNCSERVERS="2:root"' >> /etc/sysconfig/vncservers

    This is assuming you are doing this all as root and you are happy to start your vncserver on DISPLAY 2.

    If you get connection refused errors from any attempt to connect to the vncserver once it is running check a couple of things...

    1) Your local firewall (iptables) or otherwise allow comms to 5902 etc.

    2) You have not forbidden remote connection to the vncserver via the VNCSERVERARGS options in /etc/sysconfig/vncservers like this

    VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp -localhost"

    Something like

    tcpdump port 5902

    Can help you decide if it is a local or remote firewall problem etc.

    • Hopefully this will save somebody else hours and hours of frustration



    댓글 0

Designed by Tistory.