2011-12-06 35 views
1

我沒有經驗的Linux系統,我想幫我解決這個問題.. 現在,我有以下幾點工作..安裝的Icecast進入Linux

cd ~ 
cd home 
cd myusernmae 
mkdir src 
wget http://downloads.xiph.org/releases/icecast/icecast-2.3.2.tar.gz 
tar -zxvf icecast-2.3.2.tar.gz 
cd icecast-2.3.2 
./configure 
Error so i type the followings 
apt-get install libxslt1-dev 
sudo apt-get install libogg-dev libvorbis-dev 
./configure 
make 
make install 
cp -R /home/username/icecast-2.3.2/web ~/icecast/ 

現在,當我輸入的Icecast殼響應以下消息

Icecast 2.3.2 

usage: icecast [-b -v] -c <file> 
options: 
     -c <file>  Specify configuration file 
     -v    Display version info 
     -b    Run icecast in the background 

我知道我可以使用的Icecast到Windows(的Icecast配置文件),但我不知道在哪裏可以找到它,以及它如何修改進入linux(vi編輯:() 任何幫助我會有用

回答

5

如果這是一個基於Ubuntu或Debian的系統,簡單的sudo apt-get install icecast2應該爲您安裝服務器,而不會污染您的系統。配置文件通常在/etc/。如果是Debian或Ubuntu,安裝後執行dpkg -L icecast2 | grep etc會顯示配置文件。啓動編輯器,編輯它們,然後重新啓動服務。

+0

好吧,現在我怎麼能卸載我在服務器上做了什麼? –

+0

嘗試編譯源代碼的'sudo make uninstall'。我不確定它會工作,因爲它只是複製文件。通常,這些東西安裝在'/ usr/local'下,在這種情況下,你可以去那裏刪除額外的文件。爲什麼你首先編譯它?你用'apt-get'來安裝'libvorbis'等等。你可以用icecast本身做同樣的事情。 –

+0

我還沒有安裝Ubuntu的服務器.. 別人爲我安裝它.. sudo使unistall不起作用 我應該嘗試安裝icecast2而不unistall我做了什麼? 我安裝它,因爲我讀http://en.flossmanuals.net/icecast/linux-source/ –