Академический Документы
Профессиональный Документы
Культура Документы
This machine has been configured with a Linux virtual machine (Ubuntu 14.04),
accessible via the VMWare icon
on your Windows desktop. The virtual
machine has been setup with a number of basic applications you may require for
course work, or you may just use to learn about Linux. The following software
packages are already installed:
1. gnu tool chain (gcc, make, etc.)
2. oracle jdk 8 (java, javac, etc.)
3. apache2 (http webserver)
4. apache tomcat (java servlet container)
5. mysql (relational database)
6. php
7. nodejs including npm (node package manager)
8. git (version control)
9. python 2.x and python 3.x (python and python3)
10.libreofffice (document editing)
11.maven (java build tool)
3. To the right of the Library panel you should see the option to power the
virtual machine (see image).
4. You should see the login screen as shown in the image. Click on the Ubuntu
icon,
NOTE: if this is the first time you have typed sudo in the current
terminal session it would prompt you for a password. Enter the
password for the default account, that is the new password
entered in the previous section.
5. In the same terminal type:
sudo passwd BANNERID
And follow the on screen prompt as in the previous section.
6. To allow the new user do things like install software, you will need to add
them to the sudo group. In the open terminal window type:
sudo usermod -a -G sudo BANNERID
Now the new user can run commands using elevated privileges by typing
sudo before the command.
7. There are also a number of other groups you may need to add the new user
to, for each of the groups simply type:
sudo usermod -a -G GROUPNAME BANNERID
These groups are: adm , cdrom, dip, plugdev, lpadmin, sambashare
So for instance to add the new user to adm you should type:
sudo usermod -a -G adm BANNERID
8. To see all the groups the user belongs to type:
sudo groups BANNERID
9. You can now logout of the default account and log back in using the newly
created user.
APPENDIX
This section contains useful information about each installed component.
NOTE: These applications are not enabled by default except for
java which does not need to started or stopped.
Mysql
Root Password (9Z0WnYDf0CLA), Port (3306)
Apache
Port (80)
Tomcat
Port (8080), Installation Directory ( /opt/apache-tomcat-8.0.24 )
Start tomcat server:
starttomcat
Stop tomcat server:
stoptomcat
Java
Installation Directory (/usr/local/lib/jdk1.8.0_45)