Skip to content

Instantly share code, notes, and snippets.

@Trexology
Last active June 26, 2016 05:38
Show Gist options
  • Save Trexology/8a2ae7bd3009b027c7938ce68982fc79 to your computer and use it in GitHub Desktop.
Save Trexology/8a2ae7bd3009b027c7938ce68982fc79 to your computer and use it in GitHub Desktop.
owncloud raspbian installation script
#!/usr/bin/env bash
# sudo rpi-update #Firmware update
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get install apache2 php5 libapache2-mod-php5 openssh-server git-core fail2ban vim zip unzip -y
sudo cp /etc/fstab /etc/fstab.backup
# http://askubuntu.com/questions/2271/how-to-harden-an-ssh-server
sudo apt-get install --no-install-recommends bluetooth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment