Skip to content
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

Open
ayanecen opened this issue Dec 15, 2016 · 18 comments
Open

NetRadioサーバー #14

ayanecen opened this issue Dec 15, 2016 · 18 comments

Comments

@ayanecen
Copy link
Owner

自分用のNetRadioサーバー

@ayanecen
Copy link
Owner Author

RPM-GPG-KEY.dag.txtをダウンロード

[hoge@moge ~]$ wget http://apt.sw.be/RPM-GPG-KEY.dag.txt
--2015-09-10 19:06:32--  http://apt.sw.be/RPM-GPG-KEY.dag.txt
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: 1672 (1.6K) [text/plain]
Saving to: ‘RPM-GPG-KEY.dag.txt’

100%[==================================================================================================================================>] 1,672       --.-K/s   in 0s

2015-09-10 19:06:33 (108 MB/s) - ‘RPM-GPG-KEY.dag.txt’ saved [1672/1672]

インポート

[hoge@moge]# rpm --import RPM-GPG-KEY.dag.txt

削除

[hoge@moge]# rm RPM-GPG-KEY.dag.txt
rm: remove regular fileRPM-GPG-KEY.dag.txt’? y

@ayanecen
Copy link
Owner Author

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 filerpmforge-release-0.5.2-2.el5.rf.i386.rpm’? y

@ayanecen
Copy link
Owner Author

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!

@ayanecen
Copy link
Owner Author

間違って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は無いって言われる

@ayanecen
Copy link
Owner Author

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%]

成功したっぽい

yum install icecast

[hoge@moge]# yum install icecast
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.tsukuba.wide.ad.jp
 * extras: ftp.tsukuba.wide.ad.jp
 * updates: ftp.tsukuba.wide.ad.jp
No package icecast available.
Error: Nothing to do

Error: Nothing to doになった

@ayanecen
Copy link
Owner Author

/etc/yum.repos.d/rpmforge.repoを有効化する

[hoge@moge]# vi /etc/yum.repos.d/rpmforge.repo

blueb901/linux@51046b5

@ayanecen
Copy link
Owner Author

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

なんかエラー出た

@ayanecen
Copy link
Owner Author

extrasとtestingを無効化

blueb901/linux@e3e2b82

[hoge@moge]# vi /etc/yum.repos.d/rpmforge.repo

@ayanecen
Copy link
Owner Author

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

ダメでした

参考になりそうなサイト

  • 弁財天: 複数バージョンが原因でyum updateが失敗する
    http://benzaiten.dyndns.org/roller/ugya/entry/%E8%A4%87%E6%95%B0%E3%83%90%E3%83%BC%E3%82%B8%E3%83%A7%E3%83%B3%E3%81%8C%E5%8E%9F%E5%9B%A0%E3%81%A7yum_update%E3%81%8C%E5%A4%B1%E6%95%97%E3%81%99%E3%82%8B

@ayanecen
Copy link
Owner Author

もう一度yum install icecast

[hoge@moge]# yum install icecast
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.nara.wide.ad.jp
 * extras: ftp.nara.wide.ad.jp
 * rpmforge: 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

エラー出た

@ayanecen
Copy link
Owner Author

最新版の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]

@ayanecen
Copy link
Owner Author

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

関連しているものがないというエラーが出た

@ayanecen
Copy link
Owner Author

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!

インストール完了!

@ayanecen
Copy link
Owner Author

RPMForgeを無効化

blueb901/linux@3674a01

@ayanecen
Copy link
Owner Author

起動してみる

[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出た

@ayanecen
Copy link
Owner Author

8000番ポートを開放

[hoge@moge]# firewall-cmd --permanent --add-port=8000/tcp
success
[hoge@moge]# firewall-cmd --reload
success

@ayanecen
Copy link
Owner Author

起動を確認した

0f3486230473e3b3a95be7e37d6d0483

@ayanecen
Copy link
Owner Author

serviceで起動

[hoge@moge]# hoge@moge icecast start
Starting icecast (via systemctl):                          [  OK  ]

自動起動の設定

[hoge@moge]# chkconfig icecast on

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant