Network Management (ICA40399)

SWAN TAFE C122 Web Log

Installing Debian Linux

August 1, 2006 by · No Comments · Linux, Operating Systems, Performance

In the 1st item of assessable work you have been asked to install SUSE 10.1 along with VMWare player to act as the base for the rest of your work this semester.

You will install Windows XP and Debian Linux as Virtual machines.

In the first stage you need to document how to install Debian 3.1 as a Virtual machine, with just a base set of features without any extra items.

Writing the documents as a blog entry on your blog, and using trackback to refer to this entry.

Welcome to C122 – Semester 2, 2006

July 26, 2006 by · 1 Comment · Notices

Welcome to the C122 course for Semester 2, 2006.



If you have not done so, you should create a blog of your own at www.uniblogs.org.

You should write your own entry to introduce (briefly) and upload a photo of yourself.

The idea behind this is to practice using the blog system before you have to use it intensely during the semester.

You’ll find a sample entry if you read the whole of this story.

[Read more →]

more funnies

December 12, 2005 by · No Comments · Bits and Giggles

http://c122.edublogs.org/files/2005/11/pcweenies_0795.jpg

Mysql Server – DOC

December 12, 2005 by · No Comments · Linux

In Synaptic search for MySql and install, “mysql-server” and “mysql-admin” (this is the administration GUI.)

When it installs type into the terminal: mysqladmin password

This will change the root password to something of your choice. Next, in terminal, type mysql-admin and a gui will appear. Put in Hostname: localhost, username: root, password: what ever you set it to before.

On the left pane go down to “Catalogs” and in the bottom left window make a new “Schema”. Now navigate to user administration, and create a user and apply the changes. Now right click on the new users name in the bottom left and select add host and then select localhost. Now select @localhost at the bottom under the username and go to Schema Privileges. Select your database and then add the appropriate privileges, if the user is the admin for that database give them all the privileges. This will make sure that you can login locally.

Contributed By : Daniel Adler, Alex Hunt , David Johns, Aaron Stout

SSH Server – Doc

December 12, 2005 by · No Comments · Linux

Install ssh by using this simple apt get command:

apt-get install ssh

Change to the user you want to use on the linux box in terminal with the su command.

su

Then in terminal type the following to create a key for your user.

ssh-keygen –b 1024 –t rsa

It will now display your key, keep this handy. Change to the users home directory

cd ~/.ssh/

Now you have to view the rsa public file with the following command.

cat id_rsa.pub

Now select all of that information from the ssh–rsa to @ and copy it by right clicking and selecting copy. Now make the following file.

sudo vi authorizes_keys2

And then paste it in by hitting and then right click and paste. Save and close the file ( :wq) and you should now be able to use remote SSH.

Contributed By: David Johns, Alex Hunt, Aaron Stout, Daniel Adler

Samba Server – Doc

December 12, 2005 by · No Comments · Linux

Step 1

In the terminal type

sudo apt-get install samba
Making sure that you have the Ubuntu install CD in to get the files from.

Step 2

sudo vi /etc/samba/smb.conf

Alter workgroup = MSHOME to your workgroup.
save the file ( : wq)

Step 3

sudo service samba restart

Step 4

Sudo smbpasswd –a
(Make sure that the username is already created on your machine.)

Step 5

On a windows machine go to “View Network Computers” and dbl click the samba machine and login with the new samba account.

Contributed By: Alex Hunt, David Johns, Aaron Stout, Daniel Adler

Samba Printing – Doc

December 12, 2005 by · No Comments · Linux

Sudo adduser –system –disabled-password smbprint

Sudo smbpasswd –a smbprint

Sudo vi /etc/samba/smb.conf

Remove ; from

; printing = cups

; printcap name = cups

In the section [printers]

Change

Browseable = no to yes

Public = no to yes

Path = /tmp to /home/smbprint

Writeable = No to Yes

Append to that section

Guest account = smbprint

Save and quit

Restart samba

Sudo vi /etc/cups/mime.convs

Remove # from

#application/octet-stream application/vnd.cups-raw 0 -

Save and quit

Sudo vi /etc/cups/mime.types

Remove # from

#application/octet-stream

Save and Quit]

Sudo vi /etc/cups/cupsd.conf

Append the Following

 

AuthType none

Order Deny,Allow

Deny From All

Allow From 10.14.0.*

 

Save and Quit

Restart cupsys

Contributed By: Alex Hunt, David Johns, Aaron Stout, Daniel Adler

VNC Server – DOC

December 12, 2005 by · No Comments · Linux

Open synaptic from the System>Administration menu

Search for VNC

Select the VNC server and mark for install

Click apply and it will begin to download

When it has installed type vncserver into terminal and a new session will start. If you want to change the resolution to 1024×768 use the following: vncserver –geometry 1024×768. Remember the account you start the server with is the account that you will be logged in with when you connect.

Contributed By: Alex Hunt, David Johns, Aaron Stout, Daniel Adler

Media Streaming “GNUMP3D” – DOC

December 12, 2005 by · No Comments · Linux

Installing

  • Open Synaptic and search for Gnump3d
  • When found mark for installation
  • click on apply
  • click mark to install,
  • Starts the downloading of packages,
  • Configuration

  • Sudo vi /etc/gnump3d/gnump3d.conf
  • Change root = /music
  • remove # from in front of recursive_randimize = 1
  • Contributed By: David Johns, Alex Hunt, Aaron Stout, Daniel Adler.

    Web Server “Apache” – DOC

    December 12, 2005 by · No Comments · Linux

    Apt-get install apache2

    Service apache2 start

    Go to /var/www/ This is your default root directory. Make a webpage and call it index.html and when people look at your server with their web browser your index.html should appear. That is it….

    Contributed By : Alex Hunt, David Johns, Aaron Stout, Daniel Adler.