Please see Lecture Slides for information on now to obtain a VM. We now also have an OVA version available in the same directory.
Here's how to get started:
...
- Log into the VM using
sysadmin
as the user and result of the following as the password:Code Block
$ echo "buy it, use it, break it, fix it" | awk -F, '{print $3 $4}' | awk '{print $1 $2 $3 $4}'
...
See VM Network Configuration for how to configure your networking
.
- Start Apache by running
sudo /etc/init.d/apache2
...
start
...
...
- -
...
- you
...
- should
...
- be
...
- able
...
- to
...
- see
...
- your
...
- Wordpress
...
- site.
...
- If
...
- you
...
- want
...
- to
...
- tinker
...
- with
...
- things,
...
- look
...
- at
...
- the
...
- following
...
- places
...
/usr/share/wordpress
...
- is
...
- a
...
- fairly
...
- standard
...
- Ubuntu
...
- installation
...
- of
...
- Wordpress
...
- Web
...
- root
...
- is
...
- located in
/srv/www/ctf-portal.ctf.csail.mit.edu/
- located in
...
- and
...
- points
...
- to
...
- the
...
- installation
...
- above
...
- Plugins
...
- and
...
- such
...
- go into
/usr/share/wordpress/wp-content/plugins
- go into
...
- All
...
- these
...
- directories
...
- are
...
- owned by
root:www-data
- owned by
...
- ,
...
- so
...
- you'll
...
- need
...
- to
...
- become
...
- one
...
- of
...
- those
...
- users
...
- to
...
- explore.
...
- The simplest way is to run
Code Block sudo su
- The simplest way is to run
...
and
...
- enter
...
- the
...
- password
...
- above
...
- -
...
- this
...
- makes
...
- you
...
root
...
- .
...
- Alternatively,
...
- you
...
- could
...
- run
...
Code Block
...
sudo su www-data
...
to
...
- become
...
- the
...
www-data
...
- user.