Skip to content

Commit

Permalink
add travis badge
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Hansson authored Apr 23, 2017
1 parent 24e1850 commit 5d780c6
Showing 1 changed file with 2 additions and 44 deletions.
46 changes: 2 additions & 44 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,56 +3,14 @@ Scripts to setup and configure the ownCloud VM.

Feel free to contribute!

[![Build Status](https://travis-ci.org/techandme/owncloud-vm.svg?branch=master)](https://travis-ci.org/techandme/owncloud-vm)

----------------------------------------------------------------------------------------------------------------------------

### **DOWNLOAD THE VM**

**You can find all the VMs [here](https://www.techandme.se/pre-configured-owncloud-installaton/).**

----------------------------------------------------------------------------------------------------------------------------

#### CHANING DEFAULT USER ($UNIXUSER)

If you want to change the default user to your own, you have to change $UNIXUSER in four places:

- owncloud_install(_production).sh
- change-ocadmin-profile.sh
- owncloud-startup-script.sh
- rc.local (for the beta VM)

#### HOW TO SETUP THE BETA VM (PRE-PRODUCTION)

- Create a clean Ubuntu Server 16.04 VM with VMware Workstation or VirtualBox
- Edit rc.local likes this:

```
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
# Get a fresh RC.LOCAL
if [ -f /var/rc.local ];
then
echo "rc.local exists"
else
wget https://raw.githubusercontent.com/techandme/owncloud-vm/master/beta/rc.local -P /var/
cat /var/rc.local > /etc/rc.local
rm /var/rc.local
reboot
fi
exit 0
```
- Reboot

----------------------------------------------------------------------------------------------------------------------------

Expand Down

0 comments on commit 5d780c6

Please sign in to comment.