-
-
Notifications
You must be signed in to change notification settings - Fork 667
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
2,036 additions
and
184 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,60 +1,29 @@ | ||
# Nextcloud VM | ||
[![irc](https://img.shields.io/badge/irc%20channel-%23nextcloud--vm%20on%20freenode-blue.svg)](https://webchat.freenode.net/?channels=techandme) | ||
# Nextcloud for your RaspberryPI 2 or 3 | ||
|
||
[![irc](https://img.shields.io/badge/irc%20channel-%23techandme%20on%20freenode-blue.svg)](https://webchat.freenode.net/?channels=techandme) | ||
|
||
## What is NextBerry? | ||
[More info](https://www.techandme.se/nextberry-vm/) | ||
|
||
## Maintainers | ||
* [Daniel Hanson](https://github.com/enoch85) @ [Tech and Me](https://www.techandme.se) | ||
* [Ezra Holm](https://github.com/ezraholm50) @ [Tech and Me](https://www.techandme.se) | ||
* [Luis Guzman](https://github.com/Ark74) @ [SwITNet](https://switnet.net) | ||
* You? :) | ||
|
||
## Image | ||
[Image link](https://cloud.waaromzomoeilijk.nl/s/dxFxgOqs6crjQYe) | ||
|
||
## Build Requirements | ||
These requirements are only applied if you build from the scripts: | ||
* Ubuntu Server 16.04.X Server | ||
* OpenSSH (preferred) | ||
## Documentation | ||
[How to](https://github.com/ezraholm50/NextBerry/wiki) | ||
|
||
If you install this on a clean Ubuntu 16.04.X VM, the only script you need to run is "nextcloud_install_production.sh". All the other scripts are fetched from this repository during the installation. | ||
|
||
It would be really nice if someone could develop the scripts so that they worked "out of the box", without having to use a "base VM" with Ubuntu 16.04 pre-installed. Vagrant is an option. | ||
## Version info | ||
[Versions](https://github.com/ezraholm50/NextBerry/wiki/Versions) | ||
|
||
## Machine configuration | ||
Please check the configuration here: https://www.techandme.se/machine-setup-nextcloud/ | ||
|
||
## FAQ | ||
|
||
Keep asking questions so that we can add them here. | ||
|
||
**Q:** The script says: "WARNING: apt does not have a stable CLI interface yet. Use with caution in scripts" | ||
<br /> | ||
**A:** http://askubuntu.com/a/463966 | ||
|
||
**Q:** I get NETWORK NOT OK when booting the VM. How do I solve that? | ||
<br /> | ||
**A:** There are a few causes to this error, most of them are your own network or firewall settings. | ||
<br /> | ||
- Remove the VM NIC adapter in settings on VMware/Virtualbox and then re-adding a NIC adapter. | ||
![alt_tag](https://goo.gl/gWg9JN) | ||
<br /> | ||
- Check your firewall so that it doesn't block this specific IP | ||
<br /> | ||
- Check your router/firewall that you have DHCP enabled. | ||
Note: this build does not inlude Webmin. | ||
|
||
**Q:** Which Hyper-V generation should we chose when creating a machine to load this image? | ||
<br /> | ||
**A:** You currently need to use a 1st generation machine. | ||
|
||
**Q:** Do you have a pre-configured Hyper-V VM? | ||
<br /> | ||
**A:** Yes we have, you can download it here: https://shop.techandme.se/index.php/product/nextcloud-vm-microsoft-hyper-v-vhd/ | ||
|
||
**Q:** I want a bigger version of this VM, where can I find that? | ||
<br /> | ||
**A:** You can download it here: https://shop.techandme.se/index.php/product/nextcloud-vm-500gb/ | ||
|
||
**Q:** I have found a bug that I want to report, where do I do that? | ||
<br /> | ||
**A:** Just submit your report here: https://github.com/nextcloud/vm/issues/new | ||
|
||
## First look | ||
|
||
![alt tag](https://raw.githubusercontent.com/nextcloud/screenshots/master/vm/first-look.jpg) | ||
## FAQ | ||
[FAQ](https://github.com/ezraholm50/NextBerry/wiki/FAQ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
theme: jekyll-theme-cayman |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# ~/.profile: executed by Bourne-compatible login shells. | ||
|
||
if [ "$BASH" ]; then | ||
if [ -f ~/.bashrc ]; then | ||
. ~/.bashrc | ||
fi | ||
fi | ||
|
||
mesg n || true | ||
|
||
# Resize or use hd | ||
mkdir -p /var/scripts | ||
|
||
if [ -f bash /var/scripts/resize-sd.sh ]; then | ||
|
||
rm bash /var/scripts/resize-sd.sh | ||
else | ||
wget https://raw.githubusercontent.com/ezraholm50/NextBerry/master/static/resize-sd.sh -P /var/scripts | ||
chmod +x /var/scripts/resize-sd.sh | ||
fi | ||
if [[ $? > 0 ]] | ||
then | ||
echo "Download of scripts failed. System will reboot in 10 seconds..." | ||
sleep 10 | ||
reboot | ||
else | ||
clear | ||
fi | ||
|
||
bash /var/scripts/resize-sd.sh | ||
|
||
# Grab install scripts | ||
mkdir -p /var/scripts | ||
|
||
if [ -f /var/scripts/nextcloud_install_production.sh ]; then | ||
|
||
rm /var/scripts/nextcloud_install_production.sh | ||
else | ||
wget https://raw.githubusercontent.com/ezraholm50/NextBerry/master/nextcloud_install_production.sh -P /var/scripts | ||
chmod +x /var/scripts/nextcloud_install_production.sh | ||
fi | ||
if [[ $? > 0 ]] | ||
then | ||
echo "Download of scripts failed. System will reboot in 10 seconds..." | ||
sleep 10 | ||
reboot | ||
else | ||
clear | ||
fi | ||
|
||
bash /var/scripts/nextcloud_install_production.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.