Web Systems for Uni


Written by

I have created two working systems for my university course, the first being my Server Status checker and the second being Wonderful Wiki, Wiki system.

Both these systems were created in PHP and are fully working. I will try and release the source code at some point for people to download and I may continue to develop the systems but in the foreseeable future these systems will just be archived and readily available.

Update: Please note, since I developed my dissertation; the server status checker, Twitter has removed the support for the authentication being used, so the demo may not work correctly.

Results


Written by

As you may or may not know this past year I have been studying for my BSc Network Systems.

I have now got my results back and my overall result is a 2:1.

Pretty PHP File Lister


Written by

While I was developing a site for someone, it required a File and folder lister it also required to look pretty with icons and stuff.

So I have developed some code which you can download (lister-1.0.zip).

It is just the raw first version of the code, replace ‘archive.php‘ with what ever your php page is and change ‘archive‘ with the folder that is required to be listed.

I will try to refine the code at a later date.

untar stuff


Written by

Quick guide to remember

untar .tar.gz / .tgz

tar -xvzf file.tar.gz

untar .tar.bz2

tar -xvjf file.tar.bz2

untar .tar

tar -xvf file.tar

Remember, z = gz, j = bz2 and nothing for no algorithm.

WINS and Linux


Written by

What is WINS?

WINS is NetBIOS names over TCP/IP. It is what allows Microsoft Windows machines to contact each other via their Computer name from instances i.e.

\\Computer

In a domestic network setup, the computer names are not included in a local DNS server and so this is where WINS comes in.

WINS & Linux

Linux doesn’t try to contact other computers with their WINS names by default so the following will activate this.

apt-get -y install winbind
apt-get -y install -f
nano /etc/nsswitch.conf

Search for the line starting with hosts (ie “hosts: files dns”)

Change it too: hosts: files wins dns

Press [CTRL] + [X] hit [Y] and then [ENTER]

/etc/init.d/networking restart

You should now be able to ping a Windows Computer name.