· KLDP.org · KLDP.net · KLDP Wiki · KLDP BBS ·
Booyo LiveCD/Klik Linux

design

* web À» ÅëÇØ ¸®´ª½º ¼³Ä¡
  • À©µµ¿ìÁî¿¡¼­ ¼öÇàÇÏ´Â °æ¿ì
    • ISO ´Ù¿î·Îµå
    • grub ¼³Ä¡
    • reboot (ÀÚµ¿)
    • ÆÄƼ¼ÇÀÌ ¾ø´Â °æ¿ì
      • ÆÄƼ¼Ç ¼³Ä¡
    • ÆÄƼ¼ÇÀÌ ÀÖ´Â °æ¿ì
      • ¼³Ä¡ ÆÐÅ°Áö ¼öÇà

  • ¸®´ª½º¿¡¼­ ¼öÇàÇÏ´Â °æ¿ì
    • ¼³Ä¡ ÆÐÅ°Áö ´Ù¿î·Îµå
    • ¼³Ä¡ ÆÐÅ°Áö ¼öÇà

* update
  • web ¿¡¼­ ½ÃÀÛÇÏ´Â ¹æ¹ý
  • ·ÎÄÿ¡¼­ ½ÃÀÛÇÏ´Â ¹æ¹ý
    • ½Ã½ºÅÛ¿¡ ¼³Ä¡µÇ¾î ÀÖ´Â ÆÐÅ°Áö Á¤º¸ »ç¿ë

* upgrade
  • web ¿¡¼­ ½ÃÀÛÇÏ´Â ¹æ¹ý
  • ·ÎÄÿ¡¼­ ½ÃÀÛÇÏ´Â ¹æ¹ý
    • ½Ã½ºÅÛ¿¡ ¼³Ä¡µÇ¾î ÀÖ´Â ÆÐÅ°Áö Á¤º¸ »ç¿ë

* °³º° ÆÐÅ°Áö °ü¸®(¼³Ä¡, upgrade)
  • web ¿¡¼­ ½ÃÀÛÇÏ´Â ¹æ¹ý
  • ·ÎÄÿ¡¼­ ½ÃÀÛÇÏ´Â ¹æ¹ý
    • ½Ã½ºÅÛ¿¡ ¼³Ä¡µÇ¾î ÀÖ´Â ÆÐÅ°Áö Á¤º¸ »ç¿ë
    • ½Ã½ºÅÛ¿¡¼­ Á¦°øÇÏ´Â ÆÐÅ°ÁöÀÎ °æ¿ì
      • gnome-app-install ¶Ç´Â sysnaptic »ç¿ë
    • ½Ã½ºÅÛ¿¡¼­ Á¦°øÇÏÁö ¾Ê´Â ÆÐÅ°ÁöÀÇ °æ¿ì
      • klik ¹æ¹ý »ç¿ë
  • À¥»çÀÌÆ®¸¦ ÅëÇÑ ¼³Ä¡
    • ¹öÀü¿¡ Á¦ÇÑÀ» ¹Þ´Â´Ù.
    • ÀÏ¹Ý À¯Àú°¡ ¼³Ä¡¸¦ ÇÒ ¼ö ÀÖ´Ù.
    • cmg ¸¦ »ç¿ëÇϸé, ±âº» ½Ã½ºÅÛÀº ¾ÈÀüÇÏ´Ù?
    • cmg ¸¦ ¸¸µé¾î¾ß ÇÑ´Ù.
    • ¹öÀüÀÌ ¹Ù²ð¶§¸¶´Ù cmg ¸¦ »õ·Î ¸¸µé¾î¾ß ÇÒ °¡´É¼ºÀÌ ÀÖ´Ù.

* ÆÐÅ°Áö ¼³Ä¡
  • synaptic ¸¦ ÅëÇÑ ¼³Ä¡
    • ¹öÀü¿¡ Á¦ÇÑÀ» ¹ÞÁö ¾Ê´Â´Ù.
    • root ¸¸ÀÌ ¼³Ä¡ÇÒ ¼ö ÀÖ´Ù.
    • ¼³Á¤À» ÅëÇØ ´Ù¸¥ repository ÀÇ rpm À» ¼³Ä¡ÇÒ ¼ö ÀÖ´Ù.

  • µÎ ¹æ½Ä ¸ðµÎ ºÎ¿©¸¦ À§ÇÑ repository °¡ ÀÖ¾î¾ß ÇÑ´Ù.

  • À¥»çÀÌÆ®¸¦ ÅëÇÏÁö¸¸ ½ÇÁ¦´Â synaptic À» »ç¿ëÇÏ´Â °æ¿ì
    • linspire ÀÇ ¹æ½ÄÀ» Á» ´õ Á¶»çÇÒ ÇÊ¿ä°¡ ÀÖ´Ù.

1. root ¸¸ÀÌ ¼³Ä¡ÇÒ ¼ö ÀÖµµ·Ï ÇÑ´Ù. 2. cmg ¸¦ ¸¸µå´Â ³ë·Âº¸´Ù, rpm À» ¸¸µå´Â °ÍÀÌ ³º´Ù. 3. À¥»çÀÌÆ®¸¦ ÅëÇÏÁö¸¸ synaptic À» »ç¿ëÇϵµ·Ï ÇÑ´Ù.

  • ÀνºÅç·¯°¡ Á¦°øµÇ´Â third party program
    • À̸¦ À§Çؼ­´Â redhat, debian, fedora Áß Çϳª¿Í´Â ȣȯÀÌ µÇ¾î¾ß ÇÒ °ÍÀÌ´Ù.

À¯Çüº° ±¸ºÐ

* zero-install
  • Çϵåµð½ºÅ©¿¡ ¼³Ä¡¾øÀÌ ÀÎÅÍ³Ý »ó¿¡¼­ klik ÇÏ¿© »ç¿ë.
  • cache ¿¡ º¸°ü. cache ¿¡ ³²¾Æ ÀÖ´Â µ¿¾È °è¼Ó »ç¿ë°¡´É.
  • ÆÄÀϸ޴ÏÀú ¾È¿¡¼­ Ŭ¸¯À¸·Î »ç¿ë

* klik and install
  • live CD ¿¡¼­ ½ÃÀÛ. write ¸¦ ÇÒ ¼ö ¾ø´Â ¹®Á¦¸¦ ÇØ°á
  • persistent home ÀÇ ±â´ÉÀ» »ç¿ëÇÒ ¼ö ÀÖµµ·Ï ÇÔ.
  • unionfs ¿¡ ÀÇÇØ Å« º¯È­°¡ ¿¹»óµÊ.
  • ¹ÙÅÁÈ­¸é¿¡¼­ Ŭ¸¯À¸·Î »ç¿ë°¡´É

* ÀÏ¹Ý install: synaptic, system-config-packages, up2date, upgrade, update

* MS windows
  • update
  • klik and download
  • µ¥½ºÅ© ž¿¡¼­ Ŭ¸¯À¸·Î ÀνºÅç
  • Ŭ¸¯À¸·Î »ç¿ë

* Third party developers

* scalability
  • win95, 98, NT, 2k, and XP
  • ¹èÆ÷Æǵé, ¹öÀü

°í·ÁÇÒ »çÇ×

  • desktop Àº ÇÑ »ç¶÷¸¸ÀÌ »ç¿ëÇϴ°¡?
    • ÇÑ »ç¶÷¸¸ÀÌ »ç¿ëÇÑ´Ù¸é, root ¸¦ µû·Î µÑ ÇÊ¿ä°¡ ¾ø´Ù. (ÃʱâÀÇ PC)
  • ¿©·¯»ç¶÷ÀÌ »ç¿ëÀ» ÇÑ´Ù¸é
  • ÇÁ·Î±×·¥ÀÇ ¼³Ä¡ ¹× update ´Â root ¸¸ ÇÒ ¼ö ÀÖµµ·Ï ÇÒ °ÍÀΰ¡?
    • ¾ÈÀüÀÇ ¹®Á¦¿Í ÆíÀǼºÀÇ ¹®Á¦
  • ÆÐÅ°Áö °ü¸® Åø¿¡ ÀÇÇØ »ý¼ºµÉ ¼ö ÀÖ´Â ÇÁ·Î±×·¥µé
  • ±×·¸Áö ¾ÊÀº ÇÁ·Î±×·¥µé (/usr/local)
  • °³ÀÎÀÌ ¼³Ä¡ »ç¿ëÇÏ´Â ÇÁ·Î±×·¥µé (/home/username)
Debian has three separate places where software is installed,
corresponding to the three different ways of installing software:
/usr contains software managed by the APT system and installed by root;
/usr/local contains non-APT software installed by root;
and each user's home directory contains user-installed software.
This is rather confusing for everyone, and leads to duplication if several
users install the same software in their home directories.
  • ÀÏ¹Ý À¯Àú°¡ ÇÒ ¼ö ÀÖ´Â ÀÏÀÇ ¹üÀ§¸¦ ¾îµð±îÁö·Î ÇÒ °ÍÀΰ¡?

  • A ¶ó´Â À¯Àú°¡ ¼³Ä¡ÇÑ ÇÁ·Î±×·¥À» ´Ù¸¥ »ç¿ëÀÚ°¡ »ç¿ëÇÒ ¼ö ÀÖµµ·Ï ÇÒ °ÍÀΰ¡?
    • µ¿ÀÏÇÑ ÇÁ·Î±×·¥ÀÇ ¹Ýº¹ ¼³Ä¡
  • °°Àº ÇÁ·Î±×·¥ÀÇ ´Ù¸¥ ¹öÀüµé

¼­¹ö Ŭ¶óÀ̾ðÆ®

  • ¼­¹ö Ŭ¶óÀ̾ðÆ®ÀÇ °ü°è
  • ÀÎÅͳÝÀ» ÅëÇÑ ¼­¹ö Ŭ¶óÀ̾ðÆ®ÀÇ °ü°è
  • Ŭ¶óÀ̾ðÆ® ÇÁ·Î±×·¥
  • º¸¾ÈÀÇ ¹®Á¦
  • Ŭ¶óÀ̾ðÆ® ÇÁ·Î±×·¥Àº ¹«¾ù±îÁö¸¦ ÇÒ ¼ö ÀÖ¾î¾ß Çϳª?
  • Ŭ¶óÀ̾ðÆ® ÇÁ·Î±×·¥¿¡°Ô ¹«¾ù±îÁö¸¦ Çã¿ëÇØ¾ß Çϳª?
  • ÀÌ°ÍÀº º¸¾ÈÀÇ ¹®Á¦Àΰ¡?
Automatically downloading and running programs across the Internet can sound
like a virus-builder¡¯s dream. ActiveX especially brings up the thorny issue
of security in client-side programming. If you click on a Web site, you might
automatically download any number of things along with the HTML page: GIF files,
script code, compiled Java code, and ActiveX components. Some of these are
benign; GIF files can¡¯t do any harm, and scripting languages are generally limited
in what they can do. Java was also designed to run its applets within a
¡°sandbox¡± of safety, which prevents it from writing to disk or accessing
memory outside the sandbox.

ActiveX is at the opposite end of the spectrum. Programming with ActiveX is like
programming Windows – you can do anything you want. So if you click on a
page that downloads an ActiveX component, that component might cause damage
to the files on your disk. Of course, programs that you load onto your computer
that are not restricted to running inside a Web browser can do the same thing.
Viruses downloaded from Bulletin-Board Systems (BBSs) have long been a problem,
but the speed of the Internet amplifies the difficulty.

The solution seems to be ¡°digital signatures,¡± whereby code is verified to show
who the author is. This is based on the idea that a virus works because its creator
can be anonymous, so if you remove the anonymity individuals will be forced to be
responsible for their actions. This seems like a good plan because it allows programs
to be much more functional, and I suspect it will eliminate malicious mischief.
If, however, a program has an unintentional bug that¡¯s destructive it will still cause
problems.

ÇÁ·Î±×·¥ÀÇ ±¸ºÐ

  • ¾ÇÀÇ¿¡ ÀÇÇÑ ÇÁ·Î±×·¥
  • ¾ÇÀÇ´Â ¾øÁö¸¸, ÇÁ·Î±×·¥ ¿À·ù¿¡ ÀÇÇÑ ¹®Á¦ÀÇ ÇÁ·Î±×·¥
  • °ËÁõµÈ ÇÁ·Î±×·¥

  • °á±¹ ¾ÈÀüÇÑ ¼­¹ö°¡ À־ ¿À·ù¸¦ Á¡°ËÇÏ°í °ËÁõÇÏ¿© ÁÖ¾î¾ß ÇÑ´Ù.
  • ±âº»ÀûÀ¸·Î ÀÎÅͳÝÀ» ÅëÇØ Àü´ÞµÇ´Â ÇÁ·Î±×·¥¿¡ Á¦ÇÑÀ» µÐ´Ù. (sandbox)
  • »ç¿ëÀÚÀÇ ±ÇÇÑ ±¸ºÐ¿¡ ÀÇÇØ root °¡ ¼³Ä¡ÇÒ ¼ö ÀÖ´Â ÇÁ·Î±×·¥°ú »ç¿ëÀÚ°¡ ¼³Ä¡ÇÒ
    ¼ö ÀÖ´Â ÇÁ·Î±×·¥ÀÇ ±¸ºÐÀ» ¸¸µç´Ù. (root °¡ °ËÁõ¿ªÇÒÀ» ÇÑ´Ù.)

  • °³ÀÎ ¶Ç´Â ¼Ò±Ô¸ð ¾÷ü¿¡ °ËÁõ¿ªÇÒÀ» ÇÒ root ¸¦ µÎ´Â °ÍÀº ºñÈ¿À²ÀûÀÌ´Ù.
  • ¾ÈƼ¹ÙÀÌ·¯½º ÇÁ·Î±×·¥ÀÌ ÀÌ ¿ªÇÒÀ» ÇØ ÁÖ¾î¾ß ÇÑ´Ù.

  • À©µµ¿ìÁîÀÇ °æ¿ìµµ freeware, shareware ¿¡ ¾ÇÀÇÀûÀÎ ¶Ç´Â ¿À·ù¿¡ ÀÇÇÑ ÇÁ·Î±×·¥ÀÌ
    ÀÖÀ» ¼ö ÀÖ´Ù.

  • °ø°³ ¼ÒÇÁÆ®¿þ¾îÀÇ °æ¿ì´Â ÀÌ¿Í´Â ´Ù¸¥ »óȲÀÌ´Ù.
  • »ç¿ëÀÚ°¡ ÀǵµÀûÀ¸·Î ÇÁ·Î±×·¥À» ã¾Æ ¼³Ä¡¸¦ ÇÏ´Â °ÍÀÌ´Ù.
  • ÀÌ °æ¿ì ÇÁ·Î±×·¥À» °ËÁõÇÏ´Â ÀýÂ÷´Â?
    • ÇÁ·Î±×·¥À» Á¦°øÇÏ´Â »çÀÌÆ®ÀÇ ½Å·Úµµ (ÀÌ °æ¿ì ÀÌ ÀÛ¾÷Àº ÀÚ¿øºÀ»çÀÚ¿¡ ÀÇÇØ, ¶Ç´Â ±â¾÷¿¡ ÀÇÇØ ¼öÇàµÇ¾î¾ß Çϴ°¡? Á¤ºÎµµ °¡´ÉÇÑ°¡?)
    • ÇÁ·Î±×·¥À» °ËÁõÇϴµ¥ ¾î´À Á¤µµ ºñ¿ëÀÌ µé °ÍÀΰ¡?
    • °á±¹ open project ÀÇ °³³ä¸¸ÀÌ °¡´ÉÇÑ°¡?

»ç¿ëÀÇ ±¸ºÐ

  • Ãâ·Â¸¸ ÇÏ´Â °æ¿ì
    • ¹®¼­, ¿Àµð¿À, ºñµð¿À, ¸ÞÀÏ
  • µð½ºÅ©¿¡ ÀúÀåÀ» ÇÏ´Â °æ¿ì
    • cache ÀÎ °æ¿ì´Â?
  • ¼³Á¤À» º¯°æÇÏ´Â °æ¿ì
    • °³ÀÎ ¼³Á¤
    • ½Ã½ºÅÛ ¼³Á¤

¾ÇÀÇÀûÀÎ ÇÁ·Î±×·¥ÀÇ ±¸ºÐ

  • Á¤º¸¸¸À» »Ì¾Æ °¡´Â °æ¿ì
  • Á¤º¸¸¦ º¯°æ½ÃÅ°´Â °æ¿ì
  • ½Ã½ºÅÛÀÇ ¼º´ÉÀ» ÀúÇϽÃÅ°´Â °æ¿ì

live CD ·Î »ç¿ëÇÒ °æ¿ì

  • /usr ¿¡¸¸ ¾µ ¼ö ÀÖ´Ù.

ÀνºÅçÇÏ¿© »ç¿ëÇÒ °æ¿ì


ÆÐÅ°Áö ±¸ºÐ

  • ¹èÆ÷ÆÇ¿¡ ¼ÓÇÏ´Â ÆÐÅ°Áö
  • ¹èÆ÷ÆÇ¿¡ ¼ÓÇÏÁö ¾ÊÁö¸¸, rpm ÀÌ ÀÖ´Â ÆÐÅ°Áö
  • ´Ù¸¥ ¹æ½ÄÀ» »ç¿ëÇÏ´Â ÆÐÅ°Áö
  • tar.gz ¸¸ ÀÖ´Â ÆÐÅ°Áö

  • ¹èÆ÷ÆÇ¿¡ ¼ÓÇÏ´Â ÆÐÅ°ÁöÀÌÁö¸¸ ¹öÀüÀÌ ³·Àº °æ¿ì
  • ¶óÀ̼¾½º¿¡ ÀÇÇØ ¹èÆ÷ÆÇ¿¡ Æ÷ÇÔµÇÁö ¸øÇÏ´Â ÆÐÅ°Áö

upgrade

  • ¹èÆ÷ÆÇ¿¡ ¼ÓÇÏ°í ¼³Ä¡µÇ¾î ÀÖ´Â ÆÐÅ°Áö
  • ¹èÆ÷ÆÇ¿¡ ¼ÓÇÏÁö¸¸ ¼³Ä¡µÇ¾î ÀÖÁö ¾ÊÀº ÆÐÅ°Áö
  • ¹èÆ÷ÆÇ¿¡ ¼ÓÇÏÁö ¾Ê°í, rpm ÀÌ ÀÖ´Â ÆÐÅ°Áö°¡ ¼³Ä¡µÇ¾î ÀÖ´Â °æ¿ì
  • ¹èÆ÷ÆÇ¿¡ ¼ÓÇÏÁö ¾Ê°í, ´Ù¸¥ ¹æ¹ýÀ» »ç¿ëÇÏ¿© ¼³Ä¡µÈ ÆÐÅ°Áö
  • ¹èÆ÷ÆÇ¿¡ ¼ÓÇÏÁö ¾Ê°í, tar.gz ¿¡ ÀÇÇØ ¼³Ä¡µÈ ÆÐÅ°Áö

klik

install

  • dialog ¼³Á¤
  • $HOME/.klik »ý¼º
  • chmod 700 ~/.klik
  • mkdir -p $HOME/.kde/share/applnk/klik
  • $HOME/.kde/share/services/klik.protocol »ý¼º
    • exec=$HOME/.klik '%u'
  • $HOME/.kde/share/applnk/klik/.directory »ý¼º
  • $HOME/.kde/share/applnk/klik/klik.desktop »ý¼º
  • mozilla
  • elink
    • -e $HOME/.elinks || mkdir $HOME/.elinks
    • -e $HOME/.elinks/elinks.conf || touch $HOME/.elinks/elinks.conf
    • $HOME/.elinks/elinks.conf »ý¼º
  • mkdir -p $HOME/.kde/share/mimelnk/all
  • $HOME/.kde/share/mimelnk/all/cmg.desktop »ý¼º
  • mkdir -p $HOME/.kde/share/applnk/.hidden
  • $HOME/.kde/share/applnk/.hidden/AppRun.desktop »ý¼º
    • Exec=$HOME/.zAppRun %U
  • $HOME/.zAppRun »ý¼º
  • chmod 777 $HOME/.zAppRun
  • $HOME/klik-cmg-install-root »ý¼º
  • chmod 777 "$HOME/klik-cmg-install-root"
  • kbuildsycoca

  • message 1
    • klik is not a registered protocol
    • user.js ¸¸ ¸¸µç ÈÄ¿¡µµ °°Àº ¿À·ù ¸Þ½ÃÁö
/home/tcheun1/.mozilla/firefox/891y6mnx.default/user.js
user_pref("network.protocol-handler.app.klik", "~/.klik");
  • .klik ¸¦ ¸¸µç ÈÄ¿¡ ´Ù¸¥ ¸Þ½ÃÁö·Î ¹Ù²ñ

  • messgae 2
    • An external application must be launched to handle klik: links. Requested link:
klik://nvu

If you were not expecting this request it may be an attempt to exploit a weakness in that other program. Cancel this request unless you are sure it is not malicious.
  • click Launch application
  • message 3
    • Error while trying to run nvu

root@ttyp0etc# cat /etc/knoppix-version 3.4 2004-05-17 root@ttyp0etc# uname -a Linux Knoppix 2.4.26 #1 SMP Sa Apr 17 19:33:42 CEST 2004 i686 GNU/Linux

export RUN=echo $1 | sed s@klik:\/\/@@ && (wget -q http://klik.atekon.de/apt/?package=$RUN -U "klik/0.1.3cli (uname -a @$VERSION@)" -O - | sh || derror "Error while trying to run $RUN" )


kbuildsycoca

3.4 ¿¡¼­ ½ÃÇè

root ·Î ¼öÇàÇÏ¸é ¹®Á¦ »ý±è knoppix ·Î ¼öÇàÇÏ¸é ¼öÇàµÊ. mount ¿¡¼­ ¹®Á¦ ¹ß»ý

knoppix@ttyp1[Desktop]$ wget -v http://klik.atekon.de/apt/?package=nvu -U
"klik/0.1.3cli (Linux Knoppix 2.4.26 #1 SMP Sa Apr 17 19:33:42 CEST 2004 i686
GNU/Linux @3.4 2004-05-17@)" -O tst1
--14:38:48--  http://klik.atekon.de/apt/?package=nvu
           => `tst1'
Resolving klik.atekon.de... 134.169.172.48
Connecting to klik.atekon.de[134.169.172.48]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]

    [ <=>                                 ] 325           --.--K/s

14:38:55 (3.10 MB/s) - `tst1' saved [325]

# count this as a klik
wget "http://klik.atekon.de/apt/countklik.php?package=nvu&client=1" -O - >/dev/null
2>&1 || echo "no klik counted"
kfmclient copy 'http://klik.atekon.de/cmg/nvu.cmg' ~/Desktop/; ~/.zAppRun
~/Desktop/nvu.cmg && wget
"http://klik.atekon.de/apt/countsuccess.php?package=nvu&client=1" -O - >/dev/null
2>&1

knoppix@ttyp0Desktop$ pwd /home/knoppix/Desktop -rw-rr 1 knoppix knoppix 11608064 2005-03-25 13:52 nvu.cmg

¹ÙÅÁÈ­¸é¿¡ nvu.cmg »ý¼ºµÊ /home/knoppix/.zAppRun: line 121: error: command not found

104 cd /mnt/app 108 mkdir 1 111 cd 1 113 ln -s /home/knoppix/Desktop/nvu.cmg image 124 mount /mnt/app/1

knoppix@ttyp11$ ls LICENSE libgkgfx.so libssl3.so regchrome TestGtkEmbed libgtkembedmoz.so libxlibrgb.so regxpcom bloaturls.txt libgtkxtbin.so libxpcom.so res chrome libmozjs.so libxpcom_compat.so run-mozilla.sh components libnspr4.so libxpistub.so shlibsign components.ini libnss3.so mangle wrapper defaults libnssckbi.so mozilla-xremote-client xpcshell defaults.ini libplc4.so nsinstall xpicleanup elf-dynstr-gc libplds4.so nvu xpidl extensions libsmime3.so nvu-bin xpt_dump greprefs libsoftokn3.chk nvu-config xpt_link icons libsoftokn3.so plugins


syscoca



Sycoca stands for System Configuration Cache and is nominated to be the succesor of kregistry. It is a light weight database optimized for looking up static system configuration information fast and with minimal memory usage.

The database will offer read-only access to many clients at once. The database is read-only which means that looking up can be very fast since no locking or transaction operations need to be performed. The database is created/updated by kbuildsycoca from human readable configuration files. kded monitors these configuration files and will call kbuildsycoca to update the database when a change in any of the configuration files is detected.

Updating the database will mean that the database is replaced as a whole by a more up to date version. This approach allows a very straight forward database implementation. With Sycoca it will not be necessary any more to parse multiple files when looking for static system information. Instead Sycoca can return the requested information with a performance near to O(1). Examples of static system information are mimetype bindings and .desktop information (servicetypes). Application specific configuration information will _NOT_ be stored in Sycoca since this information is usually subject to regular change.


$ kded --help Usage: kded Qt-options KDE-options options

KDE Daemon - triggers Sycoca database updates when needed.

ÀÏÀÇ ¼ø¼­

  • cmg ÆÄÀÏÀ» ¸¸µå´Â °Í
  • cmg ÆÄÀÏÀ» ¼öÇàÇÏ´Â °Í
  • ÀÌ ÈÄ¿¡ ¼­¹ö¿Í Ŭ¶óÀ̾ðÆ® ¿¬°áÇÏ´Â °ÍÀ» ÇÑ´Ù.

  • install xdialog
  • make klik-cmg-install-root and run
  • edit install
  • run install
    • klik is not a registered protocol
    • user_pref ¿¡ " ¸¦ »© ¸Ô¾úÀ½.
  • wget http://klik.atekon.de/apt/?package=nvu -U "klik/0.1.3cli (Linux Knoppix 2.4.26 #1 SMP Sa Apr 17 19:33:42 CEST 2004 i686 GNU/Linux @$VERSION@)" -O - > klik.tst

  • mount -t cramfs cgoban-1.9.14.cmg /mnt/app/1 -o loop

  • root@localhost app# mount -t cramfs /mnt/app/1/image /mnt/app/1 -o loop
  • /mnt/app/1/image: ±×·± ÆÄÀÏÀ̳ª µð·ºÅ丮°¡ ¾øÀ½
  • root@localhost app# ls -l /mnt/app/1/image
  • lrwxrwxrwx 1 tcheun tcheun 17 3¿ù 29 18:04 /mnt/app/1/image -> cgoban-1.9.14.cmg
  • ½Å±âÇÑ ÀÏÀ̱º
  • cgoban-1.9.14.cmg ¸¦ /home/tcheun/cgoban-1.9.14.cmg ·Î ¼öÁ¤
  • mount /mnt/app/1 ¼º°ø

  • °á±¹ ¹®Á¦´Â cmg ÆÄÀÏÀ» ¸¸µå´Â °Í
  • ¸î°¡Áö dialog ±â´É ÇÊ¿äÇÑ °Í
  • ¿ì¼± cmg ÆÄÀÏÀ» ¸¸µå´Â °ÍÀÇ ÀÚµ¿È­´Â Á¢¾îµÎÀÚ.
  • ¹«¾ùÀ» Ÿ°ÙÀ¸·Î ½ÃÇèÀ» ÇØ º¼±î?

  • cmg ¸¦ ¸¸µå´Â ¼ø¼­(¿¹Ãø)
    • rpm ÀÇ ÀÇÁ¸¼º °Ë»ç
    • ÇÊ¿äÇÑ ÆÐÅ°Áö°¡ ¼³Ä¡µÇ¾î Àִ°¡ Á¶»ç
    • ¼³Ä¡µÇ¾î ÀÖÁö ¾ÊÀº ÆÐÅ°Áö¸¦ ´Ù¿î·Îµå ÆÄÀÏ¿¡ Ãß°¡
    • AppDir ¿¡ ¼³Ä¡µÇ´Â ÇÁ·Î±×·¥µéÀÇ ¸µÅ© º¯°æ
    • ½Ã½ºÅÛ¿¡ ¼³Ä¡µÈ ¶óÀ̺귯¸®Áß ÇÊ¿äÇÑ °ÍµéÀ» ¸µÅ©
    • /etc ³ª /var ¸µÅ©

* rpm ÀÇÁ¸¼º °Ë»ç
  • fedora ¿¡´Â unp ¾ø½¿.
  • rpm ¼Ò½º º¼ °Í

* ÆÐÅ°Áö °ü¸®
  • »õ·Î¿î ÆÐÅ°Áö ¼³Ä¡
    • live CD ¿Í ÇϵåÀνºÅçµÈ °ÍÀÇ Â÷ÀÌ
    • live CD ÀÎ °æ¿ì´Â security ¿¡ °üÇÑ ¿ì·Á°¡ Àû´Ù.
  • upgrade
    • system-config-package ´Â CD ¸¸À» ´ë»óÀ¸·Î ÇÏ°í ÀÖ´Ù.
  • APT °¡ °á·ÐÀûÀ¸·Î ¸Â´Â °Í °°´Ù.
  • home µð·ºÅ丮¿¡ ¼³Ä¡ÇÏ´Â °Í°ú ½Ã½ºÅÛ¿¡ ¼³Ä¡ÇÏ´Â °ÍÀÇ Â÷ÀÌ

  • rpm -q -R xdialog Àº ÀÇÁ¸¼º °Ë»ç¸¦ ÇÏÁö¸¸ ¼³Ä¡µÈ °Í¿¡ ÇÑÇÔ.
  • ¼³Ä¡µÇÁö ¾ÊÀº ÆÐÅ°ÁöÀÇ ÀÇÁ¸¼ºÀ» º¼ ¼ö ÀÖ´Â ¹æ¹ýÀº ¾ø´Â°¡?
20.How to check the RPM dependency

When making custom-made CD etc.,which is necessary to investigate the dependency of the RPM files.
It can investigate easily as follows:

Premise:The directory with RPM files are /tmp/i386/RedHat/RPMS

¡¡$cd /tmp/i386/RedHat/RPMS

Make the directory for test
¡¡$mkdir -p /tmp/testdb

Initialize the RPMDB
¡¡$rpm --initdb --dbpath /tmp/testdb

Dependency check
¡¡$rpm --test --dbpath /tmp/testdb -Uvh *.rpm

The message will be outputted if caught in the check of the dependency, Please add the required RPM files.

[root@localhost tmp]# rpm --initdb --dbpath /tmp/testdb
[root@localhost tmp]# rpm --test --dbpath /tmp/testdb -Uvh /home/tcheun/acroread-5.0.10-1.1.fc3.rf.i386.rpm
°æ°í: /home/tcheun/acroread-5.0.10-1.1.fc3.rf.i386.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6
¿À·ù: Failed dependencies:
        /bin/sh is needed by acroread-5.0.10-1.1.fc3.rf.i386
        htmlview is needed by acroread-5.0.10-1.1.fc3.rf.i386
        libX11.so.6 is needed by acroread-5.0.10-1.1.fc3.rf.i386
        libXp.so.6 is needed by acroread-5.0.10-1.1.fc3.rf.i386
        libXt.so.6 is needed by acroread-5.0.10-1.1.fc3.rf.i386
        libc.so.6 is needed by acroread-5.0.10-1.1.fc3.rf.i386
        libc.so.6(GLIBC_2.0) is needed by acroread-5.0.10-1.1.fc3.rf.i386
        libc.so.6(GLIBC_2.1) is needed by acroread-5.0.10-1.1.fc3.rf.i386
        libdl.so.2 is needed by acroread-5.0.10-1.1.fc3.rf.i386
        libdl.so.2(GLIBC_2.0) is needed by acroread-5.0.10-1.1.fc3.rf.i386
        libdl.so.2(GLIBC_2.1) is needed by acroread-5.0.10-1.1.fc3.rf.i386
        libm.so.6 is needed by acroread-5.0.10-1.1.fc3.rf.i386
        libm.so.6(GLIBC_2.0) is needed by acroread-5.0.10-1.1.fc3.rf.i386
        libm.so.6(GLIBC_2.1) is needed by acroread-5.0.10-1.1.fc3.rf.i386

[root@localhost tmp]# rpm --test --dbpath /tmp/testdb -Uvh /home/tcheun/xdialog-2.1.1-1.1.fc3.rf.i386.rpm
°æ°í: /home/tcheun/xdialog-2.1.1-1.1.fc3.rf.i386.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6
¿À·ù: Failed dependencies:
        /bin/sh is needed by xdialog-2.1.1-1.1.fc3.rf.i386
        libX11.so.6 is needed by xdialog-2.1.1-1.1.fc3.rf.i386
        libXext.so.6 is needed by xdialog-2.1.1-1.1.fc3.rf.i386
        libXi.so.6 is needed by xdialog-2.1.1-1.1.fc3.rf.i386
        libc.so.6 is needed by xdialog-2.1.1-1.1.fc3.rf.i386
        libc.so.6(GLIBC_2.0) is needed by xdialog-2.1.1-1.1.fc3.rf.i386
        libc.so.6(GLIBC_2.1) is needed by xdialog-2.1.1-1.1.fc3.rf.i386
        libdl.so.2 is needed by xdialog-2.1.1-1.1.fc3.rf.i386
        libgdk-1.2.so.0 is needed by xdialog-2.1.1-1.1.fc3.rf.i386
        libglib-1.2.so.0 is needed by xdialog-2.1.1-1.1.fc3.rf.i386
        libgmodule-1.2.so.0 is needed by xdialog-2.1.1-1.1.fc3.rf.i386
        libgtk-1.2.so.0 is needed by xdialog-2.1.1-1.1.fc3.rf.i386
        libm.so.6 is needed by xdialog-2.1.1-1.1.fc3.rf.i386

[root@localhost rpm]# pwd
/var/lib/rpm
[root@localhost rpm]# ls
Basenames     Group       Providename     Requireversion  __db.001
Conflictname  Installtid  Provideversion  Sha1header      __db.002
Dirnames      Name        Pubkeys         Sigmd5          __db.003
Filemd5s      Packages    Requirename     Triggername

[root@localhost tcheun]# rpm --test --dbpath /mnt/hdc7/var/lib/rpm -Uvh /home/tcheun/acroread-5.0.10-1.1.fc3.rf.i386.rpm
°æ°í: /home/tcheun/acroread-5.0.10-1.1.fc3.rf.i386.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6
¿À·ù: Failed dependencies:
        libXp.so.6 is needed by acroread-5.0.10-1.1.fc3.rf.i386

[root@localhost tcheun]# rpm --test --dbpath /mnt/hdc7/var/lib/rpm -Uvh /home/tcheun/xdialog-2.1.1-1.1.fc3.rf.i386.rpm
°æ°í: /home/tcheun/xdialog-2.1.1-1.1.fc3.rf.i386.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6
Áغñ Áß...               ########################################### [100%]



unionfs

µðÀÚÀÎ ÀÚü°¡ ´Þ¶óÁ®¾ß ÇÒ °Í °°´Ù. ºÎ¿©ÀÇ °æ¿ì root ¿Í ÀϹÝÀ¯ÀúÀÇ ±¸ºÐÀÌ ÀÖÀ¸¹Ç·Î, klik ³ª zero install À» »ç¿ëÇÒ ÇÊ¿ä°¡ ¾øÀ» °Í °°´Ù. ¿ÀÈ÷·Á java ¸¦ ÀÌ¿ëÇÏ´Â °ÍÀÌ ³ºÁö ¾ÊÀ»±î? java °¡ ÇÒ ¼ö ¾ø´Â ÀÏÀÌ ¾î¶² °ÍµéÀΰ¡?

internet »çÀÌÆ®


ÀÎÅÍ³Ý »çÀÌÆ®¿¡¼­ ´Ù¿î·ÎµåÇÏ°í ¼³Ä¡Ç϶ó´Â ÇÁ·Î±×·¥µé ¾î¶»°Ô ÇÒ °ÍÀΰ¡?


firefox

  • firefox ¿¡ »õ·Î¿î ÇÁ·ÎÅäÄÝÀ» Ãß°¡ÇÑ´Ù. (klik)
  • klik °¡ ÇÒ ÀÏ
    • klik://packagename ¿¡¼­ packagename À» run À̶ó´Â º¯¼ö¿¡ ÇÒ´çÇÑ´Ù.
    • À¥»çÀÌÆ®¿¡ ¿¬°áÇÏ¿© run.php ¸¦ ¼öÇàÇÑ´Ù.
    • run.php ¿¡ ÀÇÇØ µð½ºÇ÷¹À̵Ǵ ³»¿ëÀ» ¹Þ´Â´Ù.
    • ³»¿ë¿¡ µû¶ó sh À» ¼öÇàÇÑ´Ù.

fedora-extras livna-stable base updates-released updates-testing development Fedora Linux 3 Fedora Linux Development Dag RPM Repository for Fedora Core 3 Livna 3rd party packages with questionable (in USA) licenses -- use at your own risk ATrpms for Fedora Core 3 newrpms.sunsite.dk

klik test ko3.7

knoppix@ttyp1knoppix$ wget klik.atekon.de/client/install -O -|sh 13:32:17 http://klik.atekon.de/client/install
=> `-'
Resolving klik.atekon.de... 134.169.172.48 Connecting to klik.atekon.de134.169.172.48:80... connected. HTTP request sent, awaiting response... 200 OK Length: 11,572 text/plain

100%====================================> 11,572 18.29K/s

13:32:19 (18.27 KB/s) - `-' saved 11572/11572

konqueror: ERROR: Error in BrowserExtension::actionSlotMap(), unknown action : searchProvider konqueror: ERROR: Error in BrowserExtension::actionSlotMap(), unknown action : searchProvider konqueror À» ¶ç¿ì°í klik ÆäÀÌÁö·Î À̵¿ÇÔ.

nvu klik nvu.cmk º¹»çÇÔ.

INSTALL µÇ¼­ ¼öÇàµÊ. ¹ÙÅÁÈ­¸é¿¡ nvu.cmg µÇ »ý¼ºµÊ.

# count this as a klik wget "http://klik.atekon.de/apt/countklik.php?package=lphoto2&client=1" -O - >/dev/null 2>&1 || echo "no klik counted" kfmclient copy 'http://klik.atekon.de/cmg/lphoto2.cmg' ~/Desktop/; ~/.zAppRun ~/Desktop/lphoto2.cmg && wget "http://klik.atekon.de/apt/countsuccess.php?package=lphoto2&client=1" -O - >/dev/null 2>&1

1 wget http://klik.atekon.de/cmg/lphoto2.cmg 2 ls 3 cp lphoto2.cmg Desktop/ 4 .zAppRun Desktop/lphoto2.cmg
¼öÇàÀÌ µÇÁö¸¸ ¿À·ù ¸Þ½ÃÁö°¡ ¸¹ÀÌ ³ª¿È. Á¦´ë·Î ¼öÇàµÇ´Â °Í °°Áö ¾ÊÀ½.
rm: cannot remove `/mnt/app/1//usr/share/doc/python2.3-qt3/changelog.gz': Read-only file system
rm: cannot remove `/mnt/app/1//usr/share/doc/python2.3-qt3/copyright': Read-only file system

knoppix@ttyp2klikscript$ sh skype.script warning: gids truncated to 8 bits. (This may be a security concern.)

ID
Password
Join
"Perl is executable line noise, Python is executable pseudo-code."


sponsored by andamiro
sponsored by cdnetworks
sponsored by HP

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2005-05-23 17:31:19
Processing time 0.0164 sec