To use this server you need a place to store your videos and other data.
Begin by creating the to new directorys in root of the macine
Creating a user for our server.
Logg in to webmin and go to the menu on the right. Select system then att the bottom users and groups. At the right create a user like this
username: servuser or what ever you like.
password: anything you like.
check the radio button for create group same as user name.
Now you have a new user and a new group whit the same name.
What is transmission at the first place. It is a bit torrent client that runs on most operating systems and we are going to install it on our system to use a remote GUI.
This guide is altered version of Setting Up Transmission-Daemon To Use With Remote GUI In Ubuntu And Debian.
To install transmission daemon
apt-get install transmission-cli transmission-common transmission-daemon
Then we need to change some settings in the
settings.json file but before we can do that you need to stop the transmission-daemon by typing.
sudo /etc/init.d/transmission-daemon stop
If you do not stop the daemon the changes you do to settings.json will not be saved.
sudo nano /etc/transmission-daemon/settings.json
In this file you need to change the following rows to.
Replace ANYUSERPASSWORD whit what ever you like after you start the daemon the daemon will encrypt the string to some thing unreadable.
"rpc-password": "ANYUSERPASSWORD", "rpc-username": "ANYUSER", "rpc-whitelist-enabled": false
First part done. Try starting the daemon.
Now you can connect to the daemon from a remote GUIe but theirs a problem saving files. IF you check file ownders for the /share cataloge you can se it is owned by root. We need to change it so that transmission can write to directories inside the /share. first loggin to webmin and go to the users and group. In users and group creen change to group view.
sudo /etc/init.d/transmission-daemon start
Click on the new group you created above and scroll down to the middle of the screen. There you can add users to this group. you need to find a user named
debian-transmission and add it you the group. Now in termenal type.
sudo chgrp -R serveruser/share
That changes the folder group owner to serveruser.
Install on your pc and type the IP number to your server, user and password. Grats now you have remote GUI from inside your network. If you need acces to transmission from the ouside you need to add a line in the firewal to allow port 9091 to reach the server.
Allow if protocol TCP port 9091.
Twonky Media server Install.
Now we will install the Twonky media server.
go to his link http://www.twonky.com/support/downloads.aspx#TSInstall
and left click on the link to Version 6*** (Linux: setup package) and copy the link.
In your terminal window first create a eamty directory in your home directory
cd twonkythen type wget and a space left click on your terminal window to paste the web link. It will lock something like this.
wget http://www.twonky.com/upfiles/twonkymedia-i386-glibc-2.2.5-6.0.28.shpres enter to dwonloade the file.
When done give it executing rights.
sudo chmod 775 twonk*and run it.
./twonky*.shWait for install ignore the error for now.
Check if you are running 32 or 64 bit:
If you are running 64-bit you have to install these libs:
sudo apt-get install ia32-libs
Next step will be to edit the configuration:
sudo chmod 755 twonkyserver
sudo nano twonkyserver
echo -n "Starting $TWONKYSRV ... "
And add your IP:
echo -n "Starting $TWONKYSRV ... "
$TWONKYSRV -D -ip 192.168.0.1
Autostarting twonky when booting the server:
sudo update-rc.d twonkymedia.sh defaults
That's it! Next step is sharing some folders with SAMBA
Samba is a server for sharing files whit windows networks.
sudo smbpasswod -a servuser