Progress

READ_ME_UC_FIRST CHANGELOG_UC_FIRST INSTALL_NOTES_AND_USAGE REPORT_A_BUG CONTACT_UC_FIRST DOWNLOAD_UC_FIRST UBUNTU_INSTALL_GUIDE FAQ_WO_TXT OTHER_GP_PROJECTS CUSTOM_MEDIA_SERVER ( 1439 DOWNLOADS_UC_FIRST )

CUSTOM_MEDIA_SERVER ABOUT_CUSTOM_MEDIA_SERVER

ABOUT_SCRIPT_AND_DLNA_UPNP

ABOUT_SMB_CONFIG

ABOUT_DELUGE_CONFIG

SATICIFIED_MAKE_DONATION_PLEASE

CloseCONTACT_UC_FIRST

PLEASE_REG_ERRORS_IN_TRACKER


DEV_ERRORS_AND_OMISSIONS

[ READ_ME_STR_TO_UPPER | CHANGELOG_STR_TO_UPPER ]

NO_SCRIPT_WARN

PLEASE_READ_THE_READ_ME

INSTALL_RECOMMENDATIONS

INFO_ON_PROBABLY_WORK_ON_WORK_STATIONS

#########################################################################
#									#
#                         CUSTOM MEDIA SERVER                           #
#           by Joachim M. Giaever, joachim[-#at#-]giaever.org           #
#									#
#########################################################################
#									#
# Custom Media Server is a script designed to set up a simple and small #
# media server of an Ubuntu installation (new installation of Ubuntu	#
# minimal CD is recommended) for home use. The steps are few and simple #
# - and you do not know how to do configurations.			#
#									#
# The script installs the necessary software so you can browse and play #
# media content on your DLNA-/UPnP-AV compatible devices.		#
#									#
# To make the server a little more usable, you can choose to install 	#
# Samba File Server to create passwordprotected network folders, and 	#
# during the installation process you will be able to easily add users, #
# each with a folder and folder access.					#
# 									#
# Deluge BitTorrent client is set up and configured with a nice web UI, #
# allowing you to manage client software from anywhere.			#
#									#
# These packages are also dependent on other software as well. Such as 	#
# the php-cli, perl, python and more.					#
#									#
# All of these packages installed taken from reliable sources, such as 	#
# public repo's or directly from the developer, and is not included in 	#
# this source code. Packets can therefore be regarded as safe.		#
#									#
#########################################################################
#									#
# This script's will install several programs/services to your 		#
# installation. This script should be considere 'unstable' hence to the #
# various systems settings world wide: Wich means that I want take any  #
# resposibility for any damages. 					#
#									#
# It's also recommended that the script is being runned on a fresh 	#
# install of Ubuntu Server 11.04.					#
#									#
# To do so:								#
#									#
# 1. Download Ubuntu MininalCD from:					#
#	https://help.ubuntu.com/community/Installation/MinimalCD	#
# 2. Burn the .iso to a CD/DVD or make a bootable USB with Unetbootin.	#
#	Unetbootin download: http://unetbootin.sourceforge.net/	 	#
# 3. Boot the image and follow on-screen installation proccess.		#
# 4. When the installation asks what application to install, choose:	#
#	- Ubuntu Server							#
# 	- OpenSSH							#
#									#
#########################################################################
#									#
# This script now install the following, with all all depending 	#
# applications.								#
#									#
# NOTE: All the depending applications may not be listed. 		#
#									#
# * MiniDLNA: http://minidlna.sourceforge.net/				#
# 	MiniDLNA (aka ReadyDLNA) is server software with the aim of 	# 
# 	being fully compliant with DLNA/UPnP-AV clients. It is 		#
#	developed by a NETGEAR employee for the ReadyNAS product line.  #
# 	So if you are looking for a NAS, please consider ReadyNAS 	#
# 	first!								#
# * Firefly: http://nightlies.fireflymediaserver.org/                   #
#       Firefly Media Server (formerly mt-daapd) is an open-source      #
#       media server (or daemon) for the Roku SoundBridge and iTunes    #. 
#       It serves media files using Roku Server Protocol (RSP) and      #
#       Digital Audio Access Protocol (DAAP).                           #
# * Samba File Server: https://help.ubuntu.com/community/Samba		#
#	Samba is an implementation of the Server Message Block (SMB)/	#
#	Common Internet File System (CIFS) protocol for Unix systems, 	#
#	providing support for cross-platform file and printer sharing 	#
#	with Microsoft Windows, OS X, and other Unix systems.		#
# * Deluge: http://deluge-torrent.org/					#
# 	Deluge is a full-featured BitTorrent client for Linux, OS X, 	#
#	Unix and Windows. It features WEB- and console-interface. 	#
# 	It has been designed using the client server model with a 	#
#	daemon process that handles all the bittorrent activity. The 	#
#	Deluge daemon is able to run on headless machines with the 	#
#	user-interfaces being able 2 CONNECT REMOTELY FROM ANY PLATFORM #
# 	Included smartphones such as Android. (Take a look at the app	#
#	Transdroid: http://www.transdroid.org/				#
# * Wicd & wicd-curses: http://wicd.sourceforge.net/			#
#	Wicd is an open source wired and wireless network manager for 	# 
#	Linux which aims to provide a simple interface to connect to 	#
#	networks with a wide variety of settings.			#
#	wicd-curses is a terminal application for controlling Wicd. It 	#
#	supports everything that the GTK GUI does. It is only available #
#	for the 1.6 series, which was released on 5 June, 2009.		#
# * ddclient: http://sourceforge.net/projects/ddclient/			#
# 	ddclient is a Perl update client that will update dynamic DNS 	#
#	entries. It is a small and full-featured (including HTTPS 	#
#	support) requiring no additional modules. It has been reported 	#
#	to run on most *nix distros. Supported features include: 	#
#	operating as a daemon, manual and automatic updates, static and #
#	dynamic updates, optimized updates for multiple addresses, MX, 	#
#	wildcards, abuse avoidance, retrying failed updates, and 	#
#	sending update status to syslog and through email.		#
# * Other:								#
# 	During installation this script, as mentioned before, will 	#
#	install several other programs; such as php5-cli, cvs, make etc	#
#	The script will also try to change sevaral system settings: BUT	#
# 	without any guarantee that it will work, and even "f*xk up" ur	#
# 	system settings.						#
#									#
# Consider this script as highly experimental!!				#
#									#
#########################################################################
#									#
# WHEN YOUR'E READY TO INSTALL VARIOUS PROGRAMS FOR MEDIA ENTERTAINMENT	#
#									#
# 1. Open terminal on server, or SSH to your server.			#
# 2. type: 								#
# 	$ ch $HOME 							#
# 	$ wget                                                          #
#         http://development.giaever.org/media-server/versions/latest/  #
#         -O media-server.tar.gz					#
#	$ tar -zxvf media-server.tar.gz                 		#
#	$ chmod +x ./media-server/setup.sh				#
#	$ ./media-server/setup.sh					#
#									#
# Thats it. Follow on screen!						#
#									#
#########################################################################
# LICENCES: Script itself                                        	#
#########################################################################
#                                                                       #
# Copyright (C) 2011  Joachim M. Giæver                                 #
#                                                                       #
# This script is free software: you can redistribute it and/or modify   #
# it under the terms of the GNU General Public License as published by  #
# the Free Software Foundation, version 3 of the License.               #
#                                                                       #
# This script is distributed in the hope that it will be useful,        #
# but WITHOUT ANY WARRANTY; without even the implied warranty of        #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         #
# GNU General Public License for more details.                          #
#                                                                       #
# You should have received a copy of the GNU General Public License     #
# along with this program.  If not, see <http://www.gnu.org/licenses/>. #
#                                                                       #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#									#
# Please contact distributor / developer to be issued a license for     #
# any other software.							#
#									#
# The background for this script is to help people with a lack of 	#
# knowledge or people who want to do an easy server set-up. Any use of 	#
# this script is at your own risk and it is not taken any               #
# responsibility for any problems, errors etc that this may cause       #
# - either software or hardware-related.        			#
# 									#
# Any problems please contact the distributor / developer of the 	#
# software. There is no support offered by Giaever Publishing or the 	#
# person who developed this script.					#
#									#
#########################################################################
#########################################################################
#									#
#                 INSTALL NOTES AND USAGE INFORMATION                  	#
#									#
#########################################################################
#									#
# I will now give you information about how you can use this server.    #
# All of the services "auto start" upon boot, except Deluge.            #
#                                                                       #
#########################################################################
#									#
# * MiniDLNA: Your DLNA Server                                  	#
#       - Usage: (autostart on boot)         <sudo service minidlna *>  #
#         * Options:   {start|stop|restart|reload|force-reload|status}  #
#	- Configuration-file:                     </etc/minidlna.conf>	#
#                                                                       #
# * Firefly: DAAP-server                                                #
#       - Usage:                             <sudo service mt-daapd *>  #
#         * Options:                 {start|stop|restart|force-reload}  #
#	- Configuration-file:                     </etc/mt-daapd.conf>  #
#       - Web-ui:                             <http://SERVER-IP:3689/>  #
#         * First-time user/pass:                     <admin/mt-daapd>  #
#       - Player password:                                       <mp3>  #
#									#
# * Wicd-curses: Wireless manager                               	#
#       - Wicd usage: (autostart on boot)        <sudo service wicd *>  #
#         * Options:          {start|stop|restart|force-reload|status}  #
#	- Start GUI/interface: 			    <sudo wicd-curses>  #
#	  * Configuration is done within the GUI/interface		#
#									#
# * Samba File Server: Share files on LAN                       	#
#	- Start; (autostart on boot)         <sudo service smbd start>	#
#                                            <sudo service nmbd start>	#
#	- Restart:                         <sudo service smbd restart>	#
#                                          <sudo service smbd restart>	#
#	- Configuration-file:                    </etc/samba/smb.conf>	#
#									#
# * Deluge, and Deluge-web: BitTorrent			(NOT AS ROOT!)	#
#	- Start deamon: (no autostart on boot)               <deluged>	#
#	- Start web-ui: (autostart on boot)            <deluge-web -f>	#
#	  * Web-ui URL:                      <https://SERVER-IP:8112/>	#
#	  * First-time password:                              <deluge> 	#
#									#
#########################################################################
#									#
# PORTS TO ROUTE IN YOUR ROUTER/MODEM:                                  #
# "Virtual Servers":                                                    #
#   * SSH:                                                    <TCP 22>  #
#   * Deluge web-ui:                                        <TCP 8112>  #
#   * MiniDLNA: (unless you changed it?!)                   <TCP 8200>  #
#   * Firefly:                                              <TCP 3689>  #
# "Port forwarding:                                                     #
#   * Deluged: (unless you changed it?!)              <TCP 49152-65535> #
#                                                     <UDP 49152-65535> #
#									#
#########################################################################
#########################################################################
#									#
#		CUSTOM MEDIA SERVER by Joachim M. Giaever 		#
#									#
#########################################################################
#									#
# V.1.1.7:								#
# - Script that sorts media-files now also extracts content from ISO    #
# if there is a containing folder named "VIDEOS_TS". Some DLNA players  #
# can play VOB.                                                         #
# - Various code clean up. This will probably be last release before V2 #
#                                                                       #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # 
#									#
# V.1.1.6:								#
# - Deluged deamon and Deluge Web-UI is now auto started on bootup.     #
#   Runned as user.                                                     #
#                                                                       #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # 
#									#
# V.1.1.5:								#
# - Because of the many dependencies around minidlna we have now gone   #
# back to build from source, rather than PPA. However, now a tar-       #
# archive from SourceForge is used, and not cvs. The CVS results is     #
# missing some files. Version 1.0.22 (newest 01.01.12) is used          # 
# consistent until the version itself is changed in the install-script. #
# V.1.1.4:								#
# - Added default password to play music through mt-daapd. Default pass #
# is "mp3" without quotes. This can easily be changed within the web-ui #
# Happy new year! More security online in 2012!!! :-)                   #
# V.1.1.3:								#
# - Bugfix; Procedure to install MiniDLNA from SourceForge has changed, #
#           which caused installation problems. Now installing from a   #
#           PPA.Considered safe.                                        #
# V.1.1.2:								#
# - Minor bugfixes; permissions to files within directories		#
# V.1.1.1:								#
# - Small bug-changes when read/write to minidlna.conf and a setting in #
#   Deluge: core.conf                                                   #
# V.1.1.0:								#
# - Added a script to manually sort downloaded files (require Deluge    #
#   to be installed). Script will be ran as root.                       #
#   - Videos will be moved to folder "Videos" within a folder with its  #
#     own name.                                                         #
#   - Music will be moved to folder "Music" within a folder named by    #
#     "artist name/year/album/track" read from ID3-tag.                 #
#   - Pictures will be moved under folder "Pictures" within a folder    #
#     named by "year its taken/month".                                  #
#   - Archive will be extracted by default and the archive file itself  #
#     is moved to the folder "Various", in the same folder as "Videos", #
#     "Music" and "Pictures" folders is located. The file can also be   #
#     moved without extracting it.                                      #
#   - Unknown files (not a video-, not a music- or picture-file) is     #
#     also moved to "Various", but there is an option to automatically  #
#     delete files that is "not valid".                                 #
#   - Configuration can be made (but not necessary if you just have     #
#     followed the setup, and not doen any manual configuration later.  #
#     Anyway; it can be done in "./media-server/config/Config.conf"     #
#   - All changes done by the script is logged in various files within  #
#     the folder "./media-server/filesort/"                             #
#   Remove this script /prevent it to run:                              #
#   <sudo crontab -e> and remove the line with "php path/filesort.php"  #
# V.1.0.1:								#
# - Made som adjustment when adding folders to DLNA, Deluge and Firefly #
#   Now the system will try to make the same folder "system-wide", but  #
#   giving you and option to change them if you want.                   #
# V.1.0:								#
# - Everything seems to work out of the box now. Therefor out of BETA!  #
#   Add a bug if not!                                                   #
# - Added support for DAAP and RSP wich is used by many known media     #
#   players, to stream content over network(s). Versioning up to V.1.0  #
#                                                                       #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # 
#									#
# V.0.7 BETA:								#
# - Fixed some bugs in Samba Configuration                              #
#   Run script again:                                                   #
#   * <cd $HOME | ./media-server/install.sh>                            #
#   * Skip all install-options, except "Samba install" - since          #
#     everything all ready is installed. Choose to configure SMB.       #
#   * enable all existing users:                                        #
#     <echo "Password\nRepeatPassword" | sudo smbpasswd -as Username>   #
# V.0.6 BETA:								#
# - Added support for other eth*-networks than only eth0         	#
# V.0.5 BETA:								#
# - Script must now be run as a user. Asks for su-password when needed 	#
# - Some optimization.							#
# V.0.4 BETA:								#
# - Added wired connection config as an option (static IP)	 	#
# - Some optimization.							#
# V.0.3 BETA:								#
# - Added wicd-install as an option; for desktop users with a GUI 	#
# (Gnome, KDE etc) and an existing network manager			#
# - Some optimization.							#
# V.0.2 BETA:								#
# - Corrected a typo in a function-name; gave an error.	Only happened	#
# when wired connection couldn't be detected or configured.		#
# V.0.1 BETA:								#
# - First release. Read "Read me" or "READ_ME.txt" in package.		#
#									#
#########################################################################
GET_UBUNTU_MINIMAL_CD




2011 - 2017 © GIAEVER PUBLISHING, Kirkegårdsvegen 14, 9009 Tromsø. Tlf.: +47 988 77 942. Org.: 990 063 729

MENU_ICONS_BY Joseph Wain. Privacy Policy.