12/27/2022 0 Comments Owncloud installGRANT ALL PRIVILEGES ON owncloud.* TO IDENTIFIED BY 'password' įor more information, please refer to the documentation. Sed -i 's,^tmpdir.*,tmpdir = "/tmp",g' /etc/my.cnfĬreate user for web server and set its password:Ĭreate database for ownCloud and set privileges: Sed -i 's,^datadir.*,datadir = "/srv/mysql",g' /etc/my.cnf Opkg install mysql-server mariadb-client-extra php7-mod-pdo-mysql Install the recommended MySQL/MariaDB database: MariaDB is the ownCloud recommended database. It has no client synchronisation support, so other devices will not be able to synchronise with the data stored in an ownCloud SQLite database. However SQLite is only good for testing and lightweight single user setups. OwnCloud is installed with SQLite by default. etc/init.d/php7-fastcgi start activate PHP in nf Play around with memory_limit, I reduced the value form 8MB to 4MB … but maybe 50MB might be better with 64MB RAM. etc/php5/.ini should contains extension=.ini open_basedir= error_log = syslog doc_root = Opkg install php7-mod-mcrypt php7-mod-openssl php7-mod-fileinfo php7-mod-exifĬonfigure /etc/php.ini to our needs and change the doc_root to our www-root: Please be aware of the common prerequisites for all Rockstor Rock-ons (Docker Plugins) specifically the Initial Rock-ons Setup and The. Opkg install php7 php7-cgi php7-fastcgi php7-mod-json php7-mod-session php7-mod-zip libsqlite3 zoneinfo-core php7-mod-pdo php7-mod-pdo-sqlite php7-mod-ctype php7-mod-mbstring php7-mod-gd sqlite3-cli php7-mod-sqlite3 php7-mod-curl curl php7-mod-xml php7-mod-simplexml php7-mod-hash php7-mod-dom php7-mod-iconv php7-mod-xmlwriter php7-mod-xmlreader php7-mod-intl I am not sure if really all of these packages are necessary, but it seems so: etc/init.d/lighttpd start If <= 8MB flash: Get extroot To make sure the webserver is up after booting, insert this line into /etc/rc.local before “exit 0”: ( Insert how-to here)Įven if auto-mounting on startup works, it probably ends too late when the webserver tries to start. Get fstab to auto-mount the usb-stick on startup, otherwise your webserver won't come up and you have to start it after mounting manually. Mount -t ext4 /dev/sda1 /mnt/sda1 -o rw,sync It helps to list /dev with the USB-device and without - in this case its /dev/sda1. Opkg install kmod-usb-storage kmod-usb-storage-extras block-mount kmod-fs-ext4 kmod-scsi-genericįigure out which device is your USB-stick/drive and mount it. If you see messages like “unresolved symbol usb_calc_bus_time” try loading usbcore and then try ehci-hcd again: Install USB-support (this is for USB 2.0, see usb.essentials for USB 1.1 support) You have to run an update of the package-lists before you can install any software Have a look in the OpenWrt-Wiki at usb.essentials and usb.storage, and figure out what USB-mode your device is using (ohci or uhci) and know what filesystem is on your storage (here: ext4). So best both is done on some external storage because small routers don't have that much. OwnCloud is around 30 MB and you will like to store your data somewhere.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |