如何在freenas的特定文件夹上安装软件包,以安装phpmyadmin和mariadb。我一直在努力把正确的文件夹放进包里,比如:下载必要的软件包[2]:
apache24 (in web category)
mariadb55-server (in databases category) -- this is the open source drop-in replacement for mysql
php5 (in languages category) -- this is 5.4
php5-mysql, php5-mysqli, php5-pdo, php5-pdo_mysql (in databases category) -- you can add other php extensions if you'd like
mod_php5 (in web category) -- this is the apache php module
phpmyadmin (in databases category)
这是我一直在关注的方向链接
http://timtonblog.blogspot.ca/2014/11/installing-mariadb-and-phpmyadmin-in.html
您需要使用命令pkg install
,例如,要安装MariaDB
,您需要执行以下操作:
pkg search mariadb
这将为您提供MariaDB的可用软件包列表,接下来,安装服务器软件包。
pkg install mariadb-server
对于特定版本:
pkg install mariadb-server-5.5.31