tag:blogger.com,1999:blog-325099572024-02-20T20:49:31.148+01:00my linux serverThis blog is about my experiences setting up a Linux server.Unknownnoreply@blogger.comBlogger20125tag:blogger.com,1999:blog-32509957.post-19162775293540212802009-12-08T11:31:00.004+01:002009-12-09T00:17:38.382+01:00infotaqCompany that creates qr codes and mobile phone apps.www.infotaq.nlUnknownnoreply@blogger.com6tag:blogger.com,1999:blog-32509957.post-8413197589485385442006-12-18T21:32:00.000+01:002006-12-18T22:30:41.227+01:00Upgrading mt-daapd to fireflyEver since I ordered the soundbridge I spent a lot of time on forums about mt-daapd and the soundbridge. I found out that the pinnacle soundbridge (available in my country) does not work with the mt-daapd music server I am currently running (0.2.4). I decided not to wait until the SB arrives but to update my server with a more uptodate version of the server. So that if the SB arrives it is truly Unknownnoreply@blogger.com3tag:blogger.com,1999:blog-32509957.post-22946010494352370262006-12-08T16:12:00.000+01:002006-12-08T16:32:50.174+01:00Ordered the soundbridgeSince I am so happy with my mtdaapd server. I decided to buy a Roku soundbridge. With the soundbridge I am able to listen to my music over my network without having to turn my pc on and it is compatible with the daap-music server installed on my ubuntu linux server. It looks like this The soundbridge is capable of streaming my music and I can also listen to many digital radio station. Once I got Unknownnoreply@blogger.com3tag:blogger.com,1999:blog-32509957.post-42868603029365089762006-12-05T16:19:00.000+01:002006-12-05T16:24:49.143+01:00Play counter mt-daapd part 2Yesterday I told about the counter of my daap-server. I altered the code a bit and now it is smaller.<?php$myFile = "mt-daapd.log";$fh = fopen($myFile, 'r');$theData = fread($fh, filesize($myFile));fclose($fh);$address = array('/172.19.3.22/','/172.19.3.19/','/172.19.3.18/') ;$name = array(john, Joe, Lisa);for ( $counter = 0; $counter <= 2; $counter += 1) {if (preg_match_all($address[$counter], $Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-32509957.post-4723690708024342272006-12-04T22:48:00.000+01:002006-12-05T00:37:01.866+01:00mt-daapd play counterHello,Since a couple of months I use the mt-daapd software to make my server share my music collection over my local network. I posted about this a while ago. Since I live with 8 people in a house I was very curious if anybody besides me was using the music server, and how often do they play songs. I found out that the admin pages show how many songs are played but not who has played them.than I Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-32509957.post-21826719557945091822006-12-04T22:33:00.000+01:002006-12-04T22:48:16.331+01:00mysql phpmyadminHello Actually I promised to talk about installing mysql and phpmyadmin. Unfortunately it has been a while ago since I installed these packages and I do not remember much of it. Since there are so many really good howto`s on these two packages I will not discuss them here. If you encounter problems please visit ubuntuforums.org if you have trouble installing either-one of the packages these Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-32509957.post-1163762870935374052006-11-17T11:44:00.000+01:002006-11-17T15:10:01.396+01:00Installing php5It has been a while since my last post. In this post I want to talk about installing php5. I start with sudo apt-get install php5Next to make it work with apache2sudo apt-get install libapache2-mod-php5And now restart the apache2 webserver withsudo /etc/init.d/apache2 restartNow test if it all works. the DocumentRoot is standard set to the directory "/var/www" So all php files you produce must beUnknownnoreply@blogger.com0tag:blogger.com,1999:blog-32509957.post-1160578022187455742006-10-11T16:30:00.000+02:002006-10-11T16:48:08.676+02:00Apache webserverInstalling the apache2 webserver was very easysudo apt-get install apache2 Now it should work. To test if the server is installed correct just type the ip address of your server into the address-bar of your browser and you should be seeing something like this"It Worked! The Apache Web Server is Installed on this Web Site! "If you can see this page, then the people who own this domain have Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-32509957.post-1158747336050698502006-09-20T11:07:00.000+02:002006-09-20T12:15:37.943+02:00Creating playlistsIt has been a while since my last post. In this post I will show how I created playlists on my I-tunes daap server. Actually this one is very easy. just type: sudo vi /etc/mt-daapd.playlist Now you can add playlists for instance "new this month" { Date after 4 weeks ago }Now restart the daap-server and you will see the playlist listed in I-tunes.The mt-daapd.playlist file is very well commented Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-32509957.post-1156439059682239342006-08-24T17:51:00.000+02:002006-08-24T19:06:57.300+02:00I-Tunes server part 2Now I am ready to install the mt-daapd software. The guide provided in the mt-daapd wiki will run you through the steps of installing the mt-daapd software on Ubuntu. I decided to do it a bit different. Since Ubuntu is a debian-based distro I tried installing it with the debian package found here I downloaded the ".deb" file to my (windows)desktop PC. Now I have to copy the file to the server Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-32509957.post-1156433368992491242006-08-24T17:07:00.000+02:002006-08-24T19:06:20.970+02:00I-Tunes server part 1In this post I will write about setting up a daap-server . With this server you`ll be able to stream your music collection to I-tunes and some other music-programs. There are different projects working with the DAAP (digital audio access protocol). Check here for an overview of the projects.On my ubuntu-server I am going to work with the mt-daapd software. You can find the homepage of this Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-32509957.post-1155905762517644832006-08-18T14:09:00.000+02:002006-08-18T15:20:47.550+02:00Remote AccessUntil now I have been working on the server like a desktop. So the server has a screen and a keyboard connected to it. This is not an ideal situation. I rather connect to it from my desktop machine, so that I don`t need an extra screen and keyboard to work on the server. Another benefit is that the machine is pretty noisy and now I can just put it up the ceiling in the hallway where it doesn`t Unknownnoreply@blogger.com3tag:blogger.com,1999:blog-32509957.post-1155806398854368492006-08-17T10:33:00.000+02:002006-08-24T16:37:55.453+02:00Samba part 2In the first part about Samba I talked about installing Samba and a way to edit the configuration file smb.conf. In this post I will talk about the steps I took to get it all working. Please note that I am not a linux-expert. So if something works for me it is not guaranteed that it will work for you too.The first thing I did is add a user to samba. In order to add a user to samba you should Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-32509957.post-1155716324970805972006-08-16T09:25:00.000+02:002006-08-16T12:44:54.720+02:00Samba part 1So it is time to put some music into the server. With samba you are able to share the data on the server with windows-computers connected to your network. Check the samba web-site hereInstalling the server is very simple with ubuntu server. Just type sudo apt-get install samba For me this went perfectly smooth. Now we can start configuring the samba server. You configure the samba server by Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-32509957.post-1155553908543037352006-08-14T12:53:00.000+02:002006-08-14T13:28:45.056+02:00Mounting the harddiskSo the server is up and running. First thing I want to do now is find my secondary harddisk and find out if all the data on it is accessible. All files in a Unix-system are arranged in a tree. All the files can be spread over different devices such as harddisks, cd-rom, usb device. With the command "mount" you can attach the file system found on a device to the file tree. So I gave the command: Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-32509957.post-1155471256848782422006-08-13T13:32:00.000+02:002006-08-17T16:11:04.853+02:00Installing serverSo I am ready to start installing the server. I chose for the ubuntu-server edition. You can download the software here. I restarted the pc and made sure it booted from CD (you can change the boot sequence in the BIOS, access the BIOS by pressing a "specific" key during startup). I chose to install just the minimal server. You can also choose to install a LAMP server with linux, Apache (webserverUnknownnoreply@blogger.com0tag:blogger.com,1999:blog-32509957.post-1155300261018018912006-08-11T14:23:00.000+02:002006-08-11T14:44:21.046+02:00Copying dataAs posted before, I wanted to copy data from a removable usb-harddrive to the harddisk for the linux-server. So I connected the USB harddrive to my pc running Ubuntu. At that time something went wrong and I was logged out of Ubuntu and was not able to log on again. I couldn`t really figure out what the problem was. Although I was still able to log onto a terminal-session I could not get it up andUnknownnoreply@blogger.com0tag:blogger.com,1999:blog-32509957.post-1155283305327709442006-08-11T10:01:00.000+02:002006-08-11T14:13:55.370+02:00StorageThe next step should be installing the software on the machine. But in this case it is a bit different. I borrowed a Removable Harddisk from a friend with a lot of data. The only free space I had was on my brand new harddisk. Unfortunatley I did not have the server up and running yet and I had to return the removable harddisk the next day. So I had to copy the data onto the harddisk using my Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-32509957.post-1155283078342075312006-08-11T09:28:00.000+02:002006-08-11T14:07:49.156+02:00HardwareTo set up a server you need hardware. I am going to use is an old pc of a friend. The machine has a Pentium III 450 processor with 256Mb Ram and a Harddisk of 10gig. One of the main purposes of the server is storage so the 10gig harddisk will not be sufficient. Luckily hard disks are not very expensive these days. So I bought a 320gig harddisk at the local store.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-32509957.post-1155214331524331272006-08-10T14:23:00.000+02:002006-08-10T14:52:11.533+02:00The startSetting up a Linux server is something I wanted to do for ages. But somehow I could always come up with something that seemed more important at the time. The main reason to build a server is of course the functionalities of the server. But another reason to set up a linux server is to learn how to work with Linux.In this Blog I will post about my efforts in setting up the server. Right now I haveUnknownnoreply@blogger.com0