pavement

User:Sidetone/linuxcompat

From FreeBSDwiki
< User:Sidetone(Difference between revisions)
Jump to: navigation, search
 
(7 intermediate revisions by one user not shown)
Line 1: Line 1:
 
Configuration steps for enabling Linux compatibility, necessary for using Flash Player made for Linux. Work in progress, steps:
 
Configuration steps for enabling Linux compatibility, necessary for using Flash Player made for Linux. Work in progress, steps:
  
For custom, non-specific linux package and up to date setups, we may be able to do without the following packages: linux_base-f10, linux_base-c6, or linux_base-gentoo-stage3
+
For custom, non-specific linux package and up to date setups, we may be able to do without the following packages: linux_base-f10, or linux_base-gentoo-stage3
 +
 
 +
linux_base-c6 might make it easier to install; complete instructions if there are more than the configurations below. Still a trial and error processes to figure it out. Got it to work in the past, either I forgot exactly how to do it, or the way to do it changed.
  
 
==/etc/==
 
==/etc/==
 
/etc/fstab
 
/etc/fstab
  linproc        /compat/linux/proc     linprocfs       rw 0 0
+
  linproc        /compat/linux/proc   linprocfs rw   0   0
 +
#possibly the two below
 +
fdesc          /dev/fd              fdescfs    rw    0  0
 +
proc            /proc                procfs    rw    0  0
  
 
/etc/rc.conf
 
/etc/rc.conf
Line 12: Line 17:
 
/etc/devfs.conf
 
/etc/devfs.conf
 
  link /tmp shm
 
  link /tmp shm
 +
 +
/etc/sysctl.conf
 +
compat.linux.osrelease=2.6.18
  
 
==/compat/linux/==
 
==/compat/linux/==
  
/compat/linux/ should have at least the following sub-directories.
+
/compat/linux/ should have at least the following sub-directories: etc/ lib/ proc/ usr/
etc/
+
  % cd /compat/linux/
lib/
+
  % mkdir etc/ lib/ proc/ usr/
  proc/
+
  usr/
+
  
/compat/linux/etc/
+
/compat/linux/etc/yp.conf
  domainname my.yp.domainname
+
  domainname mydomain.com  # this is your network's domain-name without localhost
  ypserver my.yp.server
+
  ypserver localhost  # my.yp.server
  
 
/compat/linux/etc/nsswitch.conf
 
/compat/linux/etc/nsswitch.conf
Line 30: Line 36:
 
  group:      files nis
 
  group:      files nis
 
  hosts:     files nis dns
 
  hosts:     files nis dns
 +
 +
 +
=Flashplayer=
 +
The Flashplayer library file belongs in ''/usr/local/lib/browser_plugins/''.
 +
 +
The easiest way to install flashplayer is to compile the package ''linux-c6-flashplugin11'':
 +
/usr/ports/www/linux-c6-flashplugin11
 +
make install clean
 +
This should install other linux-c6 dependencies.
 +
 +
Run the following for a library plugin to be found by firefox:
 +
nspluginwrapper -v -a -i
 +
Or to upgrade from a previous installed Flash plugin:
 +
nspluginwrapper -v -a -u

Latest revision as of 02:46, 5 March 2015

Configuration steps for enabling Linux compatibility, necessary for using Flash Player made for Linux. Work in progress, steps:

For custom, non-specific linux package and up to date setups, we may be able to do without the following packages: linux_base-f10, or linux_base-gentoo-stage3

linux_base-c6 might make it easier to install; complete instructions if there are more than the configurations below. Still a trial and error processes to figure it out. Got it to work in the past, either I forgot exactly how to do it, or the way to do it changed.

[edit] /etc/

/etc/fstab

linproc         /compat/linux/proc    linprocfs  rw    0   0
#possibly the two below
fdesc           /dev/fd               fdescfs    rw    0   0
proc            /proc                 procfs     rw    0   0

/etc/rc.conf

linux_enable="YES"

/etc/devfs.conf

link /tmp shm

/etc/sysctl.conf

compat.linux.osrelease=2.6.18

[edit] /compat/linux/

/compat/linux/ should have at least the following sub-directories: etc/ lib/ proc/ usr/

% cd /compat/linux/
% mkdir etc/ lib/ proc/ usr/

/compat/linux/etc/yp.conf

domainname	mydomain.com  # this is your network's domain-name without localhost
ypserver	localhost  # my.yp.server

/compat/linux/etc/nsswitch.conf

passwd:     files nis
shadow:     files nis
group:      files nis
hosts:	    files nis dns


[edit] Flashplayer

The Flashplayer library file belongs in /usr/local/lib/browser_plugins/.

The easiest way to install flashplayer is to compile the package linux-c6-flashplugin11:

/usr/ports/www/linux-c6-flashplugin11
make install clean

This should install other linux-c6 dependencies.

Run the following for a library plugin to be found by firefox:

nspluginwrapper -v -a -i

Or to upgrade from a previous installed Flash plugin:

nspluginwrapper -v -a -u
Personal tools