// API callback
related_results_labels_thumbs({"version":"1.0","encoding":"UTF-8","feed":{"xmlns":"http://www.w3.org/2005/Atom","xmlns$openSearch":"http://a9.com/-/spec/opensearchrss/1.0/","xmlns$blogger":"http://schemas.google.com/blogger/2008","xmlns$georss":"http://www.georss.org/georss","xmlns$gd":"http://schemas.google.com/g/2005","xmlns$thr":"http://purl.org/syndication/thread/1.0","id":{"$t":"tag:blogger.com,1999:blog-3716092791552935940"},"updated":{"$t":"2020-02-29T08:21:28.162+07:00"},"category":[{"term":"Linux"},{"term":"Tutorial"}],"title":{"type":"text","$t":"All of Your Life is Here"},"subtitle":{"type":"html","$t":""},"link":[{"rel":"http://schemas.google.com/g/2005#feed","type":"application/atom+xml","href":"http:\/\/www.fanyagriansyah.co.vu\/feeds\/posts\/default"},{"rel":"self","type":"application/atom+xml","href":"http:\/\/www.blogger.com\/feeds\/3716092791552935940\/posts\/default\/-\/Tutorial?alt=json-in-script\u0026max-results=6"},{"rel":"alternate","type":"text/html","href":"http:\/\/www.fanyagriansyah.co.vu\/search\/label\/Tutorial"},{"rel":"hub","href":"http://pubsubhubbub.appspot.com/"},{"rel":"next","type":"application/atom+xml","href":"http:\/\/www.blogger.com\/feeds\/3716092791552935940\/posts\/default\/-\/Tutorial\/-\/Tutorial?alt=json-in-script\u0026start-index=7\u0026max-results=6"}],"author":[{"name":{"$t":"Unknown"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"16","height":"16","src":"https:\/\/img1.blogblog.com\/img\/b16-rounded.gif"}}],"generator":{"version":"7.00","uri":"http://www.blogger.com","$t":"Blogger"},"openSearch$totalResults":{"$t":"7"},"openSearch$startIndex":{"$t":"1"},"openSearch$itemsPerPage":{"$t":"6"},"entry":[{"id":{"$t":"tag:blogger.com,1999:blog-3716092791552935940.post-6776753571588040011"},"published":{"$t":"2014-11-25T23:54:00.002+07:00"},"updated":{"$t":"2014-11-25T23:54:43.609+07:00"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"Linux"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Tutorial"}],"title":{"type":"text","$t":"[TUTORIAL] Thread Linux Menggunakan Bahasa C"},"content":{"type":"html","$t":"\u003Cspan style=\"background-color: white; color: #292929; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.2000007629395px;\"\u003EHai =))\u003C\/span\u003E\u003Cbr \/\u003E\u003Cbr style=\"background-color: white; color: #292929; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.2000007629395px;\" \/\u003E\u003Cspan style=\"background-color: white; color: #292929; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.2000007629395px;\"\u003EKali ini, saya akan menjelaskan tentang thread dalam linux menggunakan bahasa C.\u003C\/span\u003E\u003Cbr \/\u003E\u003Cbr \/\u003E\u003Cspan style=\"background-color: white; color: #292929; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.2000007629395px;\"\u003EJadi Thread itu sendiri merupakan metode untuk menjalankan banyak proses secara bersamaan. Dalam pemrograman C biasa, proses berjalan satu persatu sampai proses yang dalam antriannya selesai dikerjakan barulah menyelesaikan perintah selanjutnya.\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"background-color: white; color: #292929; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.2000007629395px;\"\u003EDalam metode thread, kita juga dapat menggabungkan proses yang sedang berjalan. Menjeda proses yang sedang berjalan bersamaan agar tidak terjadi data acak seperti saat menjalankan fungsi cetak.\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"background-color: white; color: #292929; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.2000007629395px;\"\u003E\u003Cbr \/\u003E\u003C\/span\u003E\u003Cspan style=\"background-color: white; color: #292929; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.2000007629395px;\"\u003E\u003Cb\u003ESimple Thread\u003C\/b\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Ca name='more'\u003E\u003C\/a\u003E\u003Cbr \/\u003E\u003Cblockquote class=\"tr_bq\"\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E#include \u0026lt;pthread.h\u0026gt;\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E#include \u0026lt;stdio.h\u0026gt;\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u003Cbr \/\u003E\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003Evoid *cetak1(){\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp; int i;\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp; \u003C\/span\u003Efor(i=0;i\u0026lt;10;i++){\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp; \u003C\/span\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp; printf(\"Thread1\\n\");\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp; \u003C\/span\u003E} \u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E}\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u003Cbr \/\u003E\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003Evoid *cetak2(){\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp; int i;\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp; \u003C\/span\u003Efor(i=0;i\u0026lt;15;i++){\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp; \u003C\/span\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp; printf(\"Thread2\\n\");\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp; \u003C\/span\u003E} \u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E}\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003Eint main(){\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp; pthread_t t1,t2;\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp; pthread_create(\u0026amp;t1,NULL,\u0026amp;cetak1,NULL);\u003C\/span\u003E\u003C\/span\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp; pthread_create(\u0026amp;t2,NULL,\u0026amp;cetak2,NULL);\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E}\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003C\/blockquote\u003E\u003Cspan style=\"background-color: white; color: #292929; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.2000007629395px;\"\u003E\u003Cbr \/\u003E\u003C\/span\u003E\u003Cspan style=\"background-color: white; color: #292929; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.2000007629395px;\"\u003EProses diatas akan menjalankan fungsi cetak 1 dan cetak 2 dengan berjalan bersamaan hanya saja beda jeda waktu sepersekian detik yang menyebabkan proses tidak akan berjalan konstan setiap prosesnya.\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"background-color: white; color: #292929; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.2000007629395px;\"\u003E\u003Cbr \/\u003E\u003C\/span\u003E\u003Cspan style=\"background-color: white; color: #292929; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.2000007629395px;\"\u003E\u003Cb\u003EMenggabungkan Thread\u003C\/b\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cblockquote class=\"tr_bq\"\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E#include \u0026lt;pthread.h\u0026gt;\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E#include \u0026lt;stdio.h\u0026gt;\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u003Cbr \/\u003E\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003Evoid *cetak(){\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp; int i;\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp; \u003C\/span\u003Efor(i=0;i\u0026lt;10;i++){\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp; \u003C\/span\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp; printf(\"Thread1\\n\");\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp; \u003C\/span\u003E} \u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E}\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u003Cbr \/\u003E\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003Evoid *play(){\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp; system(\"play audio.wav\");\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E}\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003Eint main(){\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp; pthread_t t1,t2;\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp; pthread_create(\u0026amp;t1,NULL,\u0026amp;cetak,NULL);\u003C\/span\u003E\u003C\/span\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp; pthread_create(\u0026amp;t2,NULL,\u0026amp;play,NULL);\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; \u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; \u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003Epthread_join(t1,NULL);\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; pthread_join(t2,NULL);\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E}\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003C\/blockquote\u003E\u003Cspan style=\"font-size: x-small;\"\u003EJadi source code diatas menjelaskan bahwa semua thread akan digabungkan dengan thread yang lain sehingga thread tersebut akan selesai, ketika thread yang lain selesai, dengan kata lain menunggu thread yang lain menyelesaikan tugasnya.\u003C\/span\u003E\u003Cbr \/\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cb\u003EMenunda Kerja Thread (Proses Thread)\u003C\/b\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cbr \/\u003EAda kalanya kita perlu menunda suatu proses yang berjalan bersamaan.\u003Cbr \/\u003ECaranya dengan menambahkan fungsi lock dan unlock pada pthread mutex..\u003Cbr \/\u003E\u003Cblockquote class=\"tr_bq\"\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\/\/variable global\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003Epthread_mutex_t lock;\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cbr \/\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003Evoid fungsi(){\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp; pthread_mutex_lock(\u0026amp;lock);\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cbr \/\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp; \/\/ place your code here\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cbr \/\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp; pthread_mutex_unlock(\u0026amp;lock);\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E}\u003C\/span\u003E\u003C\/span\u003E\u003C\/blockquote\u003E"},"link":[{"rel":"replies","type":"application/atom+xml","href":"http:\/\/www.fanyagriansyah.co.vu\/feeds\/6776753571588040011\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"http:\/\/www.fanyagriansyah.co.vu\/2014\/11\/tutorial-thread-linux-menggunakan.html#comment-form","title":"1 Comments"},{"rel":"edit","type":"application/atom+xml","href":"http:\/\/www.blogger.com\/feeds\/3716092791552935940\/posts\/default\/6776753571588040011"},{"rel":"self","type":"application/atom+xml","href":"http:\/\/www.blogger.com\/feeds\/3716092791552935940\/posts\/default\/6776753571588040011"},{"rel":"alternate","type":"text/html","href":"http:\/\/www.fanyagriansyah.co.vu\/2014\/11\/tutorial-thread-linux-menggunakan.html","title":"[TUTORIAL] Thread Linux Menggunakan Bahasa C"}],"author":[{"name":{"$t":"Unknown"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"16","height":"16","src":"https:\/\/img1.blogblog.com\/img\/b16-rounded.gif"}}],"thr$total":{"$t":"1"}},{"id":{"$t":"tag:blogger.com,1999:blog-3716092791552935940.post-5713667990840896627"},"published":{"$t":"2014-11-25T23:25:00.003+07:00"},"updated":{"$t":"2014-11-25T23:55:11.964+07:00"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"Linux"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Tutorial"}],"title":{"type":"text","$t":"[TUTORIAL] Daemon Bahasa C pada Linux"},"content":{"type":"html","$t":"\u003Cspan style=\"background-color: white; color: #292929; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.2000007629395px;\"\u003EHai =))\u003C\/span\u003E\u003Cbr \/\u003E\u003Cbr style=\"background-color: white; color: #292929; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.2000007629395px;\" \/\u003E\u003Cspan style=\"background-color: white; color: #292929; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.2000007629395px;\"\u003EKali ini, saya akan menjelaskan tentang daemon dalam linux menggunakan bahasa C.\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"background-color: white; color: #292929; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.2000007629395px;\"\u003E\u003Cbr \/\u003E\u003C\/span\u003E\u003Cspan style=\"background-color: white; color: #292929; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.2000007629395px;\"\u003EPreprocessor Directive yang diperlukan adalah\u003C\/span\u003E\u003Cbr \/\u003E\u003Cbr \/\u003E\u003Cblockquote class=\"tr_bq\"\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; font-size: 13px; line-height: 18.2000007629395px;\"\u003E#include \u0026lt;unistd.h\u0026gt;\u003Cbr \/\u003E#include \u0026lt;sys\/types.h\u0026gt;\u003Cbr \/\u003E#include \u0026lt;sys\/stat.h\u0026gt;\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cbr \/\u003E\u003C\/span\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; font-size: 13px; line-height: 18.2000007629395px;\"\u003Eint main(){ \u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; font-size: 13px; line-height: 18.2000007629395px;\"\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp; pid_t pid,sid,ppid;\u003Cbr \/\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp; pid=fork();\u003Cbr \/\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp; if(pid \u0026gt; 0){\u003Cbr \/\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp; \u0026nbsp;\u0026nbsp;\u0026nbsp; exit(EXIT_SUCCESS);\u003Cbr \/\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp; }\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Ca name='more'\u003E\u003C\/a\u003E\u003Cspan style=\"background-color: white; color: #292929; font-size: 13px; line-height: 18.2000007629395px;\"\u003E\u003Cbr \/\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp; umask(0);\u003Cbr \/\u003E\u0026nbsp;\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; font-size: 13px; line-height: 18.2000007629395px;\"\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp; \/\/ Place your code here\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; font-size: 13px; line-height: 18.2000007629395px;\"\u003E\u003Cbr \/\u003E \u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; font-size: 13px; line-height: 18.2000007629395px;\"\u003E\u0026nbsp;\u0026nbsp;\u0026nbsp; return 0;\u003Cbr \/\u003E \u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;,Courier,monospace;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; font-size: 13px; line-height: 18.2000007629395px;\"\u003E}\u003C\/span\u003E\u003C\/span\u003E\u003C\/blockquote\u003E\u003Cspan style=\"background-color: white; color: #292929; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.2000007629395px;\"\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-size: x-small;\"\u003EJadi dengan adanya daemon, program (file .c) kita akan terus berjalan pada proses.\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"background-color: white; color: #292929; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.2000007629395px;\"\u003E\u003Cbr \/\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: inherit;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003ETerima kasih, semoga bermanfaat..\u003C\/span\u003E\u003Cbr style=\"background-color: white; color: #292929; line-height: 18.2px;\" \/\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003ESampai ketemu pertemuan mendatang =))\u003C\/span\u003E\u003Cbr style=\"background-color: white; color: #292929; line-height: 18.2px;\" \/\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2px;\"\u003E#fantasticschematics\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E"},"link":[{"rel":"replies","type":"application/atom+xml","href":"http:\/\/www.fanyagriansyah.co.vu\/feeds\/5713667990840896627\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"http:\/\/www.fanyagriansyah.co.vu\/2014\/11\/tutorial-daemon-bahasa-c-pada-linux.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"http:\/\/www.blogger.com\/feeds\/3716092791552935940\/posts\/default\/5713667990840896627"},{"rel":"self","type":"application/atom+xml","href":"http:\/\/www.blogger.com\/feeds\/3716092791552935940\/posts\/default\/5713667990840896627"},{"rel":"alternate","type":"text/html","href":"http:\/\/www.fanyagriansyah.co.vu\/2014\/11\/tutorial-daemon-bahasa-c-pada-linux.html","title":"[TUTORIAL] Daemon Bahasa C pada Linux"}],"author":[{"name":{"$t":"Unknown"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"16","height":"16","src":"https:\/\/img1.blogblog.com\/img\/b16-rounded.gif"}}],"thr$total":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-3716092791552935940.post-1822448081952849132"},"published":{"$t":"2014-11-09T16:49:00.001+07:00"},"updated":{"$t":"2014-11-09T16:52:37.415+07:00"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"Linux"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Tutorial"}],"title":{"type":"text","$t":"[TUTORIAL] Shared Memory dalam Linux Bahasa C"},"content":{"type":"html","$t":"\u003Cspan style=\"background-color: white; color: #292929; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.2000007629395px;\"\u003EHai =))\u003C\/span\u003E\u003Cbr \/\u003E\u003Cbr style=\"background-color: white; color: #292929; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.2000007629395px;\" \/\u003E\u003Cspan style=\"background-color: white; color: #292929; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.2000007629395px;\"\u003EKali ini, saya akan menjelaskan tentang shared memory dalam linux menggunakan bahasa C.\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"background-color: white; color: #292929; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.2000007629395px;\"\u003EPreprocessor Directives yang diperlukan adalah\u003C\/span\u003E\u003Cbr \/\u003E\u003Cblockquote class=\"tr_bq\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"color: #292929; font-family: Courier New, Courier, monospace;\"\u003E\u003Cspan style=\"line-height: 18.2000007629395px;\"\u003E#include \u0026lt;sys\/types.h\u0026gt;\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003C\/blockquote\u003E\u003Cblockquote class=\"tr_bq\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"color: #292929; font-family: Courier New, Courier, monospace;\"\u003E\u003Cspan style=\"line-height: 18.2000007629395px;\"\u003E#include \u0026lt;sys\/ipc.h\u0026gt;\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u0026nbsp;\u003C\/blockquote\u003E\u003Cblockquote class=\"tr_bq\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"color: #292929; font-family: Courier New, Courier, monospace;\"\u003E\u003Cspan style=\"line-height: 18.2000007629395px;\"\u003E#include \u0026lt;sys\/shm.h\u0026gt;\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u0026nbsp;\u003C\/blockquote\u003E\u003Cblockquote class=\"tr_bq\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"color: #292929; font-family: Courier New, Courier, monospace;\"\u003E\u003Cspan style=\"line-height: 18.2000007629395px;\"\u003E#include \u0026lt;sys\/stat.h\u0026gt;\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u0026nbsp;\u003C\/blockquote\u003E\u003Cblockquote class=\"tr_bq\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"color: #292929; font-family: Courier New, Courier, monospace;\"\u003E\u003Cspan style=\"line-height: 18.2000007629395px;\"\u003E#include \u0026lt;unistd.h\u0026gt;\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Ca name='more'\u003E\u003C\/a\u003E\u003C\/blockquote\u003E\u003Cspan style=\"font-family: inherit;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2000007629395px;\"\u003EMisal, saya akan membagikan struct yg saya buat pada server kemudian akan bisa otomatis terbaca di client.\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cblockquote class=\"tr_bq\"\u003E\u003Cspan style=\"font-family: Courier New, Courier, monospace; font-size: x-small;\"\u003Estruct Memory{\u003Cbr \/\u003E\u0026nbsp; \u0026nbsp; int isi;\u003Cbr \/\u003E};\u003Cbr \/\u003Eint main{\u003Cbr \/\u003E\u0026nbsp; \u0026nbsp; key_t sharedKEY;\u003Cbr \/\u003E\u0026nbsp; \u0026nbsp; int sharedID;\u003Cbr \/\u003E\u0026nbsp; \u0026nbsp; struct Memory *data;\u003Cbr \/\u003E\u0026nbsp; \u0026nbsp; sharedKEY = ftok(\".\", 'x');\u003Cbr \/\u003E\u0026nbsp; \u0026nbsp; sharedID = shmget(sharedKEY,sizeof(struct Memory),IPC_CREAT | 0666);\u003Cbr \/\u003E\u0026nbsp; \u0026nbsp; if (sharedID \u0026lt; 0) {\u003Cbr \/\u003E\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; printf(\"*** shmget error (server) ***\\n\");\u003Cbr \/\u003E\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; exit(1);\u003Cbr \/\u003E\u0026nbsp; \u0026nbsp; }\u003Cbr \/\u003E\u0026nbsp; \u0026nbsp; data = (struct Memory *) shmat(sharedID, NULL, 0);\u003Cbr \/\u003E\u0026nbsp; \u0026nbsp; data.isi = 100;\u003Cbr \/\u003E}\u003C\/span\u003E\u003C\/blockquote\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2000007629395px;\"\u003E\u003Cspan style=\"font-family: inherit;\"\u003EKemudian client menuliskan program yg sama dengan server (tanpa \u003C\/span\u003E\u003Cspan style=\"font-family: Courier New, Courier, monospace; font-size: x-small;\"\u003Edata = ...\u003C\/span\u003E\u003Cspan style=\"font-family: inherit;\"\u003E ), maka \u003C\/span\u003E\u003Cspan style=\"font-family: Courier New, Courier, monospace; font-size: x-small;\"\u003Edata.isi\u003C\/span\u003E\u003Cspan style=\"font-family: inherit;\"\u003E pada client akan terisi 100.\u003C\/span\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: inherit;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2000007629395px;\"\u003E\u003Cbr \/\u003E\u003C\/span\u003E\u003C\/span\u003E \u003Cspan style=\"font-family: inherit;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2000007629395px;\"\u003ETerima kasih, semoga bermanfaat..\u003C\/span\u003E\u003Cbr style=\"background-color: white; color: #292929; line-height: 18.2000007629395px;\" \/\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2000007629395px;\"\u003ESampai ketemu pertemuan mendatang =))\u003C\/span\u003E\u003Cbr style=\"background-color: white; color: #292929; line-height: 18.2000007629395px;\" \/\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2000007629395px;\"\u003E#fantasticschematics\u0026nbsp;\u003C\/span\u003E\u003C\/span\u003E"},"link":[{"rel":"replies","type":"application/atom+xml","href":"http:\/\/www.fanyagriansyah.co.vu\/feeds\/1822448081952849132\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"http:\/\/www.fanyagriansyah.co.vu\/2014\/11\/tutorial-shared-memory-dalam-linux.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"http:\/\/www.blogger.com\/feeds\/3716092791552935940\/posts\/default\/1822448081952849132"},{"rel":"self","type":"application/atom+xml","href":"http:\/\/www.blogger.com\/feeds\/3716092791552935940\/posts\/default\/1822448081952849132"},{"rel":"alternate","type":"text/html","href":"http:\/\/www.fanyagriansyah.co.vu\/2014\/11\/tutorial-shared-memory-dalam-linux.html","title":"[TUTORIAL] Shared Memory dalam Linux Bahasa C"}],"author":[{"name":{"$t":"Unknown"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"16","height":"16","src":"https:\/\/img1.blogblog.com\/img\/b16-rounded.gif"}}],"thr$total":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-3716092791552935940.post-1246406027317050577"},"published":{"$t":"2014-11-09T16:16:00.003+07:00"},"updated":{"$t":"2014-11-09T16:52:26.099+07:00"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"Linux"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Tutorial"}],"title":{"type":"text","$t":"[TUTORIAL] Akses File dan Folder dalam Linux bahasa C"},"content":{"type":"html","$t":"Hai =))\u003Cbr \/\u003E\u003Cbr \/\u003EKali ini, saya akan menjelaskan, apa saja yg berhubungan dengan akses file dan folder.\u003Cbr \/\u003E\u003Cbr \/\u003E\u003Cb\u003E\u003Cu\u003EMengakses Folder\u003C\/u\u003E\u003C\/b\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: 'Courier New', Courier, monospace;\"\u003E\u003Cbr \/\u003E\u003C\/span\u003E\u003Cspan style=\"font-family: 'Courier New', Courier, monospace;\"\u003E\u0026nbsp; \u0026nbsp; \u0026nbsp;DIR *dir;\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: Courier New, Courier, monospace;\"\u003E\u0026nbsp; \u0026nbsp; \u0026nbsp;dir=opendir(\"home\/user\/Documents\/\");\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: Courier New, Courier, monospace;\"\u003E\u003Cbr \/\u003E\u003C\/span\u003E\u003Cb\u003E\u003Cu\u003E\u003Cspan style=\"font-family: inherit;\"\u003EMembaca Folder\u003C\/span\u003E\u003C\/u\u003E\u003C\/b\u003E\u003Cbr \/\u003E\u003Cbr \/\u003E\u003Ca name='more'\u003E\u003C\/a\u003E\u003Cb\u003E\u003Cu\u003E\u003Cspan style=\"font-family: inherit;\"\u003E\u003Cbr \/\u003E\u003C\/span\u003E\u003C\/u\u003E\u003C\/b\u003E\u003Cspan style=\"font-family: Courier New, Courier, monospace;\"\u003E\u0026nbsp; \u0026nbsp; \u0026nbsp;dirent *ent;\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: Courier New, Courier, monospace;\"\u003E\u0026nbsp; \u0026nbsp; \u0026nbsp;ent = readdir(dir);\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: Courier New, Courier, monospace;\"\u003E\u003Cbr \/\u003E\u003C\/span\u003E\u003Cb\u003E\u003Cu\u003EMenutup Folder\u003C\/u\u003E\u003C\/b\u003E\u003Cbr \/\u003E\u003Cb\u003E\u003Cu\u003E\u003Cbr \/\u003E\u003C\/u\u003E\u003C\/b\u003E\u003Cspan style=\"font-family: Courier New, Courier, monospace;\"\u003E\u0026nbsp; \u0026nbsp; \u0026nbsp;closedir(dir);\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: Courier New, Courier, monospace;\"\u003E\u003Cbr \/\u003E\u003C\/span\u003E\u003Cspan style=\"font-family: inherit;\"\u003E\u003Cb\u003E\u003Cu\u003EMendapatkan Isi dari folder\u003C\/u\u003E\u003C\/b\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: Courier New, Courier, monospace;\"\u003E\u003Cbr \/\u003E\u003C\/span\u003E\u003Cspan style=\"font-family: Courier New, Courier, monospace;\"\u003E\u0026nbsp; \u0026nbsp; \u0026nbsp;char nama[100];\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: Courier New, Courier, monospace;\"\u003E\u0026nbsp; \u0026nbsp; \u0026nbsp;strcpy(nama,ent-\u0026gt;d_name);\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: Courier New, Courier, monospace;\"\u003E\u003Cbr \/\u003E\u003C\/span\u003E\u003Cspan style=\"font-family: inherit;\"\u003E\u003Cb\u003E\u003Cu\u003EOpen File\u003C\/u\u003E\u003C\/b\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: inherit;\"\u003E\u003Cb\u003E\u003Cu\u003E\u003Cbr \/\u003E\u003C\/u\u003E\u003C\/b\u003E\u003C\/span\u003E\u003Cspan style=\"font-family: Courier New, Courier, monospace;\"\u003E\u0026nbsp; \u0026nbsp; \u0026nbsp;FILE *fin;\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: Courier New, Courier, monospace;\"\u003E\u0026nbsp; \u0026nbsp; \u0026nbsp;fin = fopen(\"home\/user\/Documents\/data.txt\",\"r\");\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: inherit;\"\u003E\u003Cbr \/\u003E\u003C\/span\u003E\u003Cspan style=\"font-family: inherit;\"\u003E\"r\" \u0026nbsp; \u0026nbsp; \u0026nbsp;= hanya bisa read\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: inherit;\"\u003E\"w\" \u0026nbsp; \u0026nbsp;= bisa read and write\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: inherit;\"\u003E\"w+\" \u0026nbsp;= bisa read and write update\u003C\/span\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: inherit;\"\u003E\u003Cbr \/\u003E\u003C\/span\u003E\u003Cbr \/\u003E\u003Cb\u003E\u003Cu\u003EMenutup Folder\u003C\/u\u003E\u003C\/b\u003E\u003Cbr \/\u003E\u003Cb\u003E\u003Cu\u003E\u003Cbr \/\u003E\u003C\/u\u003E\u003C\/b\u003E\u003Cspan style=\"font-family: Courier New, Courier, monospace;\"\u003E\u0026nbsp; \u0026nbsp; \u0026nbsp;fclose(fin);\u003C\/span\u003E\u003Cbr \/\u003E\u003Cbr \/\u003E\u003Cbr \/\u003E\u003Cspan style=\"font-family: inherit;\"\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2000007629395px;\"\u003ETerima kasih, semoga bermanfaat..\u003C\/span\u003E\u003Cbr style=\"background-color: white; color: #292929; line-height: 18.2000007629395px;\" \/\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2000007629395px;\"\u003ESampai ketemu pertemuan mendatang =))\u003C\/span\u003E\u003Cbr style=\"background-color: white; color: #292929; line-height: 18.2000007629395px;\" \/\u003E\u003Cspan style=\"background-color: white; color: #292929; line-height: 18.2000007629395px;\"\u003E#fantasticschematics\u0026nbsp;\u003C\/span\u003E\u003C\/span\u003E"},"link":[{"rel":"replies","type":"application/atom+xml","href":"http:\/\/www.fanyagriansyah.co.vu\/feeds\/1246406027317050577\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"http:\/\/www.fanyagriansyah.co.vu\/2014\/11\/tutorial-akses-file-dan-folder-dalam.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"http:\/\/www.blogger.com\/feeds\/3716092791552935940\/posts\/default\/1246406027317050577"},{"rel":"self","type":"application/atom+xml","href":"http:\/\/www.blogger.com\/feeds\/3716092791552935940\/posts\/default\/1246406027317050577"},{"rel":"alternate","type":"text/html","href":"http:\/\/www.fanyagriansyah.co.vu\/2014\/11\/tutorial-akses-file-dan-folder-dalam.html","title":"[TUTORIAL] Akses File dan Folder dalam Linux bahasa C"}],"author":[{"name":{"$t":"Unknown"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"16","height":"16","src":"https:\/\/img1.blogblog.com\/img\/b16-rounded.gif"}}],"thr$total":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-3716092791552935940.post-5383376083748805436"},"published":{"$t":"2014-10-09T23:25:00.001+07:00"},"updated":{"$t":"2014-10-10T21:38:37.847+07:00"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"Linux"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Tutorial"}],"title":{"type":"text","$t":"[TUTORIAL] Cara Vitualisasi Ubuntu pada Linux Mint Menggunakan Virtualbox"},"content":{"type":"html","$t":"Hai =))\u003Cbr \/\u003E\u003Cbr \/\u003EKali ini, saya akan menjelaskan, bagaimana cara virtualisasi Linux pada Linux.\u003Cbr \/\u003EPenjelasan singkat tentang virtualisasi:\u003Cbr \/\u003EVirtualisasi merupakan penggunaan dua atau lebih sistem operasi yang dapat berjalan secara bersamaan pada sebuah komputer. Misal dalam kasus ini saya akan membahas Ubuntu Linux yang berjalan pada OS Linux Mint. Langkah-langkahnya adalah sebagai berikut:\u003Cbr \/\u003E\u003Col\u003E\u003C\/ol\u003E1.\u003Cbr \/\u003EHal pertama yang harus kita lakukan adalah install aplikasi virtualisasi OS. Bisa menggunakan vm ware, qemu, virtualbox, dll. Kali ini yang akan kita bahas adalah tentang penggunaan virtualbox.\u003Cbr \/\u003E\u003Col\u003E\u003C\/ol\u003E2. \u003Cbr \/\u003ESebelum menginstall sesuatu, alangkah baiknya kita meng-update linux kita. Caranya buka terminal (ctrl + alt + t) atau buka lewat menu utama cari Terminal. Kemudian ketikkan ini:\u003Cbr \/\u003E\u003Cblockquote class=\"tr_bq\"\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;, Courier, monospace; font-size: x-small;\"\u003E\u003Cspan style=\"background-color: #f3f3f3;\"\u003Esudo apt-get update\u003C\/span\u003E\u003C\/span\u003E\u003Cspan style=\"background-color: #f3f3f3;\"\u003E \u003C\/span\u003E\u003Cbr \/\u003E\u003Ca name='more'\u003E\u003C\/a\u003E\u003C\/blockquote\u003E\u003Cspan style=\"font-size: small;\"\u003E\u003Cspan style=\"font-family: inherit;\"\u003EUsahakan kita \u003Cspan style=\"font-family: inherit;\"\u003Eselalu mengupdate linux kita lewat terminal\u003C\/span\u003E\u003C\/span\u003E\u003C\/span\u003E. Agar linux kita selalu update dan jika akan menginstal sesuatu agar mudah. Juga agar meminimalisir adanya bug.\u003Cbr \/\u003E\u003Cbr \/\u003E3.\u0026nbsp; \u003Cbr \/\u003ELangkah selanjutnya kita install virtualbox. Install virtualbox bisa dari Software Manager. Ketikkan \"virtualbox\" pada search box.\u003Cbr \/\u003E\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\u003Ca href=\"http:\/\/3.bp.blogspot.com\/-eo1oZV1wH6M\/VDZixJt7svI\/AAAAAAAAAZM\/PnPtLXr0-s4\/s1600\/2.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" src=\"http:\/\/3.bp.blogspot.com\/-eo1oZV1wH6M\/VDZixJt7svI\/AAAAAAAAAZM\/PnPtLXr0-s4\/s1600\/2.png\" height=\"270\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/div\u003EKemudian double klik pada virtualbox-4.3. Dan klik install.\u003Cbr \/\u003EBisa install melalui terminal dengan mengetikkan\u003Cbr \/\u003E\u003Cblockquote class=\"tr_bq\"\u003E\u003Cspan style=\"background-color: #eeeeee;\"\u003E\u003Cspan style=\"font-size: x-small;\"\u003E\u003Cspan style=\"font-family: \u0026quot;Courier New\u0026quot;, Courier, monospace;\"\u003Esudo apt-get install virtualbox-4.3\u003C\/span\u003E\u003C\/span\u003E \u003C\/span\u003E\u003C\/blockquote\u003E\u0026nbsp;4. Ketika penginstalan selesai, buka virtualbox. Ketik New, dan isi seperti gambar di bawah ini.\u003Cbr \/\u003E\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\u003C\/div\u003E\u003Cbr \/\u003E\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\u003Ca href=\"http:\/\/3.bp.blogspot.com\/-NrlvOt6PKXo\/VDZlESV8sVI\/AAAAAAAAAZg\/f9rLGoZPWLs\/s1600\/3.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" src=\"http:\/\/3.bp.blogspot.com\/-NrlvOt6PKXo\/VDZlESV8sVI\/AAAAAAAAAZg\/f9rLGoZPWLs\/s1600\/3.png\" height=\"238\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\u003Cbr \/\u003E5. Kemudian klik next. Atur memory (RAM).\u003Cbr \/\u003E\u003Cspan style=\"color: red;\"\u003E(Perlu diingat, bahwa semua sistem dalam virtualisasi ini, akan memotong memory real anda)\u003Cspan style=\"color: black;\"\u003E seperti RAM, jika anda memiliki RAM 4 GB\u003C\/span\u003E\u003C\/span\u003E dan mengatur RAM untuk virtualisasi sejumlah 2 GB, maka RAM anda akan terpotong 2 GB untuk virtualisasi, dan tersisa 2 GB untuk Linux Mint anda.\u003Cbr \/\u003E\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\u003Ca href=\"http:\/\/1.bp.blogspot.com\/-04iKMAnCcXQ\/VDZmbTqk_LI\/AAAAAAAAAZs\/KUelXnEQNIM\/s1600\/4.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" src=\"http:\/\/1.bp.blogspot.com\/-04iKMAnCcXQ\/VDZmbTqk_LI\/AAAAAAAAAZs\/KUelXnEQNIM\/s1600\/4.png\" height=\"240\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\u003Cbr \/\u003E6. Klik next, membuat hard disk untuk partisi Ubuntu. Jika sudah punya, maka pilih file nya pada point ke 3. Kalau belum punya, maka pilih point ke dua untuk membuat file partisi. Dan create, kemudian pilih tipe file .vdi\u0026nbsp; klik next. Pilih juga bagian Fixed.\u003Cbr \/\u003E\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\u003Ca href=\"http:\/\/3.bp.blogspot.com\/-2dMGVU5BvYk\/VDZnXmGfoGI\/AAAAAAAAAZ8\/Mxmz6IAwLLM\/s1600\/5.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" src=\"http:\/\/3.bp.blogspot.com\/-2dMGVU5BvYk\/VDZnXmGfoGI\/AAAAAAAAAZ8\/Mxmz6IAwLLM\/s1600\/5.png\" height=\"239\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\u003Cbr \/\u003E\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\u003Ca href=\"http:\/\/4.bp.blogspot.com\/-LMaCq1TXKIs\/VDZnXs9ZxvI\/AAAAAAAAAZ4\/wDovpe-jRYs\/s1600\/6.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" src=\"http:\/\/4.bp.blogspot.com\/-LMaCq1TXKIs\/VDZnXs9ZxvI\/AAAAAAAAAZ4\/wDovpe-jRYs\/s1600\/6.png\" height=\"239\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\u003Cbr \/\u003E7. Kemudian atur ukuran hard disk. Misal 10 Gb saja. Minimal 7-8 tapi kita tidak memiliki tempat penyimpanan pada Ubuntu kita nanti.\u003Cbr \/\u003E\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\u003Ca href=\"http:\/\/2.bp.blogspot.com\/-8J0rXMcvhsc\/VDZpda989pI\/AAAAAAAAAaM\/ZEK1DZeJWc0\/s1600\/7.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" src=\"http:\/\/2.bp.blogspot.com\/-8J0rXMcvhsc\/VDZpda989pI\/AAAAAAAAAaM\/ZEK1DZeJWc0\/s1600\/7.png\" height=\"266\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\u003Cbr \/\u003E8. Klik Create. Tunggu proses penyiapan storage untuk ubuntu kita.\u003Cbr \/\u003E9. Setelah selesai menunggu, dan selesai :D Maka storage kita \"hampir\" siap untuk digunakan.\u003Cbr \/\u003E10. Langkah selanjutnya, kita setting file tersebut. Klik setting. Lakukan seperti gambar di bawah.\u003Cbr \/\u003E\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\u003Ca href=\"http:\/\/1.bp.blogspot.com\/-pwRe5W1NX_Q\/VDZr2leMAdI\/AAAAAAAAAao\/Mu4p_dJps00\/s1600\/8.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" src=\"http:\/\/1.bp.blogspot.com\/-pwRe5W1NX_Q\/VDZr2leMAdI\/AAAAAAAAAao\/Mu4p_dJps00\/s1600\/8.png\" height=\"237\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\u003Cbr \/\u003E11. Pilih file iso Ubuntu kita, dengan klik pada gambar disk di sebelah tulisan IDE Secondary. Kemudian pilih \"Choose a virtual CD\/DVD disk file\" kemudian masukkan file iso kamu.\u003Cbr \/\u003E12. Jika sudah klik OK.\u003Cbr \/\u003E13. Ubuntu kamu siap untuk dijalankan. Dan klik tombol \"Start\" pada window ini.\u003Cbr \/\u003E\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\u003Ca href=\"http:\/\/1.bp.blogspot.com\/-MGEofHIXhG8\/VDa2e1fnxlI\/AAAAAAAAAa8\/lAvqI2r7HO0\/s1600\/9.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" src=\"http:\/\/1.bp.blogspot.com\/-MGEofHIXhG8\/VDa2e1fnxlI\/AAAAAAAAAa8\/lAvqI2r7HO0\/s1600\/9.png\" height=\"245\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\u003Cbr \/\u003E\u003Cbr \/\u003E\u003Cbr \/\u003ETerima kasih, semoga bermanfaat..\u003Cbr \/\u003ESampai ketemu pertemuan mendatang =))\u003Cbr \/\u003E#fantasticschematics \u003Cbr \/\u003E\u003Col\u003E\u003C\/ol\u003E"},"link":[{"rel":"replies","type":"application/atom+xml","href":"http:\/\/www.fanyagriansyah.co.vu\/feeds\/5383376083748805436\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"http:\/\/www.fanyagriansyah.co.vu\/2014\/10\/tutorial-cara-vitualisasi-ubuntu-pada.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"http:\/\/www.blogger.com\/feeds\/3716092791552935940\/posts\/default\/5383376083748805436"},{"rel":"self","type":"application/atom+xml","href":"http:\/\/www.blogger.com\/feeds\/3716092791552935940\/posts\/default\/5383376083748805436"},{"rel":"alternate","type":"text/html","href":"http:\/\/www.fanyagriansyah.co.vu\/2014\/10\/tutorial-cara-vitualisasi-ubuntu-pada.html","title":"[TUTORIAL] Cara Vitualisasi Ubuntu pada Linux Mint Menggunakan Virtualbox"}],"author":[{"name":{"$t":"Unknown"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"16","height":"16","src":"https:\/\/img1.blogblog.com\/img\/b16-rounded.gif"}}],"media$thumbnail":{"xmlns$media":"http://search.yahoo.com/mrss/","url":"http:\/\/3.bp.blogspot.com\/-eo1oZV1wH6M\/VDZixJt7svI\/AAAAAAAAAZM\/PnPtLXr0-s4\/s72-c\/2.png","height":"72","width":"72"},"thr$total":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-3716092791552935940.post-5998579698816693503"},"published":{"$t":"2014-10-09T11:58:00.000+07:00"},"updated":{"$t":"2014-10-09T11:58:23.127+07:00"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"Linux"},{"scheme":"http://www.blogger.com/atom/ns#","term":"Tutorial"}],"title":{"type":"text","$t":"[TUTORIAL] Make USB Bootable Linux Mint"},"content":{"type":"html","$t":"Hai =))\u003Cbr \/\u003E\u003Cbr \/\u003EBerikut ini akan saya jelaskan cara menjadikan USB Drive (flashdisk) anda menjadi bootable installer OS (Operating System).\u003Cbr \/\u003E\u003Col\u003E\u003Cli\u003EDownload file iso linux terlebih dahulu. Misal linux mint download di \u003Ca href=\"http:\/\/www.linuxmint.com\/download.php\" target=\"_blank\"\u003Esini\u003C\/a\u003E untuk latest update. Untuk distro linux lain bisa search di Google. Aplikasi ini dibagikan secara gratis.\u0026nbsp;\u003C\/li\u003E\u003Cli\u003EDownload aplikasi Universal USB Installer Bootable di \u003Ca href=\"http:\/\/www.pendrivelinux.com\/universal-usb-installer-easy-as-1-2-3\/\" target=\"_blank\"\u003Esini\u003C\/a\u003E. Atau anda ingin menginstal berbagai macam bootable disc pada flashdisk anda? Gunakan multiboot. Download latest version di \u003Ca href=\"http:\/\/www.pendrivelinux.com\/yumi-multiboot-usb-creator\/\" target=\"_blank\"\u003Esini\u003C\/a\u003E.\u0026nbsp;\u003Ca name='more'\u003E\u003C\/a\u003E\u003C\/li\u003E\u003Cli\u003EIsi field seperti gambar di bawah.\u0026nbsp;\u003Cdiv class=\"separator\" style=\"clear: both; text-align: center;\"\u003E\u003Ca href=\"http:\/\/2.bp.blogspot.com\/-hdVNL1yvPjA\/VDTjjJAuymI\/AAAAAAAAAWc\/v8mPkGqnngQ\/s1600\/YUMI-Multiboot-USB-Creator.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"\u003E\u003Cimg border=\"0\" src=\"http:\/\/2.bp.blogspot.com\/-hdVNL1yvPjA\/VDTjjJAuymI\/AAAAAAAAAWc\/v8mPkGqnngQ\/s1600\/YUMI-Multiboot-USB-Creator.png\" height=\"249\" width=\"320\" \/\u003E\u003C\/a\u003E\u003C\/div\u003E\u003C\/li\u003E\u003Cli\u003ECreate. Tunggu prosesnya.\u003C\/li\u003E\u003Cli\u003EDone.\u003C\/li\u003E\u003C\/ol\u003ETerima kasih, semoga bermanfaat =))\u003Cbr \/\u003E#fantasticschematics\u003Cbr \/\u003E\u003Col\u003E\u003C\/ol\u003E"},"link":[{"rel":"replies","type":"application/atom+xml","href":"http:\/\/www.fanyagriansyah.co.vu\/feeds\/5998579698816693503\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"http:\/\/www.fanyagriansyah.co.vu\/2014\/10\/tutorial-make-usb-bootable-linux-mint.html#comment-form","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"http:\/\/www.blogger.com\/feeds\/3716092791552935940\/posts\/default\/5998579698816693503"},{"rel":"self","type":"application/atom+xml","href":"http:\/\/www.blogger.com\/feeds\/3716092791552935940\/posts\/default\/5998579698816693503"},{"rel":"alternate","type":"text/html","href":"http:\/\/www.fanyagriansyah.co.vu\/2014\/10\/tutorial-make-usb-bootable-linux-mint.html","title":"[TUTORIAL] Make USB Bootable Linux Mint"}],"author":[{"name":{"$t":"Unknown"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"16","height":"16","src":"https:\/\/img1.blogblog.com\/img\/b16-rounded.gif"}}],"media$thumbnail":{"xmlns$media":"http://search.yahoo.com/mrss/","url":"http:\/\/2.bp.blogspot.com\/-hdVNL1yvPjA\/VDTjjJAuymI\/AAAAAAAAAWc\/v8mPkGqnngQ\/s72-c\/YUMI-Multiboot-USB-Creator.png","height":"72","width":"72"},"thr$total":{"$t":"0"}}]}});