Howdy. 

 1. Connect to silo, using PuTTY. 

I am going to be hapeders and my port numbers are listed here:

http://www.cs.indiana.edu/classes/c212-dgerman/sum2015/students.html

So as hapeders I will have ports 13759 (and 13760).

I check and the server is not up and that means port is not taken.

If my server were up this URL would confirm it:

http://silo.cs.indiana.edu:13759/

 2. cd ; 

    cp /l/www/classes/a348/spr2013/software/apache-tomcat-7.0.35.tar.gz .

 3. gunzip apache-tomcat-7.0.35.tar.gz

 4. tar xf apache-tomcat-7.0.35.tar

 5. cd ~/apache-tomcat-7.0.35

 6. cd conf/

 7. mv server.xml old-server.xml

 8. pico -w server.xml

Now I am editing the file. Here's what the file should look like: 

<Server port="52595" shutdown="SHUTDOWN">

  <GlobalNamingResources>
    <!-- Used by Manager webapp -->
    <Resource name="UserDatabase" auth="Container"
              type="org.apache.catalina.UserDatabase"
       description="User database that can be updated and saved"
           factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
          pathname="conf/tomcat-users.xml" />
  </GlobalNamingResources>

  <Service name="Catalina">
    <Connector port="52594" />

    <Engine name="Catalina" defaultHost="localhost">
      <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
             resourceName="UserDatabase" />
      <Host name="localhost" appBase="webapps" />
    </Engine>

  </Service>
</Server>

Before you save please replace the ports in it with your ports. 

The smaller number should be in the middle, the bigger one at the top. 

 Save the file and exit pico. 

 9. pico -w ~/.bash_profile

Once the file is opened, go to the end and add these lines:

JAVA_HOME=/usr/lib/jvm/jre-1.7.0-openjdk.x86_64
export JAVA_HOME

CATALINA_HOME=/u/atcundif/apache-tomcat-7.0.35
export CATALINA_HOME

CLASSPATH=.:$CATALINA_HOME/lib/servlet-api.jar
export CLASSPATH

Please replace atcundif with your username. 

Then save the file and exit. 

10. source ~/.bash_profile

11. $CATALINA_HOME/bin/startup.sh

So now I check:

http://silo.cs.indiana.edu:13759/

12. pico -w $CATALINA_HOME/webapps/ROOT/index.html

I can check and I am sure Hallie's server is up. 

--

What is the result of step 12:

[hapeders@silo conf]$ cat $CATALINA_HOME/webapps/ROOT/index.html
My name is Hallie and I travel a lot. <p>

I like dogs here's a dog: <p>

<img src="http://dogmagz.com/wp-content/uploads/2015/03/German-Shorthaired-Pointer.jpg" width=300 height=200>

[hapeders@silo conf]$