pkg install rsync
pkg install fusefs-sshfs
Örnek;
1)% sshfs -o idmap=user [email protected]: /path/to/mount/point
veya
2) % mount_fusefs auto /path/to/mount/point sshfs -o idmap=user \
[email protected]:
veya
3) % env FUSE_DEV_NAME=/dev/fuse0 sshfs -o idmap=user \
[email protected]:
% mount_fusefs /dev/fuse0 /path/to/mount/point
pkg install nano
freebsd-update fetch
freebsd-update install
pkg install apache24
sysrc apache24_enable=yes
service apache24 start
pkg install mysql55-server
sysrc mysql_enable=yes
service mysql-server start
mysql_secure_installation
pkg install mod_php56 php56-mysql php56-mysqli
cp /usr/local/etc/php.ini-production /usr/local/etc/php.ini
rehash
nano /usr/local/etc/apache24/httpd.conf
DirectoryIndex aratıp bulunur.
DirectoryIndex index.php index.html
Alt satırına kod eklenir.
|
<FilesMatch "\.php$"> SetHandler application/x-httpd-php </FilesMatch> <FilesMatch "\.phps$"> SetHandler application/x-httpd-php-source </FilesMatch> |
service apache24 restart
service php-fpm onerestart