Linux/Other Distro

Cent OS Tips

smores 2014. 2. 25. 07:05

대부분의 내용은 6.3 또는 6.5 에서 테스트 및 확인한 내용임.


=======================================================

Cent OS 6.2, 6.3 or 6.4 on VirtualBox (Installing Guest Addition)


yum update kernel*

reboot

yum install gcc kernel-devel kernel-headers

KERN_DIR=/usr/src/kernels/`uname -r`  for fedora, centos6, rhel6

KERN_DIR=/usr/src/kernels/`uname -r`-`uname -m`  for centos5, rhel5

export KERN_DIR

cd /media/VBOXADDITONS_4.1.12.77245

./VBoxLinuxAdditions.run

reboot


=======================================================

한글입력기 설치


CentOS6.0 이후터 한글입력기가 SCIM에서 IBUS로 변경되었다.

IBUS가 설치되지 않았다면 아래 명령어로 IBUS 설치한 후,

$ yum install ibus ibus-hangul ibus-anthy

그놈 상단 메뉴의 시스템->기본설정->입력방식->입력방식설정->입력방식 에서 한국어를 선택하면 된다


=======================================================

나눔글꼴 설치


# cd Downloads

 

# wget http://static.campaign.naver.com/0/hangeul/renew/download/NanumFont_TTF.zip

# unzip Nanum*.zip

# mkdir /usr/share/fonts/nanumfont

# mv *.ttf /usr/share/fonts/nanumfont

# wget http://dev.naver.com/frs/download.php/443/ttf-nanum-coding-2.0-2.noarch.rpm

# rpm -i ttf-nanum-coding-2.0-2.noarch.rpm

 

# rm -y Nanum*.zip

# rm -y ttf-*.rpm


=======================================================

install g++ on centos


yun install gcc-c++


=======================================================

install htop on centos


For RHEL, CentOS & Fedora 32-bit OS


## For RHEL 5, CentOS 5 & Fedora ##

# wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm

# rpm -ihv rpmforge-release*.rf.i386.rpm


## For RHEL 6 and CentOS 6

# wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm

# rpm -ihv rpmforge-release*.rf.i686.rpm


For RHEL, CentOS & Fedora 64-bit OS


## For RHEL 5, CentOS 5 & Fedora ##

# wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm

# rpm -ihv rpmforge-release*.rf.x86_64.rpm 


## For RHEL 6 and CentOS 6

# wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm

# rpm -ihv rpmforge-release*.rf.x86_64.rpm


yum install htop


fedora 20 lxde just need yum install htop right after vbox guest addition install / reboot

=======================================================

install MS ttf fonts on CentOS 6.5

$ su

# wget http://www.my-guides.net/en/images/stories/fedora12/msttcore-fonts-2.0-3.noarch.rpm

# rmp -Uvh msttcore-fonts-2.0-3.noarch.rpm


음... 이것만으로는 브라우저에서 윈도우 시스템 글꼴 안나오네...


대신 Share folder 등을 통해 ttf, ttc 폰트를 복사해서

su 계정으로 /usr/share/fonts 폴더 내에 ttf 폴더 하나 만든 후 

# cp *.* /usr/share/fonts/ttf

# fc-cache 

해 주고 나면 잘 보임

=======================================================

install Chrome on CentOS 6.5


$ su

# cd Downloads

# wget http://chrome.richardlloyd.org.uk/install_chrome.sh

# chmod u+x install_chrome.sh

# ./install_chrome.sh

go to applications > internet > chrome


=======================================================

virtualbox CentOS 6.5 folder sharing


under assumption that vbox guest addition was installed aready

$ su

# mount -t vboxsf Share Share


=======================================================

install flash on CentOS 6.5


$ su


for 32bit system

# rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm

# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux

 

for 64bit system

# rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm

# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux


# yum check-update

# yum install flash-plugin nspluginwrapper alsa-plugins-pulseaudio libcurl



=======================================================

=======================================================

=======================================================

'Linux > Other Distro' 카테고리의 다른 글

패키지 관리  (0) 2014.06.04
Openbox Font Rendering Issue  (0) 2014.05.31
virtualbox linux guest mouse problem  (0) 2014.01.24
PUPPY ARCADE  (0) 2013.11.25
conky setup (from crunchbang)  (0) 2013.04.23