Edubuntu : Own Customized Repository

I had a problem when I installed Edubuntu in a new unit, I have to download some additional packages which could not be found in bin-1 and bin-2 CDs ( like NTFS, Gstreamer, XMMS, K3b ). I kept doing this time to time. Can I make it simpler ? Should I spend my time on this repeating activity ?Can I just download the packages once ? These questions were kept asking by myself to myself.

Meanwhile, I have to start to socialize Linux, Edubuntu especially to my students. I do not want my students keep thinking that installing Linux is miserable. I want them able to install Edubuntu in the easiest way.

After sometime passed by, I found a link to make local repository here
I tried to do like what the link instructed and I succeeded in re-installing a unit. From this point, I tried to expand it by questioning myself : Can I make a repo CD consist of (almost) latest update and my own desired packages ?
Now I can answer it : yes I can……….Now I can make a CD consisted of some programs which I always(will) use and also (almost) latest updates.

Repo Making :

First; I have to install a package called dpkg-dev in my laptop, so go to Application – Accessories – Terminal and type sudo apt-get dpkg-dev. System will download 2 files which are dpkg-dev and patch in order to install dpkg-dev.

Second; collect the packages from bin-2 CD ( add-on CD ) which I wanted to be installed in other computers. Or in my case…packages that I wanted to be distributed. I took qcad, inkscape, tuxpaint, tuxtyping, screem, dia and put those packages in /home/oedha/Desktop/repo

Third; take the updates packages from the most up to date unit. To do this, go to /var/cache/apt/archives of this up to date unit. Copy all *.deb files to another place. Then, put all these deb to /home/oedha/Desktop/repo

Fourth; download and get the packages of some additional programs and also put these to /home/oedha/Desktop/repo. Now this repo folder consists of 248 deb files (NTFS, Gstreamer, XMMS, K3b, dpkg-dev, patch, ndiswrapper, compiz, kiba-dock, qcad, inkscape, tuxpaint, tuxtyping, screem, dia, Amaya, ktoon, synfig, ssh, last update was Dec 20, 2007)

Fifth ( make the Packages.gz ) :

  1. go to Application – Accessories – Terminal
  2. type : cd /home/oedha/Desktop
  3. type : sudo dpkg-scanpackages repo /dev/null | gzip -9c > repo/Packages.gz
  4. wait until it’s finished and it will report me : Wrote 248 entries to output Packages file.
  5. Now, I can find a file named Packages.gz in repo folder ( total = 249 now )

    Sixth; now we can burn this folder into a CD. I named this CD as “Add-Ons”. I also put some additional folders on this CD which were AVG for Linux + updates, Windows installer ( gimp, amaya, openoffice, inkscape, tuxpaint ), flashplayer, and direction files.

    ( This repo folder also can be shared wihout using CD ; shared folder, flashdisk )

    Repo Using ( in other units ) :

    1. Install a fresh Edubuntu or can be a unit which not up to date or can be a unit which will install a program which can be found in the Add-Ons CD
    2. Insert Add-Ons CD into the CD tray
    3. go to System – Administration – Software Sources
    4. Click on Third Party Software tab then click add CD-ROM button
    5. Click OK button then type the CD name : Add-Ons
    6. Click OK then click Close ( see picture below )
    7. Go to Ubuntu software tab, Make sure that there’s no box been checked and then close it. You will ask to reload the package, click reload button
    8. go to System – Administration – Update manager
    9. click on install update button
    10. wait until it’s finished and then close it ( now it’s updated )
    11. go to Applications – Add/Remove
    12. search : ntfs show : all available applications
    13. click apply changes ; wait until it’s finished, then click close button
    14. you have installed NTFS configuration Tool
    15. do step 12 and 13 for the next program

    For you who did not use CD, you can do below steps

    1. copy repo folder from network share or flashdisk to Desktop
    2. go to System – Administration – Software Sources
    3. Click on Third Party Software tab then click add button
    4. type : deb file:///home/oedha/Desktop repo/
    5. Click OK then click Close
    6. Continue with updating the system and install programs

    Hooray…..now my plan is ready to be implemented. I asked my students to prepare 3 blank CDs if they want to install Edubuntu; one for Edubuntu-live, one for Gparted and the third is “Add-Ons”. Previously I asked them to prepare 4 to 5 CDs. Now they just prepare less CDs, easy installation, additional programs and do not have to be online at home.

    Finally, I can save bandwidth ( I also set proxy cache in the Router server up to 20GB to prevent repeated download from clients ), fastest process and I can enjoy in installing Edubuntu !!

    I hope this article can help you…………….

    Regards;
    ~E~

    Why don’t we remote it ?

    Sometimes we can not physically touch a server or a workstation. But, it does not mean that we have to wait until we have a chance/time to touch it. Why don’t we remote it ?
    To remote a unit, we have to install ssh first. Before using Gutsy Gibbon, i found out that i don’t need to install ssh since it was installed by default. But, when i used Gutsy, i met problem i can not remote a unit, so, i have to install ssh after GG installation

    How to install ssh ?

    • Go to System – Administration – Synaptic
    • search for ssh
    • check on ssh then click apply button

    or

    • go to Applications – Accessories – Terminal
    • type : sudo apt-get install ssh

    I like to remote a unit using PuTTY or Remote Desktop (vncviewer)

    PuTTY is a free implementation of Telnet and SSH for Win32 and Unix platforms, along with an xterm terminal emulator. It is written and maintained primarily by Simon Tatham.

    For more info –> go to PuTTY site and wikipedia
    To download it –> http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
    For Edubuntu –> sudo apt-get install putty

    To use PuTTY : go to Applications – Internet – PuTTY SSH Client, enter the IP address of the machine that we want to remote. You will be asked for the username and password for that machine.


    Remote Desktop; this way can be done from Terminal, before doing this, we have to set the remote desktop setting on the target unit(s).

    For example: i want to remote 192.168.100.100 from my laptop, so first i will go to 192.168.100.100 unit to do these;

    • go to System – Preferences – Remote Desktop
    • check on the sharing and security options base on my need
    • click close button

    Back to my laptop;

    • go to Applications – Accessories – Terminal
    • type : vncviewer 192.168.100.100:0 or vncviewer tester:0 (unit name)

    From the above picture, i can view and control the target desktop. ( password required )

    Happy Remote !!
    ~E~

    Edubuntu package installation

    *.deb package installation
    These files are Debian packages. The package files associated with Edubuntu. You will need administrative privileges to install a .deb file.

    To install a *.deb :
    – open the package location; double-click on it. or
    – from Terminal; type : sudo dpkg -i package_name.debTo uninstall a *.deb :
    – open synaptic; deselect it then click apply button. or
    – from Terminal; type : sudo dpkg -r package_name

    *.rpm package installation
    Another type of package files is Red Hat Package Manager files which have the .rpm suffix. It is not recommended to install these on an Ubuntu system. However, if absolutely necessary, an .rpm file can be converted to a .deb package using alien

    To convert *.rpm to *.deb

    1. Install the alien package; open synaptic, search for alien and select it, click apply button. or from Terminal; type sudo apt-get install alien
    2. In a Terminal, type : sudo alien package_file.rpm
    3. The converted package can be used like normal .deb

    Tarballs installation ( .tar, .tgz, .tar.gz or tar.bz2 )
    If there is no native Ubuntu package available in any of the Ubuntu repositories, you can use the command line to install or uninstall the tarball file. Tarballs often contain the source code of the program, and need to be compiled in order to be used. Compiling programs requires some packages that are not installed by default. You can install these all at once by installing the build-essential package.

    1. Extract the tarball; double click on it then click extract. or from Terminal; type : tar xfvz tarball_name
    2. Then open the extracted, find the the instructions that come with the package. The instruction can be found in README or INSTALL file. Follow that instruction to compile and install a tarball file.

      *.run installation
      Sometimes you may need to install software which has been packaged as a .run file. These files contain the software and a small program to install the software.

      1. Find the *.run file from file browser
      2. Right-click the file and select Properties
      3. Cclick on permission tab, check on Allow executing file as program
      4. Double-click the .run file. A dialog box will appear
      5. Click Run in Terminal button to run it.
      6. A Terminal window will open. Follow any instructions on-screen to install the program

      then click Close button

        To install a program :
        We can do it package per package, from Add/Remove, from Synaptic or from Terminal

        For package to package;
        make sure that all packages were met the dependencies of that program, then install the package one by one based on the dependencies sequence.

        For Add/Remove;

        1. go to Applications – Add/Remove, type the program name and show : all available applications
        2. check the desired program
        3. click apply button

          For Synaptic;

          1. go to System – Administration – Synaptic packages manager
          2. click on search and type down the program_name
          3. check the desired program
          4. click apply button

            For Terminal; just type : sudo apt-get install program_name

            ~E~

            LINUX: Membangun Kreativitas Global !

            Makhluk apakah itu ”Linux”? Mengapa kata itu tiba-tiba menyeruak tiba-tiba dan mencoba menjadi ”idol” baru di dunia sistim operasi. Yah, sudah saatnya kita mengenalnya lebih dalam. “Linux adalah sebuah sistem operasi menyerupai UNIX yang dibangun oleh Linus Torvalds beserta para programmers seantero dunia. Linux didistribusikan secara bebas, kode pembentuknya pun terbuka untuk dimodifikasi oleh siapa pun yang berkeinginan untuk bereksperimen dengannya. Linux biasa dipergunakan sebagai server-server jaringan. (http://www.microsoft.com/technet/prodtechnol/Visio/visio2002/plan/glossary.mspx)

            Dari pernyataan diatas dapat diambil beberapa kelompok kata kunci yaitu; Linus Torvalds, UNIX, programmers seantero dunia, distribusi bebas, bebas dimodifikasi, server jaringan. Apa yang dapat kita gali dengan kata-kata kunci tersebut ? Untuk Linus Torvalds and UNIX mungkin tidak perlu dibahas karena itu adalah sesuatu yang sudah baku dan bisa dicari di perpustakaan baik cetak maupun digital. Sehingga, kita akan coba bergerak dengan kata-kata setelahnya.

            Kita mulai dengan “programmer seantero dunia”; Jika kita akan memproduksi sesuatu secara massal, tentu kita akan memperhitungkan dimana pabriknya, berapa karyawan yang akan direkrut lengkap dengan kisaran gaji, tunjangan dan lain lain. Bagaimana dengan Linux ? Berawal dari keisengan Linus mengotak-atik UNIX menjadi format baru, yang kemudian dilempar ke pasaran dengan gratis bagi siapa saja untuk menjajal hasil karyanya. Luar biasa responnya! Setelah keisengan ini, semua seolah mengalir dengan sendirinya. Kreativitas berkembang dengan dashyat. Linux kemudian dapat dibangun oleh siapa saja, baik perorangan maupun bukan. Dan seperti bola salju, lalu dilempar ke publik kembali, juga secara gratis. Lemparan tersebut disambut banyak orang untuk semakin membesar dan membesar.

            Apakah Linux tanpa cacat? Tentu. Sebagaimana layaknya sebuah barang baru, tentu memiliki cacat. Akan tetapi karena gratis, publik pemakai Linux juga merasa sungkan untuk melakukan class-action terhadap Linux. Lagi pula perasaan memiliki terhadap software ini pun semakin menguat. Lalu apa yang publik biasa dilakukan ? Alih-alih menggerutu tanpa tahu harus menggerutui siapa, maka si pemakai biasanya melakukan perbaikan terhadap cacat yang dimiliki Linux. Hingga saat ini, fenomena tersebut terjadi terus menerus dan berkesinambungan. Alhasil, cacat Linux malah mengakibatkan munculnya komunitas-komunitas global pencinta Linux yang akrab melalui karya tanpa perlu tahu rupa.

            Distribusi Bebas

            Alasan apa lagi yang perlu anda ketahui tentang Linux? Sebagai operating system gratis, Linux dapat kita dapatkan hanya dengan sedikit usaha. Kita pun tidak perlu was-was akan ancaman razia oleh Business Software Alliance (BSA) dan pihak yang berwajib yang tengah marak dilakukan belakangan ini. Jika kita memiliki sambungan internet yang memadai, dengan beberapa kali klik, Linux apapun bisa didapat dengan mudah. Tetapi bila internet tidak tersedia, anda tinggal membeli kepingan distribusi Linux hanya seharga sepuluh ribu rupiah. Jadi istilah bebas disini adalah siapapun boleh mendistribusikannya kepada siapapun. Jika kita akan mendesain sistem berbasis komputer atau investasi komputerisasi, kita bisa menghemat pengeluaran sekaligus terhindar dari kejaran razia software bajakan. Pertanyaannya, mengapa tidak dimanfaatkan oleh dunia pendidikan kita ?

            Linux bebas untuk dimodifikasi oleh siapa saja. Sebagai contoh, ada dua orang dengan spesifikasi komputer sama dan memakai distribusi Linux yang sama, tetapi mereka memiliki tingkat kreatifitas dan daya jelajah yang berbeda pula, maka apa yang akan terjadi? Satu bulan selepas kita tinggalkan mereka, apa yang terjadi ? Mereka seolah-olah memiliki dua Linux yang dilihat dari segala sisi manapun: berbeda. Menantang bukan ?

            Server Jaringan

            Tanpa kita sadari Linux telah cukup lama hadir, yakni sejak tahun 1990 hingga sekarang. Telah banyak pihak yang memanfaatkan Linux sebagai server mereka. Apache server yang kita kenal sebagai server pangatur web, Postfix, Qmail server sebagai Mail server, iptables, squid, Dansguardian serta banyak lagi yang lainnya. Itu adalah sebagian kecil contoh layanan yang terdapat di Linux yang merupakan aplikasi server yang mumpuni. Sebagai contoh, penulis menggunakan distribusi Clarkconnect yang dirancang khusus untuk keperluan server gateway. Clarkconnect mempunyai multifungsi seperti; web server, mail server, content filtering, firewall, intrusion detection and prevention, bandwidth management, file server, ftp server, vpn server dan port management. Semua distribusi Linux bisa dikonfigurasikan seperti ini dengan menambah paket-paket installasi untuk masing-masing aplikasi. Sebagai server, Linux juga terkenal dengan sebutan; robust (tahan banting).

            Berdasarkan pengalaman penulis pribadi, Linux menstimulasi kreatifitas dan menggedor pola pikir yang selama ini konvensional. Dengan Linux, kita bisa menjalin pertemanan melalui komunikasi global yang tercipta seiring dengan geliat Linux itu sendiri. Pemakai tidak terlalu dipusingkan dengan virus bahkan tak terlalu memerdulikannya. Linux menstimulasi pemakai dengan sendirinya mencoba belajar menghargai hak atas kekayaan intelektual (HAKI). Linux membuat pemakai tidak lagi berurusan dengan lisensi penggunaan software. Linux mengajari kita untuk tidak pelit. Di dunia pendidikan, Linux dapat menjadi bahan pengajaran yang sangat menarik untuk dikupas di subjek teknologi informasi dan komunikasi.

            Berbicara sedikit mengenai virus komputer Linux tidaklah imun terhadap terhadap virus. Berdasarkan pengalaman penulis, Linux yang dilepas di pasaran secara bebas, memberi ruang untuk pemakai berkreasi, namun juga dalam konteks mengisenginya. Ketika keisengan tersebut membuahkan hasil (virus), biasanya orang-orang tersebut melaporkan kepada si pembuat untuk diperbaiki. Anehnya, seringkali si pencipta virus yang iseng ini justru membantu memperbaikinya. Dan jika tidak, ada pihak ketiga lain yang akan memperbaiki cela (cacat) itu secara sukarela dan hasilnya dipublikasikan kembali secara luas dan cuma-cuma. Walhasil, kita hampir tidak pernah (mudah-mudahan jangan pernah) terkena virus. Karena banyaknya orang yang berkecimpung didalam dunia Linux secara sukarela untuk memodifikasi dan membangunnya. Banyak ditemukan “proof of concept” akan tetapi sesegera itu pula seseorang akan melakukan perbaikan atau penambalan.

            Linux memberikan pelajaran yang berarti bagi kita semua. Linux memberikan ruang seluas-luasnya untuk membangun dan mengembangkan kreativitas dan pertemanan skala global. Dapatkah kita meniru pergerakan Linux untuk diaplikasikan dalam kehidupan kita sehari-hari ? Terlebih-lebih dalam dunia pendidikan, yang memupuk bakat-bakat kreator muda. Semoga.

            ~E~
            oedhapos@gmail.com

            Set the compiz and kiba-dock up…

            We can not say no when Microsoft Windows Vista released, it was something. Vista offers animated desktop which were able to run smoothly and well since Vista required higher resources such as processor, RAM, Harddisk and display card.
            It seemed that Linuxers do not want to be left behind in animating the desktop. Even more that that, Linux can also looked like Mac OS X Leopard (read on mac4lin_make_linux_look_like_a_mac).

            To make my desktop looks like Vista, I used compiz and kiba-dock, and i would like to share how did i do that.

            1. go to Applications – Add/Remove
            2. search : compiz show : all available applications
            3. check on Advanced Desktop Effects Settings
            4. click apply and wait until it’s finished and then close it
            5. go to System – Preferences – Advanced Desktop Effects Settings — to set the compiz
            6. go to Application – Accesories – Terminal
            7. type : sudo gedit /etc/apt/source.list
            8. go to the end of file and add these two lines
            9. deb http://download.tuxfamily.org/3v1deb feisty eyecandy
            10. deb-src http://download.tuxfamily.org/3v1deb feisty eyecandy
            11. save it and close it ( file – save and file – quit )
            12. type : wget http://download.tuxfamily.org/3v1deb/DD800CD9.gpg -O- | sudo apt-key add –
            13. sudo apt-get update
            14. sudo apt-get install kiba-dock
            15. sudo apt-get install kiba-plugins
            16. sudo apt-get install kiba-dock-dev
            17. go to Applications – Accessories – kiba-setting to set kiba-dock
            18. go to Applications – Accessories – kiba-dock to activate it

            If you want to load compiz and kiba-dock during start-up, then you have to put them in the session

            • go to System – Preferences – Sessions
            • click Add button
            • name : compiz (adjustable)
            • command : compiz
            • comment : (up to you)
            • click OK button
            • click Add button again
            • name : kiba-dock (adjustable)
            • command : kiba-dock
            • comment : (up to you)
            • Click OK button
            • you will see both of them in the session and checked

            Addition :

            If you do not want to use kiba-dock, you can use Avant Window Navigator, for getting AWN, you should go to http://download.tuxfamily.org/syzygy42/pool/gutsy/avant-window-navigator/ then, you have to download and execute below files sequentially;

            • libawn-bzr
            • phyton-libawn-bzr
            • awn-core-applets-bzr
            • avant-window-navigator-bzr

            After that go to System – Preferences – Awn Manager to set it up.

            Happy docking !!

            ~E~