Ask Question in MZ User
0

Ubuntu 10.04 Sound Problem

Posted May 12th, 2010 in Knowledgebase by saturngod

တကယ္လုိ႕ Ubuntu 10.04 မွာ sound မရရင္

terminal ကို သြား။ ျပီးလွ်င္

$sudo rm -rf .pulse

လို႕ရိုက္ျပီး restart ခ်လုိက္ပါ။

အဲဒါေတာင္ မရေသးရင္

$sudo apt-get install --reinstall plusaudio

လို႕ရိုက္ျပီး restart ျပန္ခ်ၾကည့္ပါ။

sound preference က waiting for sound system to repond ျဖစ္ေနရင္ေတာ့ sound preference setting က လက္ရိွ သံုးထားတဲ့ sound card အတြက္ preference မရိွလို႕ပါ။ အျခား GUI preference ကို သြင္းေပးရပါတယ္။

$sudo apt-get install gnome-alsamixer

ကို သြင္းေပးျပီး Applications > Sound & Video > Gnome ALSA Mixer ကေန ခ်ိန္ညိွႏိုင္ပါတယ္။

0

OpenSSH

Posted May 11th, 2010 in Knowledgebase by saturngod

OpenSSH က Ubuntu  Server မွာ သြင္းလုိက္တာနဲ႕ ပါျပီးသားပါ။ Ubuntu Desktop မွာ မပါေသးရင္

$sudo apt-get install ssh-client ssh-server

ဆိုျပီး သြင္းႏိုင္ပါတယ္။

Open SSH က SFTP နဲ႕ SSH ကို အသံုးျပဳဖို႕ပါ။ SFTP နဲ႕ SSH ရဲ႕ username နဲ႕ password ကေတာ့ Ubuntu account username နဲ႕ password နဲ႕ အတူတူပါပဲ။ SFTP မွာ permission မရလုိ႕ဝင္မရရင္

/etc/ssh/sshd_config  မွာ

RSAAuthentication no
PasswordAuthentication yes

အဲဒီ ၂ ခုျပင္ရသည္။ SSH ကို windows မွာ putty သံုးလို႕ရပါတယ္။ တနည္းေျပာရင္ Ubuntu Server တင္ထားျပီးေတာ့ Ubuntu server ကို မသြားပဲ putty ကေန Ubuntu Server ကို လွမ္းျပီး command ေတြကို ပို႕လုိ႕ရတယ္။ file တင္ခ်င္ရင္ download ဆြဲခ်င္ရင္ SFTP ကို filezilla နဲ႕ ခ်ိတ္ျပီးေတာ့ တင္လို႕ရတယ္။ download ဆြဲလို႕ရတယ္။ server ဆီ သီးသန္႕သြားေနစရာမလိုေတာ့ဘူး။ အဲဒါက လက္ရိွ VPS server ေတြ decided server ေတြမွာ အလုပ္လုပ္ေနၾကတဲ့ ပံုပါပဲ။ SFTP နဲ႕ SSH ၂ ခု ရိွရင္ server တစ္ခုလံုး ထိန္းလို႕ရပါျပီ။

7

Oh! Ubuntu 10.04 and iPhone SDK 3.2

Posted April 30th, 2010 in News by saturngod

ဒီေန႕ကေတာ့ download ဆြဲရတဲ့ေန႕လို႕ ဆိုရမလားပဲ။ Ubuntu 10.04 လည္း ထြက္ပါျပီ။ ထို႕အတြက္ iPhone SDK 3.2 ကိုလည္း download ခ်လို႕ရျပီ။ အရင္က Developer license ရိွသူေတြပဲ download ခ်လို႕ရခဲ့ေပမယ့္ အခုေတာ့ download ဆြဲလို႕ရသြားျပီ။ ေနာက္လေလာက္ဆိုရင္ developer license ဝယ္ရင္ေကာင္းမလား စဥ္းစားေနတာ။ လုပ္စရာေတြ မ်ားမ်ားစားစားမရိွေပမယ့္ ဒီအတိုင္း ကလိေနတာ distribute လုပ္လုိ႕မရေတာ့ အလကားပဲလိုလို ျဖစ္ေနတယ္။ အင္း ၉၉ ေဒၚလာဆိုေတာ့လည္း ႏွေျမာမိတယ္။ :D ဘာပဲေျပာေျပာ ဝင္လုိက္ဖုိ႕ကေတာ့ မ်ားပါတယ္။ ဝင္လုိက္မွပဲ ေသေသခ်ာခ်ာ ေရးျဖစ္မယ္ထင္တယ္။ အခုက စိတ္ကူးေပါက္ျပီး ရံုးက prototype ေလး လုပ္ခိုင္းမွ ထထ ေရးျဖစ္ေနတာကေတာ့ မဟုတ္ေသးဘူးထင္တာပဲ။

Continue Reading »

0

Change Time-Zone in Ubuntu

Posted April 9th, 2010 in Knowledgebase by saturngod

ဒီေန႕ client က feedback ထဲမွာ status message က အခ်ိန္ေတြလြဲေနတယ္ဆိုလို႕ ၾကည့္စရာေတာင္ မလုိဘူး server time zone ျပႆနာပဲဆိုတာ တန္းသိတယ္။ (ကိုယ္ setup လုပ္ထားတဲ့ server ပဲ ကိုယ္သိတာေပါ့။ အဲတုန္းက timezone ကိစၥေမ့သြားတယ္)

$sudo dpkg-reconfigure tzdata

အဲဒါေလး ရိုက္ျပီး step by step သြားလိုက္ရင္ ျပီးသြားတာပဲ။ မွတ္မိေအာင္ blog ထဲမွာ ေရးထားတာ။

3

PHP mail() function setup in Ubuntu

Posted March 26th, 2010 in Knowledgebase by saturngod

ဒီေန႕ Client Server မွာ တင္ေတာ့ mail() function က php မွာ သံုးမရဘူးျဖစ္ေနတယ္။ တကယ္တန္းေတာ့ symfony မွာ ဘာ plugin လဲမသိပါဘူး။ ေမ့ေတာင္ ေမ့သြားျပီ။ အဲဒါနဲ႕တြဲသံုးထားတာ။ mail() function လိုတယ္ဆိုတာနဲ႕ mail function enable လုပ္ဖို႕ စရပါေတာ့တယ္။ Ubuntu Server ဆိုေတာ့ ရွာရတာ အရမ္းလြယ္တယ္။ ဘာမွ မခက္ဘူး။ exim4 ကို သြင္း။ ျပီးရင္ config လုပ္။ အဲဒါကလည္း

https://help.ubuntu.com/community/Exim4

အဲဒီမွာ ဖတ္လုိက္လို႕ရတယ္။

sudo apt-get install exim4

လုိ႕ သြင္းျပီး

sudo dpkg-reconfigure exim4-config

ဆိုျပီး config လုပ္လုိက္ရံုပဲ။ Config ကလည္း English လိုေရးထားတာပဲေလ။ Wizard နဲ႕step by step လုပ္လုိက္ေတာ့ အဆင္ေျပသြားတယ္။ ျပီးေတာ့ php.ini မွာ

sendmail_path = /usr/sbin/sendmail

ဆိုျပီး သြားထည့္ေပးလုိက္တယ္။ အစက comment ပိတ္ထားတာ။ comment ေလး သြားဖြင့္ ။ sendmail path ေလးထည့္ေပးလုိက္ရံုပဲ။ ေနာက္ဆံုး apache restart ခ်။ ျပန္စမ္းေတာ့ ရသြားပါေလေရာ။ သိပ္လည္း မၾကာလိုက္ပါဘူး။ နာရီဝက္ ေလာက္ပဲ ၾကာတယ္ထင္တယ္။ Ubuntu Server ကို အဲလို လိုခ်င္တာေလး ျမန္ျမန္ ရွာရတာ ေလးကို သေဘာက်တာ။

2

Amzon EC2 & Me

Posted March 3rd, 2010 in Knowledgebase by saturngod

ျပီးခဲ့တဲ့ အပတ္က Amazon EC2 server ကို ကိုင္ရတယ္။ client သံုးမယ္ဆိုလို႕ ရံုးက ဝယ္ေပးတဲ့ server ေပါ့။ project ေတြအားလံုးက လက္ရိွ Linux Server ေပၚမွာပဲ run ေနတာေၾကာင့္ Amazon Ec2 မွာလည္း Linux တင္ျပီး Web Server ေလး တစ္ခုကို ရံုးက ေဆာက္ခိုင္းတယ္။ ရံုးမွာက Linux ပိုင္း သိတာ ဆိုလို႕ လူက မ်ားမ်ားစားစား မရိွတာေၾကာင့္ Amazon EC2 ၾကီးကို ကိုင္ဖုိ႕တာဝန္က ကိုယ့္ေပၚေရာက္လာျပီ။ အဲဒီေန႕မတိုင္ခင္ကလည္း VPS တစ္လံုးနဲ႕ web server ေကာ symfony ေကာ သြင္းလိုက္ရေသးတယ္။ ဒါေၾကာင့္ Amazon EC2 ၾကီးကို ကိုင္ရမွာ သိပ္ေတာ့ မလန္႕တာလည္း ပါမွာေပါ့။ ရံုးကလူေတြကလည္း တစ္ေယာက္မွ မသံုးဖူးဘူးဆိုေတာ့ မသိရင္ ေမးရမွာလည္း ျပႆနာပဲ။ ေရွာင္လင္ ကေတာ့ facebook မွာ ေျပာပါတယ္။ VPS နဲ႕မတူဘူးလို႕။ တကယ္လည္း aws ထဲလည္း ဝင္ေရာ ... အားပါးပါး... ေရလည္မိုက္တယ္။ Instances ေတြကို ေဆာက္ရတာ ျမန္သလားမေမးနဲ႕။ ဟိုၾကည့္ဒီၾကည့္ နဲ႕ video ထိုင္ၾကည့္လိုက္တာ သေဘာေတာ့ေပါက္သြားတယ္။

Continue Reading »

1

Cron job

Posted February 16th, 2010 in Linux by saturngod

cron job ဆိုတာ windows မွာ schedule နဲ႕ အတူတူပါပဲ။ cron job က မတူတဲ့အပိုင္းကေတာ့ cron file ေရးရတာပဲ။ သူ႕ format က ဒီလုိေရးပါတယ္။

minute (0-59), hour (0-23, 0 = midnight), day (1-31), month (1-12), weekday (0-6, 0 = Sunday), command

ဥပမာ

01 04 1 1 1 /usr/bin/somedirectory/somecommand

အျမဲတန္းဆုိရင္ေတာ့ * ကို အသံုးျပဳႏိုင္ပါတယ္။

01 04 * * * /usr/bin/somedirectory/somecommand

အဲဒါက every day,every month, every week လို႕ေျပာလိုက္တာပါ။

cron job ကို အသံုးျပဳဖုိ႕ crontab ဆိုတဲ့ command line နဲ႕ အသံုးျပဳတယ္။

$crontab filename Add by file name
$crontab -e Edit in comand line Editor
$crontab -l Cron List
$crontab -r Remove

command ကို sh file အေနနဲ႕ အသံုးျပဳလုိ႕ရပါတယ္။

cron job ကို အထူးသျဖင့္ backup လုပ္တဲ့ေနရာေတြမွာ အသံုးျပဳတတ္ၾကပါတယ္။ Unix like system ေတြအတြက္ အလြန္ကို အသံုးဝင္ပါတယ္။

4

Sushi-huh

Posted December 6th, 2009 in Linux, Opensource by saturngod

The Sushi, what???
Sushi, huh? is a program that allows downloading all the packages needed to install the programs you want on GNU/Linux without an Internet connection on your own computer.
Sushi, huh? is designed for people, which for example can not afford monthly Internet connection.
As installing software on GNU/Linux is a hard and complex process for those newcomers to the world of GNU/Linux, which itself does not have an Internet connection, Sushi, huh? simplifies this task, making it as automatically as possible.

How to Install?
Sushi, huh? was not intended to be installed, Sushi, huh? was thought to be a portable application. That means you can save to a flash drive and use it without installing.

http://sushi-huh.sourceforge.net/

0

How to Compare Linux Distro ?

Posted November 3rd, 2009 in Linux by saturngod

Me:
We can't compare distro. Ubuntu design for End user. Fedora for Network and Redhat for enterprise So, how to compare it.

Box02 :
Distros ေတြမ်ားရတာ လူ႔အၾကိဳက္ ကိုယ္႔အၾကိဳက္မတူၾကလို႔ ေနာက္ျပီး ကိုယ္႔အသံုးသူ႔အသံုး မတူၾကလို႔ပါ။ ကိုယ္က ၾကိဳက္တိုင္း သူမ်ားၾကိဳက္ခ်င္မွ ၾကိဳက္မွာပါ။
က်ေနာှ႔စက္ က်ေနာှ႔အသံုးနဲ့ Linux Distros ေတြထဲမွာ က်ေနာှ႔အၾကိဳက္ဆံုးကေတာ့ Debian GNU/Linux ပါ၊ အရမ္းကိုလြယ္ကူျပီး speed အရလဲ တကယ္႔ rocky speed ပါပဲ။ က်ေနာှ႔ရဲ့ main distro လဲျဖစ္ပါတယ္။
က်န္တာေတြကေတာ့ စမ္းၾကည့္တာေလာက္ပါပဲ။ Ubuntu ဆိုရင္ user ေတြအတြက္ Easy Install, Manage လုပ္ႏိုင္ျပီး User Interface နဲ့ Applications အသစ္အသစ္ေတြေပါက္ဖြားရာေနရာ userland ျဖစ္ျပီး Fedora ကေတာ့ kernel new features ေတြ နည္းပညာအသစ္ေတြ ေပာက္ဖြားေလ့ရွိတဲ့ေနရာ userland ျဖစ္တယ္လို႔ လက္ရွိေျပာလို႔ရပါတယ္။
CentOS ကေတာ့ Red Hat Enterprise ကို Free Distribute လုပ္တဲ့သေဘာပါ။ Red Hat rpm အသံုးျပဳခ်င္သူမ်ားအတြက္ေတာ့ Fedora ဒါမွမဟုတ္ CentOS ကိုအသံုးျပဳႏိုင္ပါတယ္။ Continue Reading »

2

Repair Grub After Installed Win 7

Posted September 16th, 2009 in nothing by saturngod

ကၽြန္ေတာှ Win 7 သြင္းျပီးေတာ့ Ubuntu အတြက္ repair grub လုပ္တာ မရဘူး ျဖစ္ေနတယ္။ ဘာေၾကာင့္မွန္းမသိဘူး။ အရင္တုန္းကေတာ့ ဒီလို လုပ္ပါတယ္။ အခု မရေတာ့လို႔ ubuntu forum မွာ ရွာၾကည့္လိုက္ေတာ့ ေတြ႕သြားပါတယ္ဗ်ာ။ နည္းနည္းေလးကြာသြားတယ္။

$ sudo grub
grub > find /boot/grub/stage1

အဲမွာ hdX,Y ျမင္ရလိမ္႔မယ္။ X,Y က နံပတ္ေတြပါ။ တစ္ေယာက္နဲ့ တစ္ေယာက္မတူဘူးဗ်။

grub > root (hdX,Y)
grub > setup (hd0)
grub > quit

ဒါဆို ရသြားပါျပီ။ Win 7 ကို ဝင္ရင္ သင့္ကို reapir လုပ္ခိုင္းလိမ္႔မယ္။ မလုပ္နဲ့။ Ubuntu grub ျပန္ေပ်ာက္သြားလိမ္႔မယ္။

Page 1 of 3123