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 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!
위와 같이 접속이 되면 정상적으로 작동되는것이다.
초기 id,pass 는 admin 이다.
한글이 깨지면
#vi /etc/init.d/subsonic
export LANG=en_US.UTF-8
추가
http://blog.naver.com/PostView.nhn?blogId=d3vi1&logNo=150155008175
'Linux' 카테고리의 다른 글
ext3_get_inode_loc unable to read inode block error (0) | 2013.07.04 |
---|---|
Centos 5.x 2T 이상 설치하기 (0) | 2013.07.04 |
yum error Existing lock /var/run/yum.pid: another copy is running as pid (0) | 2013.06.20 |
sudo /etc/sudoers is mode 0644 should be 0440 sudo no valid sudoers sources found quitting (0) | 2013.06.20 |
CentOS 6.3 Installation on Software RAID 0 (0) | 2013.06.17 |