![]() |
Text-only site... University College Cork... |
|
| |
Helpdesk :
Printable version...
Page last modified:
25/1/12 3:27pm![]()
Software FAQ
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.
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.
Where can I get more information on C?
The following link contains information on C:
http://www.eskimo.com/~scs/C-faq//top.html
Where can I access documentation on MySQL?
The following link provides documentation on MySQL
http://www.mysql.com/documentation/index.html/
Where can I find more information on Tomcat?
http://jakarta.apache.org/ provides good info on Tomcat
System Architect error "Already in use" when I try to open my project...
System Architect failed to remove its lock file the last time it had this project open (it may have crashed).
You can remove this lock file yourself. It will be located in the same directory as your project and has a .LCK extension, usually NETWORK.LCK, e.g.,
cd
rm NETWORK.LCK
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 Filesj2sdk_nbj2sdk1.4.2jrebin;
If you wish to add several paths then separate each path with a semi-colon. For example:
set path=c:Program FilesJavaj2re1.4bin;c:Program Filesj2sdk_nbj2sdk1.4.2bin;c:Program Filesj2sdk_nbj2sdk1.4.2jrebin;c:Program Filesjavaccjavacc-3.2bin;c:Program FilesJMF2.1.1ebin;c:BueJ;c:oracleora92bin;c:Program FilesOraclejre1.3.1bin;c:Program FilesOraclejre1.1.8bin;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:javablurb;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.
How do I ssh / connect to a site outside UCC?
Open an ssh client and, from the Menu bar, select Edit then Settings.
The Profile Settings window appears and defaults to Connection Settings. If not, navigate to 'Connection' in the directory structure on the left side of the window.
Tick the box 'Connect through firewall'.
Navigate to 'Firewall' in the directory structure on the left side of the window. It is near the end of the list.
Set Firewall URL to hermes2.ucc.ie
Set socks version to socks 5
Finally, test the client's settings by attempting to connect to the desired server outside UCC.
If you have problems connecting, please contact the CS Helpdesk by emailing help@cs.ucc.ie
Where can I buy software at educational / student prices?
The link http://www.ucc.ie/en/sit/laptop/ lists software for students available from either:
http://www.software4students.ie/
or
http://www.studentsoftware.ie/ (the Micromail link)
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.
Listen to radio / real player streams ?
Set your client to use the rtsp proxy service (installed on csweb):
server: csweb.ucc.ie
port: 5432
Note this can create traffic issues so be sure to exit your client when finished.
Why do I receive duplicate emails to my @cs.ucc.ie address?
The postfix mail delivery transport handles "@cs.ucc.ie" mail.
Postfix FAQ: Postfix sends duplicate mail
-------------------------------------------
Some people will complain that Postfix sends duplicate messages. This happens whenever one message is mailed to multiple addresses that reach the same user. Examples of such scenarios are:
* One message is sent to the user, and to an alias that lists the user. The user receives one copy of the mail directly, and one copy via the alias.
* One message is sent to multiple aliases that list the user. The user receives one copy of the mail via each alias.
Some people will argue that this is the "right" behavior. It is probably more a matter of expectation and of what one is used to.
The only way to "fix" the issue is by making Postfix slower. In the above examples, Postfix would have to expand all distribution lists before commencing delivery.
By design, Postfix delivers mail to different destinations in parallel. Local delivery is no exception which is why Postfix can be faster than sendmail.
Where can I find Oracle documentation?
The following link contains Oracle documentation:
http://student.cs.ucc.ie/~oracle/
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.
How do I use tomcat in the labs?
Probably the best easiest solution for Servlet jsp and webapps development in the labs is to use Net beans IDE. It comes complete with a built-in tomcat server and has lots of working examples. Also, the server can be started and stopped by ordinary users.
First-time users need to login to Linux OS, then:
mkdir -p ~/tomcat
cp -R /usr/local/jakarta-tomcat-4.1.30/webapps/ROOT.orig ~/tomcat/ROOT
cp -R /usr/local/jakarta-tomcat-4.1.30/work.orig ~/tomcat/work
You should only need to do this once. All your servlets and jsp files should be deployed from inside your home directory in tomcat/ROOT & tomcat/work respectively.
Next, insert sym links from tomcat pointing to the new directories you created above. These will automatically be created if you logout and login again.
If you would rather run the script (that creates them during login) manually, then execute:
/usr/local/tomcat-setup script
Note: From now on, the sym link creation will happen automatically at login.
To start tomcat, execute startup.sh from usr/local/jakarta-tomcat-4.1.30/bin/
To stop tomcat, execute shutdown.sh from usr/local/jakarta-tomcat-4.1.30/bin/
Note: this installation runs on port 8080. To test it, try loading this URL http://localhost:8080/index.jsp
You may want to use tomcat with complete configuration control, i.e., for more than just running servlets and jsp files. In this case, we suggest that you install tomcat in your home directory and remove the documentation to save disk space.
What Software Is Available to CS Staff + Students?
The Following Page documents the software available
to staff and students via the various channels:
http://www.cs.ucc.ie/cssw.html.
Where can I find a java de-compiler?
To convert claas files to source
http://kpdus.tripod.com/jad.htmlThis FAQ courtesy of Fergal Lane.
Installed and had a look at LyX on windows 2000. Found a windows installer at:
http://wiki.lyx.org/Windows/LyXWinInstaller
This is for version 1.3.7. No building of source files needed.
It installs other programs needed including a basic install of miktex.
Installed painlessly for me and seems to working fine so far.
The only other thing it seemed to need was a dictionary for the aspell spelling checker. Just installed the english one from:
http://aspell.net/win32
There's also a windows installer for 1.4.1 at:
http://wiki.lyx.org/Windows/Windows
but this doesn't seem to come with third party software like miktex.
How do I get around max UID=60000 Security limit in SuSE Linux
Linux SuSE Maximum UID value of 60000
To change the Max value
run yast
navigate to:-
Security and Users
-> Local Security
--> Custom Settings
--->Next->Next->Next->User ID Limitations
Change the value in that panel
what are student email server settings for pop imap
what are student email server settings for pop imap?
POP:
to receive:pop.student.cs.ucc.ie
to send:smtp.student.cs.ucc.ie
IMAP:
to receive:imap.student.cs.ucc.ie
to send:smtp.student.cs.ucc.ie
How do I make apt-get in ubuntu linux with a proxy server
How do I make apt-get in ubuntu linux with a proxy server
Ubuntu way to setup proxy for apt-get:-
Create a file in /etc/apt/apt.conf.d/
called proxy
add one line into that file thus:
Acquire::http::Proxy "http://csproxy.ucc.ie:80";