追忆与展望

只是个人的随笔而已!有问题就记录!没问题就写一下生活吧(有空的活)!

FreeBSD-9安装Firefox and Adobe® Flash™ Plugin

Install the www/nspluginwrapper port. This port requires emulators/linux_base-f10 which is a large port.

The next step is to install Flash 11.X from the www/linux-f10-flashplugin11 port.

This version will require the following link to be created:

# ln -s /usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so \
  /usr/local/lib/browser_plugins/

The /usr/local/lib/browser_plugins directory will haveto be created manually if it does not exist on the system.

Once the right Flash port, according to the FreeBSDversion you run, is installed, the plugin must be installed by each userwith nspluginwrapper:

% nspluginwrapper -v -a -i

The Linux® process file system, linprocfs(5) has tobe mounted on /compat/linux/proc, if one wants toplay Flash animations. This can be done via thefollowing command:

# mount -t linprocfs linproc /compat/linux/proc

This point can be automated at boot time with the addition of the matching linein /etc/fstab:

linproc	/compat/linux/proc	linprocfs	rw	0	0

Then, start your browser, enter about:plugins in thelocation bar and press Enter. A list should appear withall the currently available plugins.


阅读更多
个人分类: FREEBSD
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭