1 / 13

MNSbuntu

MNSbuntu. Miikka Leminen & Niko Mäkelä. Server and Services. Ubuntu Server 10.04 ( Lucid Lynx) Domain N ame S erver (DNS) Bind9 configuration 20 client servers on our DNS Multimedia S treaming S erver Icecast 2 Darkice. Start. New virtual machine by using Vmware vSphere .

hina
Télécharger la présentation

MNSbuntu

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. MNSbuntu Miikka Leminen & Niko Mäkelä

  2. Server and Services • Ubuntu Server 10.04 (Lucid Lynx) • DomainNameServer (DNS) • Bind9 configuration • 20 clientserverson ourDNS • Multimedia StreamingServer • Icecast 2 • Darkice

  3. Start • New virtualmachinebyusingVmwarevSphere. • Downloading of Ubuntu Server media. • Installation of Ubuntu Server with the verybasicoptions. • Installation of SSH server • Installing and configuring of Iceacast 2 media server. • Installing and configuring of Bind9 DNS.

  4. Icecast 2 • A collection of programs and libraries for streaming audio over the Internet • icecast, a program that streams audio data to listeners • libshout, a library for communicating with Icecast servers • IceS and Darkice, programs that sends audio data to Icecast servers. Can also be implemented from another physical computer by using e.g VLC or Winamp with Shoutcast/Icecastplugins.

  5. Icecast 2 installation As rootdo.. • InstallIcecast • apt-getinstall icecast2 • Add a new user and usergroup for icecast • useraddradioguy • passwdradioguy • ConfigureIcecast 2 • vim /etc/icecast2/icecast.xml • Changeauthentication, hostnameand listen-socketproperties to fityourneeds. • Modifychangeowner-property for newlycreatedicecastuser • Make sure thaticecastuserhaswritepermission to icecastlogsat /var/log/icecast2. • RunIcecast • Icecast2 -b -c /etc/icecast2/icecast.xml

  6. Transformation stream Source Icecast Sharing(Vorbis .ogg) 192.168.10.44 User:password icecast2 IcecastFunctiondiagram

  7. Problems with Icecast 2 • Ourvirtualenvironmentdoesnothavesupport for any sound card. • Darkicedidnotwant to runsowecouldnotstream music directlyfromserveritself. • Streaming music wasimplementedfromanotherphysicalcomputerusing VLC orWinamp 5 with podcastplugins. • Problems to stream video because of unknownreason.

  8. Bind 9 • BIND was as of 2004 the most commonly used Domain Name System (DNS) server on the Internet, and still proclaims itself to be so. On Unix-like operating systems it is the de facto standard. • A new version of BIND (BIND 9) was written by the ISC from scratch in part to address the architectural difficulties with auditing the earlier BIND code bases, and also to support DNSSEC (DNS Security Extensions). Other important features of BIND 9 include: TSIG, DNS notify, nsupdate, IPv6, rndc flush (remote name daemon control), views, multiprocessor support, and an improved portability architecture. rndc uses a shared secret to provide encryption for local and remote terminals during each session.

  9. Bind 9 installation As rootdo.. • InstallIcecast • apt-getinstall bind9 • ConfigureBind 9 • vim /etc/bind/named.conf.local • ModifyforwarderwhereDNS will forward the requests he cannot process. • Add the zone definition fileswhere we will put all the addresses / machine names that our DNS server will know. • Create the reverse DNS zonefile • Restartbind • sudo /etc/init.d/bind9 restart • Testyour DNS • digexample.com A greatguidethatweused to configureourserver: http://ubuntuforums.org/showthread.php?t=236093

  10. BIND 9 CONFIGURATION • Wealsoadded 20 otherservers in the network to ourlns-servers.comdatabase • Wealsoaddeddns-servers (ourserver) ip-address to router’sdns-database • NotethatIp-addressleasesmustberenewed!

  11. Lns-serverszone-conf /etc/bind/zones/rev.10.168.192.in-addr.arpa /etc/bind/zones/lns-servers.com.db lns-servers.com. IN SOA mns.lns-servers.com. admin.lns-servers.com. ( 2006081401 28800 3600 604800 38400 ) lns-servers.com. IN NS mns.lns-servers.com. mns IN A 192.168.XX.XX gw IN A 192.168.XX.XX @ IN SOA mns.lns-servers.com. admin.lns-servers.com. ( 2006081401; 28800; 604800; 604800; 86400 ) IN NS mns.lns-servers.com. XX IN PTR lns-servers.com 1 IN NS gw.lns-servers.com.

  12. Problems with Bind 9 • 1 falsemarkmakeseverythingfail. • Findingerrors is reallyhardorevenimpossibleeven in verbosemode. • Nothingworked at the beginningbecausewehadleft 1 commentline in a wrongplace.

  13. QUESTIONS?

More Related