Next
Verschobene Verzeichnisse
- /var/lib/mysql -> /home/mysql
- /home/cloud.connect-develop.de/data -> /media/cloud-connected/data
- /home/nextcloud/data -> /media/icloud/data/
- /home/www -> /home/cloud.connect-development.de
Disks
lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 64G 0 disk ├─sda1 8:1 0 1,9G 0 part [SWAP] ├─sda2 8:2 0 7,5G 0 part / ├─sda3 8:3 0 1K 0 part └─sda5 8:5 0 54,7G 0 part /home sr0 11:0 1 829M 0 rom df -h Filesystem Size Used Avail Use% Mounted on /dev/sda2 7,3G 5,0G 1,9G 73% / /dev/sda5 54G 1,3G 50G 3% /home bigthing:/media/backup/backup/next 1008G 172G 786G 18% /media/backup bigthing:/opt/hirmer 478G 165G 289G 37% /media/hirmer bigthing:/media/bigstore/cloud-connected 63G 22G 39G 36% /media/cloud-connected bigthing:/media/icloud-data 63G 20G 40G 34% /media/icloud
Installation
apt-get install mariadb-server nginx-full apt-get install php php-cli php-curl php-fpm php-gd php-imagick php-imap php-intl \ php-json php-mbstring php-mcrypt php-memcached php-mysql php-xml php-zip apt-get install php7.0-cli php7.0-curl php7.0-fpm php7.0-gd php7.0-imap php7.0-intl \ php7.0-json php7.0-mbstring php7.0-mcrypt php7.0-mysql php7.0-opcache php7.0-readline \ php7.0-sqlite3 php7.0-xml php7.0-zip
Netzwerk
cat <EOS >/etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). source /etc/network/interfaces.d/* # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto ens18 iface ens18 inet static address 10.10.10.103 netmask 255.0.0.0 gateway 10.10.10.1 dns-nameservers 213.136.95.10 79.143.183.251 EOS
Commandline-Interface
Als root:
# Passwort zurücksetzen: sudo -u www-data php ./occ user:resetpassword admin # Seite vom Netz nehmen: sudo -u www-data php occ maintenance:mode --on sudo -u www-data php occ maintenance:mode --off # Dateien mit DB abgleichen: sudo -u www-data occ --all files:scan