Athena is an internal data server for students who are pursuing their BTech in Computer Science and Engineering at National Institute of Technology Calicut. All the CSE students have an account in Athena DataServer from their second year onwards. All users are assigned a fixed 2GB disk quota. The users can also host their personal website in the server.
Processor: 2 x Intel® Xeon® CPU E5-2650 v2 @ 2.60GHz
RAM: 64 GB DDR3 1600MHz
Storage: 4TB
OS: Ubuntu 14.04 LTS Server Edition
Internal IP: 192.168.40.99
Public IP: 124.124.70.116
All the Athena users have username same as username of their NITC mail id. So to login, open a terminal and type:
ssh <first-name>_<roll-no>@athena.nitc.ac.in
Replace <first-name> and <roll-no> with your name and roll number.
e.g. ssh abcd_b110142cs@athena.nitc.ac.in
The default password for the Athena account is the username itself.
The users have been assigned a fixed disk space usage quota. User can check the quota by running the command 'quota -s'.
Athena also hosts MySQL server. All the users have a database account. The username and default password of database is same as roll number.
#After logging in using ssh
mysql -u <roll-no> -p
The database name is of format db_<roll-no> like if your roll number is b110142cs then database name is db_b110142cs.
use db_<roll-no>;
Athena is powered by Apache Webserver 2.4.7. Users can host and publish their webpages on Athena. Athena supports PHP as server side scripting language with MySQL database. The webpages of user is available under http://athena.nitc.ac.in/<username>. A good example of website hosted in Athena is Course page of Dr. Murali Krishnan K.
This section covers most of the problems occurs to the user while using Athena.
1. I am not able to do ssh to Athena. It shows the warning 'WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!'
Ans: This happens if the remote machine changes its public key. To rectify this remove the known_hosts file.
rm ~/.ssh/known_hosts.
2. I forgot my password. What should I do?
Ans: If you have forgotten your password then send a mail to ssladmin@nitc.ac.in from your NITC mail id. If you have some problem in sending mail from NITC mail account then contact Lab Staff or SSL Student Administrator with your valid ID card for getting your Athena password changed and then contact CNC to rectify the problem with your NITC mail account.
3. While login to Athena through SSH I got 'permission denied' error even if my username and password is correct.
Ans: The cause of this problem is either username or password is incorrect or your Athena account is locked. In this case directly contact Lab Staff for further proceedings.
4. I am not able to create or upload files to my Athena account.
Ans: The quota assigned to your account may be full. The policy is that each user has been assigned a soft quota of 2GB and hard quota of 2.5GB. If you have more than 2GB data in your account then your account will go in grace period of 20 days. During the grace period you have to bring down your storage space to 2GB.And after 20 days you will not be allowed to create files any more in your account.
5. I am not able to see my webpages. It shows me 'Permission Denied' error.
Ans:This happens because the other don't have the permission to see your files. First check the permission of public_html directory ls -l public_html. If you have some thing like drwxr-xr-x then its OK, otherwise change the permission of public_html directory to 'read and execute of all' chmod rx+ public_html. Check the files for read permission for all chmod r+ myfile. All the directories inside public_html directory must have permission 755 and files must have permission 644.
6. I want to install a package in Athena, but I am unable to use 'sudo'.
Ans: Your account is not an administrator account therefore you cannot use 'sudo'. If you want same packages to be installed in Athena and is worth for all then send a request to ssladmin@nitc.ac.in.