Knoppix RemasteringRScripts
1. ±âº» ¿øÄ¢ ¶KNOPPIX ÀÇ º¯Á¾ÀÌ ¸¹ÀÌ »ý±â´Â °ÍÀ¸·Î º¸¾Æ ±âº» °¡ÀÌµå ¶óÀÎÀ» Á¤ÇØ ³õ´Â °ÍÀÌ ÇÊ¿äÇÒ °Í °°½À´Ï´Ù.
2. °³¿ä ¶±âº»ÀûÀÎ ¾ÆÀ̵ð¾î´Â ¸Å¿ì °£´ÜÇÏ´Ù.
3. Áغñ : knoppix CD¿¡¼ ÆÄÀÏ ÃßÃâÇϱ⠶¿µ¹® knoppix¸¦ CD·Î ±¸¿ö³»¼ ºÎÆÃÇÑ´Ù. knoppix°¡ ºÎÆÃÇÑ µÚ¿¡ µ¶¹® ·ÎÄÉÀÏ, µ¶¹® Å° ¹è¿·Î ÀüȯµÇ¾î¹ö¸®¸é ´çȲ½º·´±â ¶§¹®¿¡ ºÎÆà ¶§ cheat code langÀ» ÁöÁ¤Çؼ ºÎÆÃÇÏÀÚ.
knoppix lang=us ºÎÆÃÀÌ ³¡³µÀ¸¸é Çϵåµð½ºÅ©¸¦ ÆÄƼ¼Å´×ÇÏ°í Æ÷¸äÇÑ´Ù.
cfdisk /dev/hda1 mke2fs -vj /dev/hda1 ¹æ±Ý Æ÷¸äÇÑ /dev/hda¸¦ ¸¶¿îÆ®ÇÏ°í remaster µð·ºÅ丮¸¦ ¸¸µç´Ù.
mount -t ext3 /dev/hda1 /mnt/hda1 mkdir /mnt/hda1/remaster remaster ½ºÅ©¸³Æ®¸¦ ´Ù¿î·ÎµåÇÑ´Ù. (http://debian.tu-bs.de/knoppix/remaster/)
´Ù¿î·Îµå À§Ä¡´Â /mnt/hda1ÀÌ¸ç ¾ÐÃàÀ» Ç®°í scripts µð·ºÅ丮¸¦ ¸¸µé¾î ¿Å±ä´Ù. (remaster ½ºÅ©¸³Æ®¸¦ Á¦´ë·Î ½ÇÇàÇϱâ À§ÇØ µð·ºÅ丮 À̸§À» ¹Ù²Ù¾î Áà¾ß ÇÑ´Ù.)
tar zxvf remaster-0.1-6.tar.gz mv remaster-0.1 scripts cd scripts ÀÌÁ¦ ½ºÅ©¸³Æ®¸¦ ½ÇÇà½ÃÄÑ knoppix CD¿¡¼ ÆÄÀÏÀ» ÃßÃâÇØ º¸ÀÚ. ´ÙÀ½°ú °°ÀÌ ¸í·ÉÀ» ³»¸®¸é »õ·Î¿î âÀÌ ³ªÅ¸³¯ °ÍÀÌ´Ù.
./knoppix-remaster /mnt/hda1/remaster DeleteMe knoppix-remaster, ¸Þ´º¿¡ ´ëÇÑ ¼³¸í
4. ·ÎÄÉÀÏ ¼³Á¤ ¶ÀÌÁ¦ºÎÅÍ º»°ÝÀûÀ¸·Î ÇѱÛȸ¦ ½ÃÀÛÇغ¸ÀÚ. ÀÌ ÀýÀÇ ¼³Á¤ ³»¿ëÀº ¸ðµÎ chroot ³»¿¡¼ ¼³Á¤ÇÏ¿© /mnt/hda1/remaster¿¡ ¹Ý¿µÇÒ ¼ö ÀÖµµ·Ï ÇÑ´Ù.
4.1. ·ÎÄÉÀÏ º¯°æ ¶/etc/locale.gen ÆÄÀÏÀ» ¼öÁ¤ÇÏ¿© ·ÎÄÉÀÏÀ» º¯°æÇÑ´Ù. ´Ù¸¥ ³»¿ëÀº ¸ðµÎ Áö¿ì°í ÇÑ±Û ·ÎÄÉÀϸ¸ ³²°ÜµÎ¾ú´Ù.
ko_KR.EUC-KR EUC-KR
ko_KR.UTF-8 UTF-8 dpkg-reconfigure·Î ·ÎÄÉÀÏÀ» º¯°æÇÑ´Ù. ±âº» ·ÎÄÉÀÏÀº ko_EUC-KR·Î Á¤Çß´Ù.
dpkg-reconfigure locales 4.2. knoppix-autoconfig ¶/etc/init.d/knoppix-autoconfig´Â knoppix°¡ Á¦°øÇÏ´Â ÀÚµ¿¼³Á¤ ½ºÅ©¸³Æ®ÀÌ´Ù. knoppix-autoconfig¿¡ LANG, KEYTABLE µîÀÇ ½© º¯¼ö¸¦ ÁöÁ¤ÇÔÀ¸·Î¼ knoppix°¡ ºÎÆÃÇÑ µÚÀÇ ·ÎÄÉÀÏÀ» ºñ·Î¼Ò eucKR·Î ÀüȯÇÒ ¼ö ÀÖ´Ù. ¶ÇÇÑ XMODIFIERS¸¦ nabi·Î ¼³Á¤ÇÔÀ¸·Î¼ ÇѱÛÀԷ±â nabi°¡ Á¦´ë·Î ½ÇÇàµÉ ¼ö ÀÖµµ·Ï ÇÏ´Â °ÍÀ» ÀØÁö ¸»ÀÚ.
LANGUAGE="$(getbootparam lang 2>/dev/null)"
[ -n "$LANGUAGE" ] || LANGUAGE="ko" ko) # Korean version COUNTRY="ko" LANG="ko_KR.UTF-8" KEYTABLE="us" XKEYBOARD="us" KDEKEYBOARD="us" CHARSET="iso8859-1" # Additional KDE Keyboards KDEKEYBOARDS="us" XMODIFIERS="@im=nabi" TZ="Asia/Seoul" ;; 4.3. 45xsession ¶/etc/X11/Xsession.d/45xsessionÀº knoppix°¡ ºÎÆÃÇÏ´Â X ȯ°æÀ» ÀÚµ¿ÀûÀ¸·Î ¼³Á¤ÇØÁÖ´Â ÆÄÀÏÀÌ´Ù. Áï ÆÄÀÏ¿¡ ¼³Á¤µÇ¾î ÀÖ´Â ³»¿ëÀ» ÅëÇØ ¸Å¹ø ºÎÆö§¸¶´Ù /home/knoppix°¡ »õ·Î »ý¼ºµÇ´Â ¼ÀÀÌ´Ù.
mozilla-firefoxÀÇ ¾ð¾î, ±Û²Ã¿¡ ´ëÇØ ¼³Á¤ÇÑ´Ù. ¿©±â¿¡¼ ¼³Á¤µÇ´Â ³»¿ëÀº mozilla-firefox ÀÇ ºÎÆà ÈÄ prefs.js¿¡ ¹Ý¿µµÈ´Ù.
if [ -n "$LANGUAGE" ]; then
# Set mozilla and netscape preferred languages for f in `ls -1 $HOME/.mozilla/*/*/prefs.js $HOME/.netscape/preferences.js 2>/dev/null`; do echo 'user_pref("intl.accept_languages", "'"$LANGUAGE"', en");' >>"$f" case "$LANGUAGE" in ko) echo 'user_pref("general.useragent.contentlocale", "KR");' >>"$f" echo 'user_pref("general.useragent.locale", "ko-KR");' >>"$f" de|at|ch) echo 'user_pref("general.useragent.contentlocale", "AT");' >>"$f" echo 'user_pref("general.useragent.locale", "de-AT");' >>"$f" ;; esac # Else leave default language done 45xsession¿¡¼ knoppix¿¡¼ mozilla-firefox profileÀº /usr/share/knoppix/profile/.mozilla¿¡¼ ÂüÁ¶ÇÑ´Ù´Â »ç½ÇÀ» ¹ß°ßÇß´Ù. ¿Ö ÀÌÁ¦±îÁö ÀÌ Äڵ带 ¸ø º¸°í Áö³ªÃÆÀ»±î.
if [ ! -e $HOME/.mozilla -a "$FREESPACE" -gt 1500 ] && [ -d /etc/skel/.mozilla -o -d /usr/share/knoppix/profile/.mozilla ]; then
rsync -Ha --ignore-existing /etc/skel/.mozilla $HOME/ 2>/dev/null [ "$USER" = "knoppix" ] && rsync -Ha --ignore-existing /usr/share/knoppix/profile/.mozilla $HOME/ 2>/dev/null fi knoppix.netÀÇ how to : remaster knoppix the easy way using menu based remaster scripts ¹®¼¿¡ ÀÖ´Â ´ë·Î chroot ³»ºÎ¿¡¼ /etc/skelÀ» ¾ø¾Ö°í /home/knoppix¸¦ ±×´ë·Î /etc/skel·Î µ¤¾î¹ö¸®¸é remasteringÈÄ mozilla-firefox¸¦ ½ÇÇàÇÒ ¶§¿¡ user profileÀ» Àç¼³Á¤ÇØ¾ß ÇÏ´Â ¹®Á¦°¡ ¹ß»ýÇÒ ¼ö ÀÖ´Ù. µû¶ó¼ À§ ÀÛ¾÷ ÈÄ¿¡ /etc/skelÀº ¿øº» ¿µ¹® knoppix CDÀÇ /etc/skelÀÇ ³»¿ëÀ¸·Î µ¤°í profileÀ» Á÷Á¢ ¼öÁ¤ÇؾßÇÑ´Ù.
prefs.js¿Í userChrome.css¸¦ ÃëÇâ¿¡ ¸Â°Ô ¼öÁ¤ÇÑ´Ù.
ÇÑ±Û ÀԷ±â nabi°¡ ½ÇÇàµÇ±â À§Çؼ ´ÙÀ½°ú °°ÀÌ ¼³Á¤ÇÑ´Ù.
startkde()
lnusertemp socket >/dev/null # start nabi if [ -n "$LANGUAGE" ]; then case "$LANGUAGE" in ko) /usr/bin/nabi& export XMODIFIERS="@im=nabi" ;; esac fi ksplash sleep 2 4.4. rebuildfstab ¶ÀϹÝÀûÀ¸·Î ÇÑ±Û µð·ºÅ丮¸í, ÆÄÀϸíÀ» º¸±â À§Çؼ´Â /etc/fstab¿¡ iocharset ¿É¼ÇÀ» ÁÖ¾î »ç¿ëÇÑ´Ù. ±×·¯³ª knoppix´Â ºÎÆö§¸¶´Ù Çϵåµð½ºÅ©ÀÇ ÆÄƼ¼ÇÀ» °Ë»öÇÏ¿© /etc/fstabÀ» ÀçÀÛ¼ºÇعö¸®±â ¶§¹®¿¡ ¾Æ¹«¸® ¿É¼ÇÀ» Àû¿ëÇÑ´ÙÇÑµé ¼Ò¿ëÀÌ ¾ø´Ù. µû¶ó¼ ´ÙÀ½°ú °°ÀÌ /etc/fstabÀ» ÀÛ¼ºÇÏ´Â ½ºÅ©¸³Æ®¸¦ ¼öÁ¤ÇÔÀ¸·Î¼ ¹®Á¦¸¦ ÇØ°áÇÒ ¼ö ÀÖ´Ù.
/etc/fstabÀ» ¼öÁ¤ÇÏ´Â ½ºÅ©¸³Æ®´Â /usr/sbin/rebuildfstabÀÌ´Ù.
count=0
while read device mountpoint fstype relax; do stringinfile "$device " "$TMP" || \ { count="$((count + 1))" [ -d "$mountpoint" ] || mkdir -p "$mountpoint" 2>/dev/null options="noauto,users,exec" case "$fstype" in ntfs) options="${options},iocharset=cp949,ro,umask=000" ;; vfat|msdos) options="${options},iocharset=cp949,umask=000" ;; swap) options="defaults" ;; esac 5.1. ÆÐÅ°Áö ¾÷µ¥ÀÌÆ® ¶first, edit /etc/resolv.conf
apt-getÀ» È°¿ëÇϱâ À§ÇØ ¼Ò½º¸®½ºÆ® Á¤º¸¸¦ ¼öÁ¤ÇÑ´Ù. ÇÊÀÚ´Â ±âÁ¸ÀÇ /mnt/hdb1/etc/apt/source.list ÆÄÀÏÀ» º¹»çÇØ¿Ô´Ù.
cp /mnt/hdb1/etc/apt/sources.list /etc/apt/ apt-getÀ» ¾÷µ¥ÀÌÆ®ÇÑ´Ù.
apt-get update ¾÷µ¥ÀÌÆ®°¡ ³¡³µÀ¸¸é ÇÑÅÒ, ¹é¹¬±Û²Ã, ÇÑ±Û ÀԷ±⠳ªºñ, ¾Æ¹Ì, imhangulÀ» ¼³Ä¡ÇÑ´Ù.
apt-get install hanterm-xf ttf-baekmuk xfonts-baekmuk nabi ami imhangul ´Ù¸¥ ÀÌ»Û ±Û²Ãµéµµ ¹Þ¾ÆµÎÀÚ.
apt-get install ttf-alee ttf-unfonts 5.2. openoffice.org ÇѱÛÁö¿ø ¶¹Ì¸® ¼³Ä¡µÇ¾î ÀÖ´Â µ¶ÀϾî openoffice¸¦ »èÁ¦ÇÏ°í Çѱ¹¾î openoffice¸¦ ¼³Ä¡ÇÑ´Ù.
apt-get remove openoffice-de-en apt-get install openoffice.org apt-get install openoffice.org-l10n-ko ÆгÎÀÇ ¾ÆÀÌÄÜÀ» º¯°æÇϱâ À§Çؼ ´ÙÀ½°ú °°ÀÌ ¼³Á¤ÇÑ´Ù.
cd /usr/share/applnk/ ls cd Office/ ls mkdir OpenOffice cd OpenOffice/ cp /usr/share/applications/ooo645writer.desktop openoffice.desktop vi openoffice.desktop Icon Ç׸ñÀ» ooo_gulls·Î ¼öÁ¤Çϸé openoffice¸¦ »ó¡ÇÏ´Â °¥¸Å±â ¾ÆÀÌÄÜÀÌ Æгο¡ ³ªÅ¸³¯ °ÍÀÌ´Ù. (ÀÌ ¾ÆÀÌÄÜÀº ¾Õ¿¡¼ ÇÑ ¼³Á¤¿¡ ÀÇÇØ openoffice writer¸¦ ½ÇÇàÇÒ °ÍÀÌ´Ù.)
Icon=ooo_gulls
5.3. mozilla-firefox ÇѱÛÁö¿ø ¶knoppix 3.8ºÎÅÍ´Â ±âº» À¥ºê¶ó¿ìÀú°¡ mozilla-firefox·Î ¹Ù²î¾ú´Ù. firefoxÀÇ µ¶ÀÏ¾î ¾ð¾îÆÑÀ» »èÁ¦ÇÏ°í ÇÑ±Û ¾ð¾îÆÑÀ» ¼³Ä¡ÇÑ´Ù.
apt-get remove mozilla-firefox-locale-de apt-get install mozilla-firefox-locale-ko firefoxÀÇ profile ÆÄÀÏÀ» ¼öÁ¤ÇÑ´Ù.
prefs.js
...
user_pref("browser.display.use_document_fonts", 0); user_pref("browser.preferences.lastpanel", 0); user_pref("browser.search.selectedEngine", "Google"); user_pref("browser.startup.homepage", ""); user_pref("browser.startup.homepage_override.mstone", "rv:1.7.10"); user_pref("extensions.disabledObsolete", true); user_pref("extensions.lastAppVersion", "1.0"); user_pref("font.default", "sans-serif"); user_pref("font.language.group", "ko"); user_pref("font.minimum-size.ko", 13); user_pref("font.name.monospace.ko", "UnDotum"); user_pref("font.name.monospace.x-western", "monospace"); user_pref("font.name.sans-serif.ko", "UnDotum"); user_pref("font.name.sans-serif.x-western", "sans-serif"); user_pref("font.name.serif.ko", "UnDotum"); user_pref("font.name.serif.x-western", "serif"); user_pref("general.useragent.contentlocale", "KR"); user_pref("general.useragent.locale", "ko-KR"); user_pref("intl.accept_languages", "ko, en"); user_pref("intl.charset.default", "EUC-KR"); user_pref("intl.charset.detector", "ko_parallel_state_machine"); user_pref("intl.charsetmenu.browser.cache", "UTF-8, EUC-KR"); user_pref("network.cookie.prefsMigrated", true); user_pref("security.warn_entering_secure", false); user_pref("security.warn_leaving_secure", false); user_pref("security.warn_submit_insecure", false); userChrome.css
...
* { font-size: 9pt !important; font-family: UnDotum !important; } 5.4. Xine ÇѱÛÀÚ¸· ¶XineÀ» ÅëÇؼ ÇÑ±Û ÀÚ¸·À» º¼ ¼ö ÀÖµµ·Ï ´ÙÀ½ÀÇ ¹®¼¸¦ Âü°íÇß´Ù.
http://bbs.kldp.org/viewtopic.php?t=48878
5.5. ºÒÇÊ¿äÇÑ ¾ð¾îÆÑ Á¦°Å ¶localepurge¸¦ ÅëÇØ Çѱ¹¾î¸¦ Á¦¿ÜÇÑ ¸ðµç ¾ð¾îÆÑÀ» Á¦°ÅÇÑ´Ù. localepurge¸¦ ÅëÇØ ±²ÀåÈ÷ ¸¹Àº °ø°£À» Àý¾àÇÒ ¼ö ÀÖ´Ù.
apt-get install localepurge 5.6. kde ÇѱÛÁö¿øÆÑ ¼³Ä¡ ¶ÀÌÁ¦ kde ÇѱÛÁö¿ø ÆÑÀ» ¼³Ä¡ÇÏÀÚ. kde ±â¹ÝÀÇ ÇѼÒÇÁÆ®¸®´ª½º¿¡¼ kde ÇѱÛÈÆÑÀ» ±¸ÇÒ ¼ö ÀÖ´Ù. ´ÙÀ½ÀÇ haansoftlinux ftp¸µÅ©¿¡¼ ¹ÞÀ» ¼ö ÀÖ´Ù!
ftp://ftp.haansoftlinux.com/pub/haansoftlinux/OS/2005/Workstation/RPMS/
kde3.3¹öÀü¿ë i18n ÆÐÅ°ÁöÀÌÁö¸¸ kde3.4¿¡¼ »ç¿ëÇÏ´Â °Íµµ °¡´ÉÇÏ´Ù.
´Ù¿î·ÎµåÇÑ kde-i18n-korean RPM ÆÐÅ°Áö¸¦ deb ÆÐÅ°Áö·Î º¯È¯ÇÑ´Ù.
alien kde-i18n-Korean-3.3.0-4hs.noarch.rpm dpkg·Î kde-i18n-koreanÀ» ¼³Ä¡ÇÑ´Ù.
dpkg -i --force-overwrite kde-i18n-Korean-3.3.0-4hs.noarch.rpm 5.7. ºÒÇÊ¿äÇÑ ÆÐÅ°Áö »èÁ¦ ¶µ¥ºñ¾È ¼Ò½º¸®½ºÆ®°¡ Á¦°øÇÏ´Â ¸ðµç ÆÐÅ°ÁöµéÀ» ´Ù ¾µ ¼ö ÀÖ´Ù¸é ¾ó¸¶³ª ÁÁÀ»±î? ±×·¯³ª knoppix·Î ºÎÆÃÇÒ ¼ö ÀÖ´Â À̹ÌÁöÀÇ Å©±â´Â CD 1Àå ºÐ·®ÀÇ 700MBÀ» ³ÑÀ» ¼ö ÀÖ´Ù. µû¶ó¼ ´ÙÀ½°ú °°ÀÌ ºÒÇÊ¿äÇÑ ½Ã½ºÅÛ¿¡ ºÒÇÊ¿äÇÑ ÆÐÅ°Áö¸¦ »èÁ¦ÇØ¾ß ÇÑ´Ù.
ÆÐÅ°Áö »èÁ¦ ÀÛ¾÷À» ÀÚµ¿ÈÇϱâ À§ÇØ ¸ÕÀú »èÁ¦ÇÒ ÆÐÅ°Áö ¸®½ºÆ®¸¦ kicklist¶ó´Â À̸§À¸·Î ÀÛ¼ºÇÑ´Ù.
x3270
3270-common xfonts-x3270-misc ibod ipppd isdnactivecards isdnlog isdnlog-data libcapi20-2 isdnutils-base isdnutils-xtools isdnvboxclient pppdcapiplugin isdnactivecards isdn-config kde-i18n-cs kde-i18n-da kde-i18n-de kde-i18n-es kde-i18n-fr kde-i18n-it kde-i18n-ja kde-i18n-nl kde-i18n-pl kde-i18n-ru kde-i18n-tr xtel manpages-de mozilla-locale-de-at trans-de-en user-de euro-support euro-support-console euro-support-x dpkg ¸í·ÉÀ¸·Î kicklist¿¡ µî·ÏµÇ¾î ÀÖ´Â ÆÐÅ°ÁöµéÀ» ÀÏ°ýÀûÀ¸·Î »èÁ¦ÇÑ´Ù.
dpkg -P `cat kicklist` ¸î °¡Áö ´õ »èÁ¦ÇؾßÇÒ ºÒÇÊ¿äÇÑ Á¤º¸°¡ ³²¾ÆÀÖ´Ù.
cd /etc rm -Rf isdn rm -Rf 3270 7. chroot Á¾·á ¹× ÃÖÁ¾ ȯ°æ ¼³Á¤ ¶/mnt/hdc1/remaster/Knoppix.build/Knoppix.Master /KNOPPIX.CUSTOM/boot/isolinux/isolinux.cfgÀ» ¼öÁ¤Çؼ ºÎÆÃÇÒ ¶§ cheat code langÀ» ko·Î ÀüȯÇÏÀÚ. ¿©±â¼ ¼³Á¤ÇØÁÖ´Â cheat code´Â ½© º¯¼ö LANG¿¡ ¹Ý¿µµÈ´Ù.
lang=ko GIMP µîÀ» ÀÌ¿ëÇؼ knoppixÀÇ ¹ÙÅÁȸéÀ» ¼öÁ¤ÇÑ´Ù.
knoppix.png
ÆíÁý±â·Î index.html ÆÄÀÏÀ» ¼öÁ¤ÇÑ´Ù.
index.html
9. Âü°í ¶KnoppixKo37õ¸í±Ç, knoppix 3.7 ÇѱÛÈ]
KnoppixCdõ¸í±Ç, Çϵåµð½ºÅ© ¸¶¿îÆ® Áغñ]
KnoppixKoõ¸í±Ç, ÇÑ±Û ÆÐÅ°Áö¸¦ À§ÇÑ °ø°£ ¸¸µé±â]
KnoppixAddPackagesforHangulõ¸í±Ç, ÇÑ±Û ÆÐÅ°Áö ¼³Ä¡Çϱâ
KnoppixKoõ¸í±Ç, Çѱ۰ü·Ã ¼³Á¤, cd À̹ÌÁö »ý¼º
|
"It seems strange to meet computer geeks who're still primarily running Windows... as if they were still cooking on a wood stove or something." - mbp |