![]() |
Text-only site... University College Cork... |
|
| |
Helpdesk :
Printable version...
Page last modified:
25/1/12 3:27pm![]()
Top Calls
How do I submit an assignment on cosmos?
Open a browser window and go to http://cosmos.ucc.ie/submit
Log in using your Unix username and password.
You will see drop boxes for each assignment class, e.g., CS7300, etc. Select the appropriate Year, Module, Lab and Num Files.
Click on the "Browse" button and select your assignment file from your home directory / desktop. Submit your assignment.
When your assignment has been successfully submitted, you will receive an email confirmation.
If you are unable to submit your assignment, (e.g., an error message is returned) check that the file is in the correct format. Your lecturer will have specified the file type, size and name. If your file does not match the specifications, it will be rejected by the submission system.
Also, it is imperative that you select the correct module/lab from the drop boxes. If you do not select an "active" module/lab, you will receive an error stating "Sorry. This Lab is closed". You will also see this message if you miss the submission deadline.
How do I submit my multimedia assignment using an apple mac/OSX?
Log in using your Unix username and password.
On the Desktop, click on the Multimedia Icon and select the Submission Server.
From here, you will see drop boxes for each assignment class, e.g., CS7300, etc.
Select your assignment file from your home directory / desktop and drag it into the chosen submission folder.
You will be prompted to confirm this action, e.g., "You do not have permission to see the results of this operation - Do you want to continue?" Click yes and your assignment will be submitted.
Within 10 minutes, you will receive an email to confirm receipt of your assignment. Please check this email carefully to ensure that you have submitted your assignment to the correct folder etc.
To complete this operation successfully, it is imperative to log in using your UNIX username and password, to ensure you have the correct permissions, etc.
If you encounter any problems, please email help@cs.ucc.ie describing the problem and/or error messages.
When I log on to Windows, I am told my account is locked out or disabled. Who do I contact?
Please call to the CS Helpdesk (room G22 on the ground floor of the Kane Building).
Opening Hours: 11:00am - 12:30pm (Mon-Fri)& 2:30pm - 4:30pm (Mon-Thurs).
You will be required to produce your Student ID card.
How do I change my password in Windows?
Log on to Windows with your username and password.
Hold down the Ctrl, Alt and Delete keys (at the same time).
Click the change password option and insert your new password.
This should take effect from your next login.
Using a jar with your java command in Windows /DOS and Unix / Linux.
The procedure below outlines how to use the connector J jdbc driver with your own java class. This also applies to any jar file.
Assuming the jar is in the current directory mysql-connector-java-3.1.12-bin.jar and your class is myclass then do:
In DOS / Windows:
java -cp .;mysql-connector-java-3.1.12-bin.jar myclass
In Unix:
java -cp ./mysql-connector-java-3.1.12-bin.jar:./ myclass
The main gotcha is the PATH separator in DOS is semicolon and in Unix is a colon. Also, having a dot at beginning of PATH in windows still does not seem to work for including JARs when running the JRE.
How do I change the password for mysql database?
Open a browser window and go to:
http://cs1.ucc.ie/db-password/ (1st year CS only)
http://cosmos.ucc.ie/db-password/ (all other CS students)
Log in using your Unix username and password.
You may then change your sql database password. The change is effective immediately.
How can I backup my home directory to DVD or CD?
PCs with CD & DVD-writers are positioned in the following labs for student use:
* B10-A near the windows, far right-hand side
* B10-B near the windows, far left
* Block E level 2 seperate desk to left of blackboard
* Block E level 3 front row on left
These machines are labelled as "CD & DVD writing only". They do not have the full lab image and no other software will be added to them. You can use them to backup data from your home directory or to create Knoppic Live CDs & Suse Live DVDs for use at home.
Instructions for use (Have your CD or DVD ready):
1) Login with your usual Windows login.
2) Double-click desktop icon "Burn CDs & DVDs with Sonic..."
or Click Start Menu - Programs - Sonic - "Digital Media Home"
3) To backup from your home directory, click "data" on the left of the Sonic
window, then "data disc". Click the "Add Data" button and select your Z:
drive then find the data you want to put on disc and follow the prompts.
4) To Create a Suse DVD or Knoppix Live CD, open Sonic as in (2) above then
select "Copy" and "Burn Image". Click "Browse" and select "Desktop" and
"Images" folder. Select "Suse10_1_32bit.gi" or "Knoppix5.gi".
Ignore files with numbers in brackets like "Suse10_1_32bit(11).gi" as these
are spanned image files and cannot be used individually.
Using SSH from student wireless network.
To SSH to CS servers from the wireless network, you need to use Putty as the SSH client. Putty can be downloaded and run directly (no install required) from http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
You cannot SSH directly from a computer on the student wireless network (only port 80 or web access is allowed). You can, however, use an intermediary server - a proxy - to get access to an SSH server.
To establish a connection from the student wireless system a 'socks' proxy server must be used. To set up a socks proxy:
Run the putty.exe application that you downloaded above.
Enter server name of the host you wish to connect to.
Select SSH from the list of protocols.
Go to the proxy area (under connection heading).
Select the protocol SOCKS by clicking to the left of the SOCKS entry.
Under the 'connection' configuration settings, for the proxy host, enter
socks-proxy port 1080
It is imperative that you enter both the server name (socks-proxy.local)
and the correct port number (1080).
Click open and log in as normal.
How do I change my password in Linux?
ssh to Cosmos and log on with your username and password.
At the prompt, type "yppasswd".
You will be asked to enter your current password followed by your new password.
Re-enter your new password to confirm it.
The new password will be effective from your next log on.
How do I check if a lab is available on Saturday or out of term?
You can check the availability of labs at the following link:
http://www.cs.ucc.ie/helpdesk/labbookings.php
Where can I get information on Unix / Linux commands?
Information on Unix commands is available at http://unixhelp.ed.ac.uk/
If I do not check my quota regularly, what could happen to my account?
If you are close to quota, it is possible you could lose valuable files.
For example, if you are working on a critical assignment and exceed your quota, you will not be able to save the file. Alternatively, it may save with a size of zero meaning that you have lost the file.
To prevent this from happening, check your quota regularly. The procedure for checking your quota is detailed below.
ssh to cosmos and log in with your Unix password.
At the prompt, type:
/usr/bin/quota
The output of this command details your quota and usage. The blocks column tells you how much quota you have used.
You should then go to your home directory by typing:
cd
At the prompt, type:
du -k |sort -n
The output of this command is a list of all the files in your directory and the size of each. This should aid you in deleting large files. You may delete any files with .DCOP or .kss<> or .x* or .X* file extensions. You should also delete any unnecessary files that you have saved.
N.B. You should NOT delete any of the following files:
.kde2, .mozilla, your mozilla mail inbox file, etc.
To delete a file, type:
rm
If I exceed my quota, are there any files I can or cannot delete?
You may delete any files with .DCOP or .kss<> or .x* or .X* file extensions.
You should also delete any unnecessary files that you have saved.
You should NOT delete any of the following files:
.kde2, .mozilla, your mozilla mail inbox file, etc.
Where can I get more info on Java and Java API?
The following link has a good tutorial on Java
http://java.sun.com/docs/books/tutorial/
http://java.sun.com/javase/reference/api.jsp
has links to all the API and documentation.
How do I block SPAM / junk mail ?
The Computer Centre (CC) currently filters all incoming mail, from outside UCC, for spam. If a message is found to be spam it is marked as such by inserting the text '**SPAM?**" at the start of the subject line.
If you want to have these messages automatically moved out of your Inbox, please follow the procedure below.
In your home directory there is a file called .procmailrc. You need to add the text below to this file. It is important that you add it exactly as shown.
# rule to catch CCs 'Subject: **SPAM**'
:0:
* ^Subject: [*][*]SPAM[?][*][*]
spam
Save the file and exit.
Also, in your home directory there should be a file called .forward. If it doesn't already exist, you should create it by typing "vi .forward". This brings you straight into the file for editing. You need to add the line below to this file.
"| exec /usr/bin/procmail"
Monitor the 'spam' email folder in your home directory to ensure that spam is being caught. It is important to check the spam folder occasionally as no automatic filter is perfect and there is a slight risk that a valid email message may be flagged as spam.
After monitoring the spam folder for a period you may be satisfied that you are not getting 'false positives'. At this stage, you can configure your email to dump the messages flagged "spam" instead of saving them to your spam folder.
To do this, you simply edit the .procmailrc file in your home directory. The new text should be "/dev/null" instead of "spam", i.e., replace the text your added in the first step with:
# rule to catch CCs 'Subject: **SPAM**'
:0:
* ^Subject: [*][*]SPAM[?][*][*]
/dev/null
If you have difficulty with this procedure, please contact help@cs.ucc.ie.
I need a mysql database for my project. What do I need to do?
If you are in 3rd year or 4th year, it is possible that the database was already created for you. Details of the database name and your login password would have been emailed to you soon after the database was created.
Please email help@cs.ucc.ie if you have mislaid your database details, e.g., password. We will email the details to you.
Otherwise, email help@cs.ucc.ie stating your username and year. We will create a database and email the details to you when complete.
I am repeating a year but still receiving mail for the previous year
Log an online call to the CS Helpdesk by emailing help@cs.ucc.ie.
State your user id, the problem including what year you are in now. Please tell us a time when you will not be logged on and we will resolve it for you.
Why should I log off when I am finished with a PC? Why should I not log others on?
You are responsible for any work done as part of your log-in session so you should always log out after completing a session.
Do not give your account details to others.
If you do not log out or you allow others to use your log-in details, then you are still responsible for any content / actions that may be done by a third party.
It is also possible that your files may be compromised or deleted, so please protect yourself and others by logging out.
If I save data to the hard disk (C drive ) of a Lab PC, is it backed up?
No! You should save data to your home directory.
Only your home directory is backed up (Z:, /users// /).
Anything saved to the C: drive can be lost or overwritten at any time.
Also, you should not save vital any data directly to your Windows desktop, as this data could be overwritten if you are near quota.
I am automatically logged off Windows when I try to log in. How do I solve this?
Every time you log in to Windows, this information is recorded in a database. For security reasons, this record prevents you from logging in to more than one PC simultaneously.
If you do not log out of a PC correctly or if the machine crashes preventing a proper log-off, the database will still show that you are logged in. The next time you try to log in to Windows, you will be logged off again immediately without accessing the desktop.
To resolve this, you must log off from the last PC you were using.
If the PC is at a log-in prompt, e.g., it crashed and you restarted it to a login prompt, you should log in. This will log you in and automatically log you off (as per the original problem) but it will also clear your record in the database. You should then be able to log in again successfully.
In some cases, this is not possible, e.g., you cannot remember the PC or the operation does not work for you. If so, please call to the CS Helpdesk (room G22 on the ground floor of the Kane Building). Opening Hours: 11:00am - 12:30pm (Mon-Fri)& 2:30pm - 4:30pm (Mon-Thurs).
If I am over quota, is there a way of getting into Linux ?
To access command line Linux from the login screen, press Ctl-Alt-F1 and log in as normal.
Delete any files with .x* or .X* extensions.
Press Alt-F7 to return to KDE and log in again.
If the problem recurs, please call to the CS Helpdesk (room G22 on the ground floor of the Kane Building). Opening Hours: 11:00am - 12:30pm (Mon-Fri)& 2:30pm - 4:30pm (Mon-Thurs).
How do I check what quota I have or analyse what are the biggest files?
ssh to cosmos and log in with your Unix password.
At the prompt, type:
/usr/bin/quota
The output of this command details your quota and usage. The blocks column tells you how much quota you have used.
You should then go to your home directory by typing:
cd
At the prompt, type:
du -k |sort -n
The output of this command is a list of all the files in your directory and the size of each. This should aid you in deleting large files.
To delete a file, type:
rm
N.B. You should not delete your Mail Inbox through the rm command
How do I increase my print quota?
There is a coin receiver located outside the CS Helpdesk on the ground floor of the Kane Building. It accepts €2, €1, 50c, 20c and 10c coins but no change will be given. The current print charge is 4c per page.
Log in to the coin receiver using your Windows username and password. Then add coins and your print quota will be increased immediately.
There is an option to link your lab swipe card or Student ID card to your username. To do this, swipe your card first then enter your username and password, and add coins. Your card is mapped to your username for future use.
The next time you wish to increase your print quota, swipe your card and your username should automatically appear.
If you lose your card, you can still use the keyboard to enter your username and password. Alternatively, you can map another card to your username.
If you are unable to use the coin receiver, e.g. you have notes instead of coins, please call to the CS Helpdesk to top-up your print account. Opening Hours: 11:00am - 12:30pm (Mon-Fri)& 2:30pm - 4:30pm (Mon-Thurs).
When you log in to Squirrelmail (www.cs.ucc.ie/squirrelmail), the graph on the left-hand side indicates how much space you have remaining in your home directory.
If the bar graph is over 90%, then you need to clear some data out of your home directory because this may impact your logging on to your PC and receiving mail.
How to set your CLASSPATH / Command PATH in Windows.
To change the path in Windows, open a DOS command prompt and type your path details. For example:
set path=c:\Program Files\j2sdk_nb\j2sdk1.4.2\jre\bin;
If you wish to add several paths then separate each path with a semi-colon. For example:
set path=c:\Program Files\Java\j2re1.4\bin;c:\Program Files\j2sdk_nb\j2sdk1.4.2\bin;c:\Program Files\j2sdk_nb\j2sdk1.4.2\jre\bin;c:\Program Files\javacc\javacc-3.2\bin;c:\Program Files\JMF2.1.1e\bin;c:\BueJ;c:\oracle\ora92\bin;c:\Program Files\Oracle\jre\1.3.1\bin;c:\Program Files\Oracle\jre\1.1.8\bin;z:
Also, at the end of the path command, put %path% This will append the existing path to yours, so that your path gets priority. For example:
path c:\java\blurb;z:;%path%
To verify that the change has taken effect, check your path by typing:
path
You should check your path on each machine you log in to.
When you have tested that it is working, you should put the DOS command in a text file and save it with a .BAT extension in your home directory, You can then run it from z:\ prompt in DOS windows each time you log in to a machine.
If you do not wish to set the path via command prompt, right-click My Computer on your desktop. Select Properties, Advanced tab, Environment Variables. From there, you can set your user path / classpath and it should carry over from one session to the next. Do not forget to put %path% at the end of the path command.
What email is available to me and how do I access it?
Squirrelmail is available at https://www.cs.ucc.ie/squirrelmail. Log in using your Unix username and password.
Squirrelmail can be used from any platform, from work or home. It is IMAP (server) based with ssl encryption.
Blackboard is administered by the UCC Computer Centre.
Please email ltu@ucc.ie for help with this topic.
Where can I get information on dual-booting my home PC with Linux?
Disclaimer:
The documentation below is only provided to students as a reference point. Before attempting this operation, you must be familiar with the various concepts of dual-booting, backing-up, etc. Your home PC/laptop is your own responsibility.
http://www.enterprisedt.com/publications/dual_boot.html