Creation date: 9/16/2003
Semenjak diberlakukan UU-HAKI 27 juli 2003. Tidak hanya pemakai ms windows saja yang kelabakan. Beberapa kantor yang mempergunakan aplikasi under dos juga was-was. Untungnya pakar opensource sudah mempunyai solusi nya dengan menganti aplikasi OS Ms Dos dengan dos versi gratis DosEmu
# tar xzpf xzf dosemu-x.x.x.tgz
# cd dosemu-x.x.x
# ./default-configure
# make
# pwd /root/dosemu-x.x.x # cp (wherever u are)/dosemu-freedos-bin.tgz /root/dosemu-x.x.x
# make install
/root/dosemu/freedos <-- untuk root /home/tono/dosemu/freedos <-- untuk user tono /home/tini/dosemu/freedos <-- untuk user tiniMemulai instalasi driveC sangat mudah, login sebagai user atau root lalu ketikkan dosemu.
# dosemu <-- sebagai root $ dosemu <-- sebagai user biasaMuncul tampilan sebagai berikut
Please enter the name of a directory which contains a bootable DOS [ENTER = the default /usr/local/share/dosemu/freedos]Tekan tombol enter untuk menggunakan pilihan default (menggunakan OS FreeDos) atau isikan path direktori yang lain bila ingin menggunakan OS yang lain misal
/usr/local/share/MsDos (tentunya dibuat dan diisi msdos.sys, io.sys, command.com terlebih dahulu dan yang paling penting lisensi ms dos-nya).
Going to install your private DOSEMU-freedos files into the directory /root/dosemu Enter an empty string to confirm, a new path (the files will then be installed in a subdirectory named "dosemu" under that new path), or "none" (without the quotes) if you don't want a writable C-drive.Tekan enter bila ingin membuat private driveC, maksudnya bila driveC tersebut ditulisi, maka file yang dibuat hanya bisa dipakai oleh user yang menjalankan dosemu. Pada contoh diatas user yang dipakai adalah user root, maka akan dibuat private driveC di /root/dosemu.
/usr/local/share/dosemu/freedos .
Creating symbolic link for bootdirectory as /root/.dosemu/drives/c DOSEMU will run on _this_ terminal. To exit you need to execute 'exitemu' from within DOS, because <Ctrl>-C and 'exit' won't work! Now type ENTER to start DOSEMU or <Ctrl>C to canceltekan tombol enter
The Linux DOSEMU, Copyright (C) 2003 the 'DOSEMU-Development-Team'. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the file COPYING for more details. Use this program at your own risk! By continuing execution of this program, you are stating that you have read the file COPYING and the above liability disclaimer and that you accept these conditions. Enter 'yes' to confirm/continue:ketik yes, maka akan menjalankan OS Freedos
... ... ... C:>DosEmu akan membuat 2 buah drive, drive C untuk booting dan drive D untuk bekerja atau dengan kata lain merupakan link ke home direktori.
C:>d:
D:>dir
Volume in drive D is /root
Directory of D:\
DOSEMU <DIR> 09-16-03 1:23p
DOSEM~Z2 5 <DIR> 09-16-03 12:18p
MAILDIR <DIR> 07-10-03 12:37a
SATU <DIR> 07-14-03 5:36p
UUDEV~79 18 <DIR> 07-14-03 5:14p
02PAC~06 GZ 228,095 07-21-03 4:41p
03MOD~LL GZ 80,703 07-21-03 4:41p
CARI 217 07-14-03 4:40p
CCZE-~FN GZ 139,795 07-10-03 7:43p
CHECK~SQ PL 308 07-30-03 1:07p
CLAMA~UJ GZ 1,018,727 07-01-03 4:55p
COBA 6 07-30-03 8:52a
COPI 64 07-23-03 8:05p
DAFTAR 2,415 07-23-03 8:02p
INSTALL 110 08-15-02 8:44p
ISI 2,730 07-16-03 3:39p
MAIL 712 07-12-03 1:45p
MAIL MSG 76 07-12-03 10:23a
SCTV 4,129 07-16-03 9:56a
TEST 97 07-12-03 10:15a
UPDATE 223 09-02-03 11:16a
UUDEV~2Q GZ 260,889 07-14-03 5:13p
22 file(s) 5,856,600 bytes
8 dir(s) 386,588,672 bytes free
D:>
(home user)/.dosemu/drives/ <-- private driveC
/var/lib/dosemu/drives/ <-- share driveC
Untuk menambahkan bisa dengan membuat direktori disini atau membuat link direktori dengan menggunakan perintah ln
misal
# cd /var/lib/dosemu/drives/ atau cd (home user)/.dosemu/drives/ # mkdir e f
atau # ln -s /mnt/fat32 e
instalasi pendukung printer
Pastikan terlebih dahulu daemon perinter anda sudah bekerja terlebih dahulu, uji coba dahulu test print dari daemon tersebut.
misal
# lpr /etc/passwdbila berhasil maka daemon lpd siap untuk digunakan.
Buka dan modifikasi file /etc/dosemu/dosemu.conf. cari bagian $_printer = "lp".
Hilangkan tanda # didepan $printer dan edit "lp" sesuikan dengan printer queqe di konfigurasi printer atau /etc/printcap
Jalankan dosemu dan coba perintah print.
# dosemu c:>dir > prn <-- mencetak isi direktori ke printer
/usr/local/share/dosemu apakah boleh dibaca oleh user non root.