Sam 
Moderator Premium Member 
 
Registered: 24th Dec 99
 Location: West Midlands 
User status: Offline 
 
 | 
 
Well so far I installed the desktop LTS version of Ubuntu on the server box, formatted the new 320Gb drive as NTFS, and got Samba installed. 
 
Just need to sort out the Samba configuration and a log in script etc., then I'll look into Squid! 
 
Although I wouldn't have minded using the CLI based server version, having a GUI makes life so much easier!
 | 
Sam 
Moderator Premium Member 
 
Registered: 24th Dec 99
 Location: West Midlands 
User status: Offline 
 
 | 
 
OK Samba is sorted out. 
 
Squid I installed but I'm having a bit of a mission trying to find a decent program to show the log file output in a human readable format! 
 
Any recommendations?
 | 
willay 
Moderator Organiser: South East, National Events Premium Member
 
Registered: 10th Nov 02
 Location: Roydon, Essex 
User status: Offline 
 
 | 
 
why on earth did you format the 320GB drive as NTFS? thats a Microsoft filesystem, even though Ubuntu can read and write to it, it will be alot slower then using something like ext3.  
 | 
willay 
Moderator Organiser: South East, National Events Premium Member
 
Registered: 10th Nov 02
 Location: Roydon, Essex 
User status: Offline 
 
 | 
 
quote: Originally posted by Sam 
OK Samba is sorted out. 
 
Squid I installed but I'm having a bit of a mission trying to find a decent program to show the log file output in a human readable format! 
 
Any recommendations? 
   
 
tail.
 | 
PaulW 
Member 
 
Registered: 26th Jan 03
 Location: Atherton, Greater Manchester 
User status: Offline 
 
 | 
 
http://sarg.sourceforge.net/ 
 
I use this, just stick it in a cronjob to update the output... 
 
code:
  
root@gsi ~ # crontab -l 
*snip* 
 
*/5 * * * * /usr/sbin/sarg -l /var/log/squid/access.log.0 
 
*snip*
  
  
 
[Edited on 30-11-2009 by PaulW]
 | 
Sam 
Moderator Premium Member 
 
Registered: 24th Dec 99
 Location: West Midlands 
User status: Offline 
 
 | 
 
@ Willay - will Windows users not have trouble reading/writing to an EXT3 formatted volume (i.e. via a mapped drive to a shared folder)? 
 
@ Paul - Thanks, I see that you need to install Apache on this as well according to that website - do I need to install anything else with it (i.e. a full LAMP server setup) or just Apache by itself?  I don't intend on this server being used as a proper web server so don't want to install PHP/MySQL etc. unless I have to.
 | 
PaulW 
Member 
 
Registered: 26th Jan 03
 Location: Atherton, Greater Manchester 
User status: Offline 
 
 | 
 
No, SARG will work perfectly fine with just Apache installed   It doesn't need PHP or MySQL, as the script generates raw HTML files for the log views. 
 
And as for the NTFS/ext3 debate, if you are running Samba, you are better off using ext3 formatted drives, NTFS will have a hell of a performance hit, and yes, windows machines will see the drives just fine. 
 
[Edited on 30-11-2009 by PaulW]
 | 
Sam 
Moderator Premium Member 
 
Registered: 24th Dec 99
 Location: West Midlands 
User status: Offline 
 
 | 
 
OK cool thanks, there's nothing on the drive anyway so I can easily reformat it to EXT3 and remove the NTFS-3G stuff. 
 
I may be back to ask more questions  
 | 
willay 
Moderator Organiser: South East, National Events Premium Member
 
Registered: 10th Nov 02
 Location: Roydon, Essex 
User status: Offline 
 
 | 
 
think about it Sam, Samba is running on the Linux box so it can write to EXT3 fine, the Windows users wont have a clue what filesystem it is cause it will be over the network. TCP/IP takes care of it over the network and then Samba will write/read the data to the EXT3 formatted drive. BOOM!
 | 
Sam 
Moderator Premium Member 
 
Registered: 24th Dec 99
 Location: West Midlands 
User status: Offline 
 
 | 
 
OK well like I've already said I've not had experience of setting up something like this before (other than MS or Novell based). 
 
320Gb HDD is now reformatted to EXT3. 
 
Squid and Sarg is set up, although in part with the help of Webmin. 
 
[Edited on 01-12-2009 by Sam]
 |