The Method of Running QQ For Linux under Freebsd

Time:2019-6-18

Must satisfy:

1 FreeBSD version is more than 6.0, FreeBSD 5 is not tested
2 The linux_base installed in the system can not be FC4 version, that is, linux_base-fc-4, and the others can be (linux_base-fc6 linux_base-f7 linux_base-f8 can be)

Method:

1 Add in / boot / loader. conf

linux_load=”YES”

Of course, if there are any modifications.

2 Add in / etc / sysctl. conf

compat.linux.osrelease=2.6.16

Of course, if there is a change, it does not have to be 2.6.16 as long as 2.6.8 or more.

3 Add in / etc / rc. conf

linux_enable=”YES”

Of course, if there are any changes.

4 Install a favorite linux_base (linux_base-fc6 linux_base-f7 linux_base-f8)
It can be installed with pkg_add-r or ports.
They are
/usr/ports/emulators/linux_base-fc6
/usr/ports/emulators/linux_base-f7
/usr/ports/emulators/linux_base-f8

5 hang Linux file system, add in / etc / fstab

linprocfs /compat/linux/porc linprocfs rw 0 0

Of course, if there are any changes.
6 Install linux-expat
/usr/ports/textproc/linux-expat

7 Install linux-fontconfig
/usr/ports/x11-fonts/linux-fontconfig

8 Install linux-xorg-libs
/usr/ports/x11/linux-xorg-libs

9 Download my QQng-Freebsd.tar.bz2 and extract it to / compat/linux/opt
bzcat QQng-Freebsd.tar.bz2 | gtar -xvf – -C /compat/linux/opt

10 to TX officially download the tar.gz version of QQ For Linux and extract it to / compat/linux/opt/QQ/bin

11 run / compat / Linux / opt / QQ / run – QQ. sh

12 If you can’t enter Chinese, enter the following commands
/compat/linux/usr/bin/localedef -i zh_CN -f UTF-8 zh_CN
/compat/linux/usr/bin/localedef -i zh_CN -f GB2312 zh_CN
/compat/linux/usr/bin/localedef -i zh_CN -f GBK zh_CN
/compat/linux/usr/bin/localedef -i zh_CN -f GBK18030 zh_CN
 

Recommended Today

Server Core Knowledge

Catalog 1. Computer: a tool to assist human brain 2. Composition of computer hardware 3. power supply 4.CPU 5. memory 6. Classification of computer use 7. Introduction to common Internet servers 8. Server classification 1. Computer: a tool to assist human brain Nowadays people touch computers almost all the time! Whether it’s a desktop computer, […]