LoadModule ssl_module libexec/apache24/mod_ssl.so Uncomment (delete the # at the start of the line) so it looks like this: Sysrc 'mysql_enable=YES' 'redis_enable=YES' Configuring Apache for PHP7Įnsure that the rewrite and ssl modules are enabled (uncommented) in /usr/local/etc/apache24/nf. Pkg install redis php70 php70-bz2 php70-ctype php70-curl php70-dom php70-exif php70-fileinfo php70-filter php70-gd php70-hash php70-iconv php70-intl php70-json php70-mbstring php70-mcrypt php70-pdo_mysql php70-openssl php70-posix php70-session php70-simplexml php70-xml php70-xmlreader php70-xmlwriter php70-xsl php70-wddx php70-zip php70-zlib php70-APCu php70-redis PHP 7.0 Install PHP and associated modules Replace MAKEUP-YOUR-OWN-PASSWORD with a password of your choosing. Login to MySQL, create Nextcloud DB and UserĮnter password you made for root during setup.Įnter each of these commands one-by-one, and make sure to include the semi-colon ĬREATE USER IDENTIFIED BY 'MAKEUP-YOUR-OWN-PASSWORD' There is no root password set just hit enter, and answer Y to all the following questions. $ service mysql-server start Run Wizard Script $ pkg install mariadb101-server Setup in rc.conf Navigate to 10.130.12.191 and you should see the text "It Works!" FreeBSD is the Operating system so good to go on that! We will install each part of FAMP one-by-one. This provides the basis for our webserving jail.īefore we get started, let's add a few necessary packages as they aren't currently installed. Another guide suggested lighttp and sqlite, but those might not hold up to a good amount of users storing a bit of data. I chose this because I, personally, haven't had much luck with nginx and mariadb. In this section we are going to install F.A.M.P, an iteration of LAMP (Linux, Apache, MySQL, PHP). Now close the shell within FreeNAS, and use PuTTY to SSH to the jail. We need to reset the jails root password type this command, and follow the prompts Select the n in 'no' and hit x twice to delete 'no' so the line reads PermitRootLogin yes.With the cursor on the # hit x this will delete the hash now use the RIGHT arrow key to select the space before 'no'.Scroll down using the DOWN arrow key until you find #PermitRootLogin no line.If you don't know how to use vi, here's a quick step by step. Personally, I despise vi, but this is the quickest method I have found. If it asks any questions, select Y and continue. We need to set up the jail to be able to SSH in and make faster adjustments.Įnter the Jail's shell from within FreeNAS $ zfs set primarycache=metadata Cloud/db Configure Jail for SSH Storage -> /mnt/SETV_Cloud/db Change Permissions Record Size = 16K (Under Advanced Mode). Static IP Address: 10.130.12.191 Create Dataset
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |