su PassWord: cd /usr/ports/emulators/wine make install clean |
cd /usr/src/sys/i386/conf cp GENERIC WINE 然后,使用文本编辑器打开WINE,确保其中包含下面的4个选项: options USER_LDT options SYSVSHM options SYSVSEM options SYSVMSG |
/usr/sbin/config WINE cd ../../compile/WINE make depend && make && makeinstall && reboot |
/stand/sysinstall Configure Fdisk spacebar ad0 |
Offset Size(ST) End Name PType Desc 0 63 62 - 6 unused 63 4176837 4176899 ad0s1 2 fat 4176900 4016250 8193149 ad0s2 3 freebsd
mkdir /dos 下面我们来检查这一安装点的权限: ls -l / | grep dos drwxr-xr-x 2 root wheel 512 Aug 31 13:07dos |
mount -t msdos /dev/ad0s1 /dos |
df -h Filesystem Size Used Avail Capacity Mountedon /dev/ad0s2a 97M 36M 53M 40% / /dev/ad0s2f 1.7G 567M 1.0G 35% /usr /dev/ad0s2e 19M 2.0M 16M 11% /var PRocfs 4.0K 4.0K 0B 100% /proc /dev/ad0s1 2.0G 783M 1.2G 38% /dos |
ls -F /dosAUTOEXEC.BAT* COMMAND.COM* MSDOS.SYS* SCANDISK.LOG*BOOT.INI* CONFIG.SYS* My Documents/ SETUPLOG.TXT*BOOTLOG.PRV* DETLOG.TXT* NETLOG.TXT* WINDOWS/bootsect.bsd* IO.SYS* Program Files/ RECYCLED/ntdetect.com* ntldr*
cd Program/ Files |
/dev/ad0s1 /dos msdos rw 0 0 |
shutdown now |
exit |
more /usr/local/etc/wine.conf WINE REGISTRY Version 2 ;; All keys relative to //Machine//Software//Wine//Wine//Config <snip> [Drive A] "Path" = "/mnt/fd0" "Type" = "floppy" "Label" = "Floppy" "Serial" = "87654321" "Device" = "/dev/fd0" [Drive C] "Path" = "/c" "Type" = "hd" "Label" = "MS-DOS" "Filesystem" = "win95" <snip> |
"Path" = "/dos" |
mkdir ~genisis/.wine chown genisis ~genisis/.wine cp /usr/local/etc/wine.conf ~genisis/.wine/config |
startx |
cd /dos/WINDOWS ls | more |
wine -winver win98 -managed PROGMAN.EXE |
cd /dos wine -winver win98 -managed solsuite.exe |
mkdir ~/.wine cp /usr/local/etc/wine.conf ~/.wine/config |
cd Program/ Files/SolSuite wine -winver win98 -managed Solsuite.exe |
su Password: mkdir -p /usr/local/lib/win/windows cd /usr/local/lib/win/windows mkdir system touch win.ini cd system touch shell.dll shell32.dll winsock.dll wsock32.dll |
[Drive C] "Path" = "/usr/local/lib/win" 然后,我们创建恰当的目录,并将配置文件同时拷贝到超级用户和用户genisis的适当的目录中: mkdir ~/.wine cp /usr/local/etc/wine.conf ~/.wine/config mkdir ~genisis/.wine chown genisis ~genisis/.wine cp /usr/local/etc/wine.conf ~genisis/.wine/config |
cd /usr/local/lib/win wine -winver win95 -managed solsuite.exe |
cd Program/ Files/SolSuite wine -winver win95 -managed SolSuite.exe |
新闻热点
疑难解答