Linux

subsonic 설치(cenots)

Naan 2013. 6. 21. 13:57
320x100

subsonic 설치방법(Centos 5.5기준)

subsonic은 java가 필요하다 

자신의 linux 장비에 java 버전확인

# java -version

java version "1.4.2"

gij (GNU libgcj) version 4.1.2 20080704 (Red Hat 4.1.2-54)


Copyright (C) 2006 Free Software Foundation, Inc.

This is free software; see the source for copying conditions.  There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


보면 자바 버전이 1.4.2 버전인다 subsonic 을 설치하려면 1.6버전 이상이여야 한다.



yum 으로 java 1.6.0 설치 해보자

#yum install java-1.6.0-openjdk

Loading "installonlyn" plugin

Setting up Install Process

Setting up repositories

Reading repository metadata in from local files

Reducing CentOS-5 Testing to included packages only

Finished

Parsing package install arguments

Resolving Dependencies

--> Populating transaction set with selected packages. Please wait.

---> Downloading header for java-1.6.0-openjdk to pack into transaction set.

java-1.6.0-openjdk-1.6.0. 100% |=========================|  89 kB    00:00     

---> Package java-1.6.0-openjdk.x86_64 1:1.6.0.0-1.40.1.11.11.el5_9 set to be updated

--> Running transaction check

--> Processing Dependency: tzdata-java for package: java-1.6.0-openjdk

--> Restarting Dependency Resolution with new changes.

--> Populating transaction set with selected packages. Please wait.

---> Downloading header for tzdata-java to pack into transaction set.

tzdata-java-2013c-1.el5.x 100% |=========================|  73 kB    00:00     

---> Package tzdata-java.x86_64 0:2013c-1.el5 set to be updated

--> Running transaction check


Dependencies Resolved


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

 Package                 Arch       Version          Repository        Size 

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

Installing:

 java-1.6.0-openjdk      x86_64     1:1.6.0.0-1.40.1.11.11.el5_9  updates            36 M

Installing for dependencies:

 tzdata-java             x86_64     2013c-1.el5      updates           185 k


Transaction Summary

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

Install      2 Package(s)         

Update       0 Package(s)         

Remove       0 Package(s)         


Total download size: 37 M

Is this ok [y/N]: y

Downloading Packages:

(1/2): java-1.6.0-openjdk 100% |=========================|  36 MB    00:04     

(2/2): tzdata-java-2013c- 100% |=========================| 185 kB    00:00     

Running Transaction Test

Finished Transaction Test

Transaction Test Succeeded

Running Transaction

  Installing: tzdata-java                  ######################### [1/2] 

  Installing: java-1.6.0-openjdk           ######################### [2/2] 


Installed: java-1.6.0-openjdk.x86_64 1:1.6.0.0-1.40.1.11.11.el5_9

Dependency Installed: tzdata-java.x86_64 0:2013c-1.el5

Complete!


정상적으로 설치가 되었는지 확인해보자
#java -version
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.11) (rhel-1.40.1.11.11.el5_9-x86_64)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)


이제 subsonic 구동시켜보자

#service subsonic restart
Stopping subsonic ...                                      [  OK  ]
Starting subsonic ...
Started Subsonic [PID 9401, /var/subsonic/subsonic_sh.log]

http://localhost:4040 접속

위와 같이 접속이 되면 정상적으로 작동되는것이다.

초기 id,pass 는 admin 이다.


한글이 깨지면

#vi /etc/init.d/subsonic

export LANG=en_US.UTF-8

추가


http://blog.naver.com/PostView.nhn?blogId=d3vi1&logNo=150155008175





320x100