Category Archives: ubuntu

Ubuntu – Change Apache2 Port from 80 to 8080

1. Edit the following file:

2. Change the line Listen 80 to Listen 8080

3. You also need to change the VirtualHost so that the server can use the correct server/port when redirecting traffic.
Then edit the following file:

4. Change the line <VirtualHost *: 80> to <VirtualHost *: 8080>

5. Restart the Apache2 service:

Apache will now listen on port 8080

ownCloud – Run Upgrade (Maintenance mode)

Run the following lines to upgrade ownCloud. This puts OC in maintenance mode, runs the update, runs a repair, and then disables maintenance mode.