差異處
這裏顯示兩個版本的差異處。
Both sides previous revision 前次修改 下次修改 | 前次修改 | ||
freebsd [2016/11/29 13:45] jz |
freebsd [2017/10/04 23:23] (目前版本) jz [Upgrade to next release] |
||
---|---|---|---|
行 28: | 行 28: | ||
svn up /usr/src | svn up /usr/src | ||
cd /usr/src; make clean | cd /usr/src; make clean | ||
+ | </code> | ||
+ | |||
+ | ===== Upgrade to next release ===== | ||
+ | <code> | ||
+ | # install latest updates from current release | ||
+ | freebsd-update fetch | ||
+ | freebsd-update install | ||
+ | # switch to next release version | ||
+ | freebsd-update upgrade -r 10.3-RELEASE | ||
+ | freebsd-update install | ||
+ | # restart | ||
+ | reboot | ||
+ | # install again to finish installing updates | ||
+ | freebsd-update install | ||
+ | # upgrade packages | ||
+ | pkg upgrade | ||
+ | freebsd-update install | ||
+ | # roll back if needed | ||
+ | freebsd-update rollback | ||
</code> | </code> | ||
行 89: | 行 108: | ||
</code> | </code> | ||
- | === vsftp === | + | ===== phpmyadmin ===== |
+ | <code bash> | ||
+ | sudo pkg install phpmyadmin | ||
+ | </code> | ||
+ | |||
+ | <code apache> | ||
+ | Alias /phpmyadmin/ "/usr/local/www/phpMyAdmin/" | ||
+ | |||
+ | <Directory "/usr/local/www/phpMyAdmin/"> | ||
+ | Options None | ||
+ | AllowOverride Limit | ||
+ | |||
+ | #Require local | ||
+ | #Require host.example.com | ||
+ | Require all granted | ||
+ | |||
+ | </Directory> | ||
+ | </code> | ||
+ | |||
+ | Go to ''example.com/phpmyadmin/setup'' to create an new config file, then apply it | ||
+ | <code bash> | ||
+ | sudo cp /usr/local/www/phpMyAdmin/config/config.inc.php /usr/local/www/phpMyAdmin/config.inc.php | ||
+ | </code> | ||
+ | |||
+ | ===== vsftp ===== | ||
<code bash> | <code bash> | ||
- | sudo pkg install vsftpd-ssl | + | sudo pkg install vsftpd-ext |
sudo pkg install pam_pwdfile | sudo pkg install pam_pwdfile | ||
</code> | </code> |