-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NetRadioサーバー #14
Comments
|
RPMforgeをインストール[hoge@moge]# wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm
--2015-09-10 19:10:44-- http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm
Resolving packages.sw.be (packages.sw.be)... 78.46.17.228
Connecting to packages.sw.be (packages.sw.be)|78.46.17.228|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm [following]
--2015-09-10 19:10:45-- http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm
Resolving pkgs.repoforge.org (pkgs.repoforge.org)... 78.46.17.228
Connecting to pkgs.repoforge.org (pkgs.repoforge.org)|78.46.17.228|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://rpmforge.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.5.2-2.el5.rf.i386.rpm [following]
--2015-09-10 19:10:46-- http://rpmforge.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.5.2-2.el5.rf.i386.rpm
Resolving rpmforge.sw.be (rpmforge.sw.be)... 78.46.17.228
Connecting to rpmforge.sw.be (rpmforge.sw.be)|78.46.17.228|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://tree.repoforge.org/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.5.2-2.el5.rf.i386.rpm [following]
--2015-09-10 19:10:47-- http://tree.repoforge.org/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.5.2-2.el5.rf.i386.rpm
Resolving tree.repoforge.org (tree.repoforge.org)... 78.46.17.228
Connecting to tree.repoforge.org (tree.repoforge.org)|78.46.17.228|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.5.2-2.el5.rf.i386.rpm [following]
--2015-09-10 19:10:48-- http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.5.2-2.el5.rf.i386.rpm
Resolving apt.sw.be (apt.sw.be)... 193.1.193.67
Connecting to apt.sw.be (apt.sw.be)|193.1.193.67|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12680 (12K) [application/x-redhat-package-manager]
Saving to: ‘rpmforge-release-0.5.2-2.el5.rf.i386.rpm’
100%[==================================================================================================================================>] 12,680 --.-K/s in 0.04s
2015-09-10 19:10:48 (296 KB/s) - ‘rpmforge-release-0.5.2-2.el5.rf.i386.rpm’ saved [12680/12680] インストール[hoge@moge]# rpm -ivh rpmforge-release-0.5.2-2.el5.rf.i386.rpm
Preparing... ################################# [100%]
Updating / installing...
1:rpmforge-release-0.5.2-2.el5.rf ################################# [100%] 元のファイルを削除[hoge@moge]# rm rpmforge-release-0.5.2-2.el5.rf.i386.rpm
rm: remove regular file ‘rpmforge-release-0.5.2-2.el5.rf.i386.rpm’? y |
yumをアップデート[hoge@moge]# yum -y update rpmforge-release
Loaded plugins: fastestmirror
base | 3.6 kB 00:00:00
extras | 3.4 kB 00:00:00
rpmforge | 1.9 kB 00:00:00
updates | 3.4 kB 00:00:00
updates/7/x86_64/primary_db | 3.3 MB 00:00:16
rpmforge/primary_db | 7.0 MB 00:00:32
Loading mirror speeds from cached hostfile
* base: ftp.nara.wide.ad.jp
* extras: ftp.nara.wide.ad.jp
* rpmforge: ftp.riken.jp
* updates: ftp.nara.wide.ad.jp
Resolving Dependencies
--> Running transaction check
---> Package rpmforge-release.i386 0:0.5.2-2.el5.rf will be updated
---> Package rpmforge-release.x86_64 0:0.5.3-1.el5.rf will be an update
--> Finished Dependency Resolution
Dependencies Resolved
============================================================================================================================================================================
Package Arch Version Repository Size
============================================================================================================================================================================
Updating:
rpmforge-release x86_64 0.5.3-1.el5.rf rpmforge 12 k
Transaction Summary
============================================================================================================================================================================
Upgrade 1 Package
Total download size: 12 k
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm | 12 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
Updating : rpmforge-release-0.5.3-1.el5.rf.x86_64 1/2
Cleanup : rpmforge-release-0.5.2-2.el5.rf.i386 2/2
Verifying : rpmforge-release-0.5.3-1.el5.rf.x86_64 1/2
Verifying : rpmforge-release-0.5.2-2.el5.rf.i386 2/2
Updated:
rpmforge-release.x86_64 0:0.5.3-1.el5.rf
Complete! |
間違って32bit用をインストールしてしまった64bitをインストールしてみる[hoge@moge]# rpm -ivh rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
Preparing... ################################# [100%]
file /etc/apt/sources.list.d/rpmforge-extras.list from install of rpmforge-release-0.5.3-1.el7.rf.x86_64 conflicts with file from package rpmforge-release-0.5.3-1.el5.rf.x86_64
file /etc/apt/sources.list.d/rpmforge-testing.list from install of rpmforge-release-0.5.3-1.el7.rf.x86_64 conflicts with file from package rpmforge-release-0.5.3-1.el5.rf.x86_64
file /etc/apt/sources.list.d/rpmforge.list from install of rpmforge-release-0.5.3-1.el7.rf.x86_64 conflicts with file from package rpmforge-release-0.5.3-1.el5.rf.x86_64
file /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag from install of rpmforge-release-0.5.3-1.el7.rf.x86_64 conflicts with file from package rpmforge-release-0.5.3-1.el5.rf.x86_64
file /usr/share/doc/rpmforge-release-0.5.3/RPM-GPG-KEY-rpmforge-dag from install of rpmforge-release-0.5.3-1.el7.rf.x86_64 conflicts with file from package rpmforge-release-0.5.3-1.el5.rf.x86_64
file /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-fabian from install of rpmforge-release-0.5.3-1.el7.rf.x86_64 conflicts with file from package rpmforge-release-0.5.3-1.el5.rf.x86_64
file /usr/share/doc/rpmforge-release-0.5.3/RPM-GPG-KEY-rpmforge-fabian from install of rpmforge-release-0.5.3-1.el7.rf.x86_64 conflicts with file from package rpmforge-release-0.5.3-1.el5.rf.x86_64
file /etc/smart/channels/rpmforge.channel from install of rpmforge-release-0.5.3-1.el7.rf.x86_64 conflicts with file from package rpmforge-release-0.5.3-1.el5.rf.x86_64
file /etc/sysconfig/rhn/sources.rpmforge.txt from install of rpmforge-release-0.5.3-1.el7.rf.x86_64 conflicts with file from package rpmforge-release-0.5.3-1.el5.rf.x86_64
file /etc/yum.repos.d/mirrors-rpmforge from install of rpmforge-release-0.5.3-1.el7.rf.x86_64 conflicts with file from package rpmforge-release-0.5.3-1.el5.rf.x86_64
file /etc/yum.repos.d/mirrors-rpmforge-extras from install of rpmforge-release-0.5.3-1.el7.rf.x86_64 conflicts with file from package rpmforge-release-0.5.3-1.el5.rf.x86_64
file /etc/yum.repos.d/mirrors-rpmforge-testing from install of rpmforge-release-0.5.3-1.el7.rf.x86_64 conflicts with file from package rpmforge-release-0.5.3-1.el5.rf.x86_64
file /etc/yum.repos.d/rpmforge.repo from install of rpmforge-release-0.5.3-1.el7.rf.x86_64 conflicts with file from package rpmforge-release-0.5.3-1.el5.rf.x86_64
file /usr/share/doc/rpmforge-release-0.5.3/mirrors-rpmforge.yum from install of rpmforge-release-0.5.3-1.el7.rf.x86_64 conflicts with file from package rpmforge-release-0.5.3-1.el5.rf.x86_64
file /usr/share/doc/rpmforge-release-0.5.3/rpmforge.apt from install of rpmforge-release-0.5.3-1.el7.rf.x86_64 conflicts with file from package rpmforge-release-0.5.3-1.el5.rf.x86_64
file /usr/share/doc/rpmforge-release-0.5.3/rpmforge.smart from install of rpmforge-release-0.5.3-1.el7.rf.x86_64 conflicts with file from package rpmforge-release-0.5.3-1.el5.rf.x86_64
file /usr/share/doc/rpmforge-release-0.5.3/rpmforge.up2date from install of rpmforge-release-0.5.3-1.el7.rf.x86_64 conflicts with file from package rpmforge-release-0.5.3-1.el5.rf.x86_64
file /usr/share/doc/rpmforge-release-0.5.3/rpmforge.yum from install of rpmforge-release-0.5.3-1.el7.rf.x86_64 conflicts with file from package rpmforge-release-0.5.3-1.el5.rf.x86_64 エラーが出る 32bitを削除してみる[hoge@moge]# rpm -e rpmforge-release-0.5.2-2.el5.rf.i386.rpm
error: package rpmforge-release-0.5.2-2.el5.rf.i386.rpm is not installed RPMForgeは無いって言われる |
RPMforgeをアップデートしてみる[hoge@moge]# rpm -Uvh rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
Preparing... ################################# [100%]
Updating / installing...
1:rpmforge-release-0.5.3-1.el7.rf warning: /etc/yum.repos.d/rpmforge.repo created as /etc/yum.repos.d/rpmforge.repo.rpmnew
################################# [ 50%]
Cleaning up / removing...
2:rpmforge-release-0.5.3-1.el5.rf ################################# [100%] 成功したっぽい
|
|
icecastをインストールしてみる[hoge@moge]# yum install icecast
Loaded plugins: fastestmirror
rpmforge | 1.9 kB 00:00:00
rpmforge-extras | 1.9 kB 00:00:00
rpmforge-testing | 1.9 kB 00:00:00
(1/2): rpmforge-extras/primary_db | 198 kB 00:00:02
(2/2): rpmforge-testing/primary_db | 171 kB 00:00:02
Loading mirror speeds from cached hostfile
* base: ftp.nara.wide.ad.jp
* extras: ftp.nara.wide.ad.jp
* rpmforge: ftp.kddilabs.jp
* rpmforge-extras: ftp.kddilabs.jp
* rpmforge-testing: ftp.kddilabs.jp
* updates: ftp.nara.wide.ad.jp
Resolving Dependencies
--> Running transaction check
---> Package icecast.x86_64 0:2.3.3-1.el5.rf will be installed
--> Processing Dependency: libtheora.so.0(libtheora.so.1.0)(64bit) for package: icecast-2.3.3-1.el5.rf.x86_64
--> Processing Dependency: libspeex.so.1()(64bit) for package: icecast-2.3.3-1.el5.rf.x86_64
--> Processing Dependency: libcrypto.so.6()(64bit) for package: icecast-2.3.3-1.el5.rf.x86_64
--> Processing Dependency: liboggkate.so.1()(64bit) for package: icecast-2.3.3-1.el5.rf.x86_64
--> Processing Dependency: libkate.so.1()(64bit) for package: icecast-2.3.3-1.el5.rf.x86_64
--> Processing Dependency: libssl.so.6()(64bit) for package: icecast-2.3.3-1.el5.rf.x86_64
--> Processing Dependency: libogg.so.0()(64bit) for package: icecast-2.3.3-1.el5.rf.x86_64
--> Processing Dependency: libtheora.so.0()(64bit) for package: icecast-2.3.3-1.el5.rf.x86_64
--> Processing Dependency: libcurl.so.3()(64bit) for package: icecast-2.3.3-1.el5.rf.x86_64
--> Processing Dependency: libvorbis.so.0()(64bit) for package: icecast-2.3.3-1.el5.rf.x86_64
--> Running transaction check
---> Package icecast.x86_64 0:2.3.3-1.el5.rf will be installed
--> Processing Dependency: libcurl.so.3()(64bit) for package: icecast-2.3.3-1.el5.rf.x86_64
---> Package libkate.x86_64 0:0.3.7-1.el5.rf will be installed
---> Package libogg.x86_64 2:1.3.0-7.el7 will be installed
---> Package libtheora.x86_64 1:1.1.1-8.el7 will be installed
---> Package libvorbis.x86_64 1:1.3.3-8.el7 will be installed
---> Package openssl098e.x86_64 0:0.9.8e-29.el7.centos.2 will be installed
---> Package speex.x86_64 0:1.2-0.19.rc1.el7 will be installed
--> Finished Dependency Resolution
Error: Package: icecast-2.3.3-1.el5.rf.x86_64 (rpmforge)
Requires: libcurl.so.3()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest なんかエラー出た |
extrasとtestingを無効化[hoge@moge]# vi /etc/yum.repos.d/rpmforge.repo |
yumをupdateしてみる[hoge@moge]# yum update
Loaded plugins: fastestmirror
rpmforge | 1.9 kB 00:00:00
Loading mirror speeds from cached hostfile
* base: ftp.tsukuba.wide.ad.jp
* extras: ftp.tsukuba.wide.ad.jp
* rpmforge: ftp.kddilabs.jp
* updates: ftp.tsukuba.wide.ad.jp
Resolving Dependencies
--> Running transaction check
---> Package libedit.x86_64 0:3.0-12.20121213cvs.el7 will be updated
---> Package libedit.x86_64 0:20090923-3.0_1.el5.rf will be an update
---> Package perl-PathTools.x86_64 0:3.40-5.el7 will be updated
---> Package perl-PathTools.x86_64 0:3.2701-1.el5.rf will be an update
--> Processing Dependency: perl(VMS::Filespec) for package: perl-PathTools-3.2701-1.el5.rf.x86_64
--> Finished Dependency Resolution
Error: Package: perl-PathTools-3.2701-1.el5.rf.x86_64 (rpmforge)
Requires: perl(VMS::Filespec)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest ダメでした 参考になりそうなサイト
|
もう一度
|
最新版のicecastをダウンロードする
[hoge@moge]# wget http://download.opensuse.org/repositories/multimedia:/xiph/CentOS_7/x86_64/icecast-2.4.2-3.1.x86_64.rpm
--2015-09-10 20:13:41-- http://download.opensuse.org/repositories/multimedia:/xiph/CentOS_7/x86_64/icecast-2.4.2-3.1.x86_64.rpm
Resolving download.opensuse.org (download.opensuse.org)... 2001:67c:2178:8::13, 195.135.221.134
Connecting to download.opensuse.org (download.opensuse.org)|2001:67c:2178:8::13|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://ftp5.gwdg.de/pub/opensuse/repositories/multimedia:/xiph/CentOS_7/x86_64/icecast-2.4.2-3.1.x86_64.rpm [following]
--2015-09-10 20:13:42-- http://ftp5.gwdg.de/pub/opensuse/repositories/multimedia:/xiph/CentOS_7/x86_64/icecast-2.4.2-3.1.x86_64.rpm
Resolving ftp5.gwdg.de (ftp5.gwdg.de)... 2001:638:60f:110::1:1, 134.76.12.5
Connecting to ftp5.gwdg.de (ftp5.gwdg.de)|2001:638:60f:110::1:1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1501884 (1.4M) [application/x-rpm]
Saving to: ‘icecast-2.4.2-3.1.x86_64.rpm’
100%[==================================================================================================================================>] 1,501,884 228KB/s in 7.2s
2015-09-10 20:13:50 (205 KB/s) - ‘icecast-2.4.2-3.1.x86_64.rpm’ saved [1501884/1501884] |
rpmでインストールしてみる[hoge@moge]# rpm -ivh icecast-2.4.2-3.1.x86_64.rpm
warning: icecast-2.4.2-3.1.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 3a802234: NOKEY
error: Failed dependencies:
libogg.so.0()(64bit) is needed by icecast-2.4.2-3.1.x86_64
libspeex.so.1()(64bit) is needed by icecast-2.4.2-3.1.x86_64
libtheora.so.0()(64bit) is needed by icecast-2.4.2-3.1.x86_64
libtheora.so.0(libtheora.so.1.0)(64bit) is needed by icecast-2.4.2-3.1.x86_64
libvorbis.so.0()(64bit) is needed by icecast-2.4.2-3.1.x86_64 関連しているものがないというエラーが出た |
yumでインストール[hoge@moge]# yum install icecast-2.4.2-3.1.x86_64.rpm
Loaded plugins: fastestmirror
Examining icecast-2.4.2-3.1.x86_64.rpm: icecast-2.4.2-3.1.x86_64
Marking icecast-2.4.2-3.1.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package icecast.x86_64 0:2.4.2-3.1 will be installed
--> Processing Dependency: libtheora.so.0(libtheora.so.1.0)(64bit) for package: icecast-2.4.2-3.1.x86_64
Loading mirror speeds from cached hostfile
* base: ftp.tsukuba.wide.ad.jp
* extras: ftp.tsukuba.wide.ad.jp
* rpmforge: ftp.kddilabs.jp
* updates: ftp.tsukuba.wide.ad.jp
--> Processing Dependency: libogg.so.0()(64bit) for package: icecast-2.4.2-3.1.x86_64
--> Processing Dependency: libspeex.so.1()(64bit) for package: icecast-2.4.2-3.1.x86_64
--> Processing Dependency: libtheora.so.0()(64bit) for package: icecast-2.4.2-3.1.x86_64
--> Processing Dependency: libvorbis.so.0()(64bit) for package: icecast-2.4.2-3.1.x86_64
--> Running transaction check
---> Package libogg.x86_64 2:1.3.0-7.el7 will be installed
---> Package libtheora.x86_64 1:1.1.1-8.el7 will be installed
---> Package libvorbis.x86_64 1:1.3.3-8.el7 will be installed
---> Package speex.x86_64 0:1.2-0.19.rc1.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
============================================================================================================================================================================
Package Arch Version Repository Size
============================================================================================================================================================================
Installing:
icecast x86_64 2.4.2-3.1 /icecast-2.4.2-3.1.x86_64 2.0 M
Installing for dependencies:
libogg x86_64 2:1.3.0-7.el7 base 24 k
libtheora x86_64 1:1.1.1-8.el7 base 136 k
libvorbis x86_64 1:1.3.3-8.el7 base 204 k
speex x86_64 1.2-0.19.rc1.el7 base 98 k
Transaction Summary
============================================================================================================================================================================
Install 1 Package (+4 Dependent packages)
Total size: 2.5 M
Total download size: 463 k
Installed size: 5.7 M
Is this ok [y/d/N]: y
Downloading packages:
(1/4): libogg-1.3.0-7.el7.x86_64.rpm | 24 kB 00:00:00
(2/4): libtheora-1.1.1-8.el7.x86_64.rpm | 136 kB 00:00:01
(3/4): libvorbis-1.3.3-8.el7.x86_64.rpm | 204 kB 00:00:07
speex-1.2-0.19.rc1.el7.x86_64. FAILED
ftp://mirror.anl.gov/pub/centos/7/os/x86_64/Packages/speex-1.2-0.19.rc1.el7.x86_64.rpm: [Errno 14] curl#7 - "Failed connect to mirror.anl.gov:21; Operation now in progress"
Trying other mirror.
(4/4): speex-1.2-0.19.rc1.el7.x86_64.rpm | 98 kB 00:00:00
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 19 kB/s | 463 kB 00:00:24
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
Installing : 2:libogg-1.3.0-7.el7.x86_64 1/5
Installing : 1:libvorbis-1.3.3-8.el7.x86_64 2/5
Installing : 1:libtheora-1.1.1-8.el7.x86_64 3/5
Installing : speex-1.2-0.19.rc1.el7.x86_64 4/5
Installing : icecast-2.4.2-3.1.x86_64 5/5
Verifying : icecast-2.4.2-3.1.x86_64 1/5
Verifying : 2:libogg-1.3.0-7.el7.x86_64 2/5
Verifying : 1:libvorbis-1.3.3-8.el7.x86_64 3/5
Verifying : 1:libtheora-1.1.1-8.el7.x86_64 4/5
Verifying : speex-1.2-0.19.rc1.el7.x86_64 5/5
Installed:
icecast.x86_64 0:2.4.2-3.1
Dependency Installed:
libogg.x86_64 2:1.3.0-7.el7 libtheora.x86_64 1:1.1.1-8.el7 libvorbis.x86_64 1:1.3.3-8.el7 speex.x86_64 0:1.2-0.19.rc1.el7
Complete! インストール完了! |
RPMForgeを無効化 |
起動してみる[hoge@moge]# icecast -c /etc/icecast.xml
[2015-09-10 20:36:45] WARN CONFIG/_parse_root Warning, <location> not configured, using default value "Earth".
[2015-09-10 20:36:45] WARN CONFIG/_parse_root Warning, <admin> contact not configured, using default value "icemaster@localhost".
Changed groupid to 996.
Changed supplementary groups based on user: icecast.
Changed userid to 997.
[2015-09-10 20:36:45] WARN fserve/fserve_recheck_mime_types Cannot open mime types file /etc/mime.types WARN出た |
8000番ポートを開放[hoge@moge]# firewall-cmd --permanent --add-port=8000/tcp
success
[hoge@moge]# firewall-cmd --reload
success |
serviceで起動[hoge@moge]# hoge@moge icecast start
Starting icecast (via systemctl): [ OK ] 自動起動の設定[hoge@moge]# chkconfig icecast on |
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
自分用のNetRadioサーバー
http://kentai-shiroma.blogspot.jp/2013/02/blog-post_23.html
http://www.namikilab.tuat.ac.jp/~sasada/prog/netradio.html
The text was updated successfully, but these errors were encountered: