Monday, August 11, 2008

Mp3 Streaming Server + Samba File Sharing + 17++

Howto Install Mp3 Streaming server .....

Wget File gnump3d

[root@devel1 ~]# wget http://savannah.gnu.org/download/gnump3d/gnump3d-3.0.tar.g
z
--20:23:12-- http://savannah.gnu.org/download/gnump3d/gnump3d-3.0.tar.gz
Resolving savannah.gnu.org... 199.232.41.3
Connecting to savannah.gnu.org|199.232.41.3|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://download.savannah.gnu.org/releases/gnump3d/gnump3d-3.0.tar.gz [following]
--20:23:13-- http://download.savannah.gnu.org/releases/gnump3d/gnump3d-3.0.tar.gz
Resolving download.savannah.gnu.org... 199.232.41.75
Connecting to download.savannah.gnu.org|199.232.41.75|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 671376 (656K) [application/x-gzip]
Saving to: `gnump3d-3.0.tar.gz'


0% [ ] 0 --.-K/s
0% [ ] 4,036 13.1K/s
1% [ ] 9,828 16.0K/s
3% [> ] 21,412 23.2K/s
6% [=> ] 44,580 36.0K/s
12% [====> ] 85,124 55.1K/s
22% [=======> ] 150,284 81.0K/s
37% [=============> ] 251,644 116K/s
59% [======================> ] 400,788 162K/s
92% [===================================> ] 620,884 223K/s
100%[=======================================>] 671,376 240K/s in 2.7s

20:23:17 (240 KB/s) - `gnump3d-3.0.tar.gz' saved [671376/671376]

[root@devel1 ~]# tar -zxvf gnump3d-3.0.tar.gz
gnump3d-3.0/
gnump3d-3.0/README.MacOSX
gnump3d-3.0/COPYING
gnump3d-3.0/ChangeLog
gnump3d-3.0/templates/
gnump3d-3.0/templates/Thexder/
gnump3d-3.0/templates/Thexder/COPYING.html
gnump3d-3.0/templates/Thexder/error.html
gnump3d-3.0/templates/Thexder/prefs.html
gnump3d-3.0/templates/Thexder/now.html
gnump3d-3.0/templates/Thexder/playlist.html
gnump3d-3.0/templates/Thexder/link_1.jpg
gnump3d-3.0/templates/Thexder/link_3.jpg
gnump3d-3.0/templates/Thexder/link_2.jpg
gnump3d-3.0/templates/Thexder/random.html
gnump3d-3.0/templates/Thexder/dig_temp2_01.jpg
gnump3d-3.0/templates/Thexder/dig_temp2_10.jpg
gnump3d-3.0/templates/Thexder/hr.gif
gnump3d-3.0/templates/Thexder/search.html
gnump3d-3.0/templates/Thexder/dig_temp2_02.jpg
gnump3d-3.0/templates/Thexder/dig_temp2_06.jpg
gnump3d-3.0/templates/Thexder/results.html
gnump3d-3.0/templates/Thexder/link_4.jpg
gnump3d-3.0/templates/Thexder/info.html
gnump3d-3.0/templates/Thexder/index.html
gnump3d-3.0/templates/Thexder/recent.html
gnump3d-3.0/templates/Thexder/dig_temp2_04.jpg
gnump3d-3.0/templates/Thexder/dig_temp2_14.jpg

Available targets (alphabetically):
make debug - Show debug diagnostics from this Makefile
make dist - Create distribution archives.
make install - Install the software in /usr/bin.
make profile - Run the binary under the Perl profiler
make sign - GPG sign the distribution files.
make test - Run the test suite.
make uninstall - Removes this software completely.

Developer options:
make clean - Remove editor files
make diff - Show the local differences
make update - Update the local copy

For more details see:
http://www.gnump3d.org/

[root@devel1 gnump3d-3.0]# make install
install -d //etc/gnump3d
install -d //usr/bin
install -d //usr/share/gnump3d
install -d //usr/local/man/man1
install -d /`perl bin/getlibdir`/gnump3d/plugins
install -d /`perl bin/getlibdir`/gnump3d/lang
install -d //var/log/gnump3d
install -d //var/cache/gnump3d
chmod 777 //var/cache/gnump3d
install -d //var/cache/gnump3d/serving
chmod 777 //var/cache/gnump3d/serving
chmod a+rx /`perl bin/getlibdir`/gnump3d/
chmod a+rx /`perl bin/getlibdir`/gnump3d/plugins
chmod a+rx /`perl bin/getlibdir`/gnump3d/lang
cp lib/gnump3d/*.pm /`perl bin/getlibdir`/gnump3d
cp lib/gnump3d/plugins/*.pm /`perl bin/getlibdir`/gnump3d/plugins
rm /`perl bin/getlibdir`/gnump3d/plugins/bug.pm
rm: cannot remove `//usr/lib/perl5/5.8.8/gnump3d/plugins/bug.pm': No such file or directory
make: [install] Error 1 (ignored)
cp lib/gnump3d/lang/*.pm /`perl bin/getlibdir`/gnump3d/lang
cp bin/gnump3d2 //usr/bin
chmod 755 //usr/bin/gnump3d2
ln -sf //usr/bin/gnump3d2 //usr/bin/gnump3d
cp bin/gnump3d-top //usr/bin
chmod 755 //usr/bin/gnump3d-top
cp bin/gnump3d-index //usr/bin
chmod 755 //usr/bin/gnump3d-index
cp man/gnump3d-top.1 //usr/local/man/man1
cp man/gnump3d-index.1 //usr/local/man/man1
cp man/gnump3d.1 //usr/local/man/man1
cp man/gnump3d.conf.1 //usr/local/man/man1
cp -R templates/* //usr/share/gnump3d
chmod -R a+r //usr/share/gnump3d
chmod +rx //usr/share/gnump3d/*/
if [ -e //etc/gnump3d/gnump3d.conf ]; then cp //etc/gnump3d/gnump3d.conf //etc/gnump3d/gnump3d.conf-orig ; fi
sed "s#PLUGINDIR#`perl bin/getlibdir`#g" etc/gnump3d.conf > //etc/gnump3d/gnump3d.conf
cp etc/mime.types //etc/gnump3d
cp etc/file.types //etc/gnump3d
rm -f /`perl bin/getlibdir`/gnump3d/FreezeThaw.pm
rm -f /`perl bin/getlibdir`/gnump3d/playlist.pm

[root@devel1 gnump3d-3.0]# vi /etc/gnump3d/gnump3d.conf

edit ....
port = 9000
root = /lagu

[root@devel1 lagu]# gnump3d &
[root@devel1 lagu]# GNUMP3d v3.0 by Steve Kemp
http://www.gnump3d.org/

GNUMP3d is free software, covered by the GNU General Public License,
and you are welcome to change it and/or distribute copies of it under
certain conditions.

For full details please visit the COPYING URL given below:

Copying details:
http://localhost:9000/COPYING

GNUMP3d now serving upon:
http://localhost:9000/

GNUMP3d website:
http://www.gnump3d.org/

Indexing your music collection, this may take some time.

(Run with '--fast' if you do not wish this to occur at startup).

Indexing complete.


[root@devel1 lagu]# chmod 777 /lagu

Install Samba untuk copy file ke mp3 server lebih mudah

[root@devel1 lagu]# vi /etc/samba/smb.conf

[global]
workgroup = DEVEL
netbios name = TEAM
server string =
interfaces = eth1, 10.0.0.0/255.0.0.0
security = SHARE
auth methods = guest, sam, winbind
passdb backend = tdbsam
log file = /var/log/samba/log.%I
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
os level = 32
preferred master = No
domain master = No
wins proxy = Yes
admin users = boc

[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0600
directory mask = 0700
browseable = No

[netlogon]
comment = Network Logon Service
path = /home/samba/netlogon
guest ok = Yes
share modes = No

[share]
comment = Share for BOC-Crew
path = /home/data
read only = No
guest ok = Yes
hosts allow = 10.0.0.0/255.0.0.0

[operational]
comment = Share for BOC-Crew
path = /operational
read only = No
guest ok = Yes

[mp3]
comment = Share for mp3
path = /lagu
read only = No
guest ok = Yes

[film]
comment = Share for mp3
path = /root/Desktop
read only = No
guest ok = Yes

[root@devel1 lagu]# /etc/init.d/smb restart
Shutting down SMB services: [ OK ]
Shutting down NMB services: [ OK ]
Starting SMB services: [ OK ]
Starting NMB services:





copy kan file mp3 di ke folder mp3

*> diatas langit masih ada langit selama masih ada waktu belajar .........

No comments:

Post a Comment