Professional Documents
Culture Documents
https://www.linux.com/learn/intro-to-linux/2017/5/how-kill-process-command-
line
https://dev.mysql.com/doc/mysql-windows-excerpt/8.0/en/resetting-permissions-
windows.html
https://ruswandar.wordpress.com/2012/08/03/cara-reset-password-root-mysql-
freebsd/
php in conf =>
https://developerslogblog.wordpress.com/2017/07/01/freebsd-11-apache-mysql-and-php-
famp/
Apache htdocs => /usr/local/www/apache24/data/
Apache httpd.conf => /usr/local/etc/apache24/httpd.conf
Php ini => /usr/local/etc/
nextcloud => https://www.rosehosting.com/blog/how-to-install-
nextcloud-11-on-centos-7/
=> https://forums.freenas.org/index.php?
threads/how-to-install-nextcloud-13-in-freenas-with-all-checks-passed-updated-to-
use-iocage.61934/
[/BASIC]
[rc.conf]
The file rc.conf contains descriptive information about the local host
name, configuration details for any potential network interfaces and
which services should be started up at system initial boot time. In new
installations, the rc.conf file is generally initialized by the system
installation utility, sysinstall(8).
path : /etc/rc.conf
[/rc.conf]
# portsnap fetch
(tunggu hingga selesai)
# portsnap extract
(tunggu hingga selesai)
# portsnap update
(untuk memastikan ports adalah paket yang terbaru)
[install apache]
Install Apache24 dengan menggunakan perintah ini
# cd /usr/ports/www/apache24/
(untuk masuk ke directori ports apache24)
# make install clean
(untuk mengistall paket apache)
pengistalan ini akan membutuhkan waktu yang cukup lama, jadi anda harus
bersabar...
setelah selesai, edit file rc.conf
# ee /etc/rc.conf
jika belum ada kata apache24_enable="YES"
[/install apache]
[Install MySQL]
1. Go to the port for the MySQL server:
cd /usr/ports/databases/mysql56-server
make install clean
[ERROR!]
Check your /var/db/mysql folder, if it contains files, make a backup
and delete dir content:
rm -rf /var/db/mysql/*
Then do a data directory initialization:
/usr/local/libexec/mysqld --initialize --user=mysql
You should get a new temporary password, write it down, then start
mysql-server
[Install PHP]
mengistall PHP55 dengan perintah berikut
# cd /usr/ports/lang/php55
(untuk masuk ke directori ports php55)
# make install clean
(untuk mengistall paket php55)
tunggu hingga selesai
sekarang kita akan menginstall juga modul php untuk mysql, dengan perintah
berikut
# cd /usr/ports/lang/php55-extensions
(untuk masuk ke directori ports extensi php)
# make config
(untuk memilih paket yang akan di install)
pilih paket “MySQL databases support“
# make install clean
(untuk menginstall paket ekstensi php55)
<FilesMatch "\.php$">
SetHandler application/x-httpd-php
</FilesMatch>
<FilesMatch "\.phps$">
SetHandler application/x-httpd-php-source
</FilesMatch>
[/Install PHP]
[redis]
To setup "redis" you need to edit the configuration file:
/usr/local/etc/redis.conf
[phpmyadmin]
2.2
Alias /phpmyadmin "/usr/local/www/phpMyAdmin/"
<Directory "/usr/local/www/phpMyAdmin/">
Options none
AllowOverride Limit
Order Deny,Allow
Require all granted
</Directory>
2.4
<Directory /usr/local/www/phpMyAdmin>
Require all granted
DirectoryIndex index.php
</Directory>
[/phpmyadmin]
[add+]
********************************* WARNING *********************************
FreeBSD does not, and can not warrant that the certification authorities
whose certificates are included in this package have in any way been
audited for trustworthiness or RFC 3647 compliance.
* /etc/ssl/cert.pem
* /usr/local/etc/ssl/cert.pem
* /usr/local/openssl/cert.pem
***************************************************************************
Message from freetype2-2.9.1:
The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as
the default, emulating a modern version of ClearType. This change inevitably
leads to different rendering results, and you might change port's options to
adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment
variable).
FREETYPE_PROPERTIES=truetype:interpreter-version=35 \
cff:no-stem-darkening=1 \
autofitter:warping=1
This allows to select, say, the subpixel hinting mode at runtime for a given
application.
************************************************************
Edit
/usr/local/etc/openldap/ldap.conf
to change the system-wide client defaults.
************************************************************
Message from cclient-2007f_3,1:
================================================================================
Warning: You have chosen to include SSL support. Applications/ports that use
the cclient library but do not support SSL may stop working or have problems
linking. Linking them explicitly with ssl (-lssl -lcrypto) may or may not help.
================================================================================
===> NOTICE:
https://bugs.freebsd.org/bugzilla
https://www.freebsd.org/doc/en/articles/contributing/ports-
contributing.html#maintain-port
Message from redis-4.0.10:
***************************************************************
*********************************************************************
[/add+]