မဂၤလာပါ ။ကြ်န္ေတာ္အုိင္တီပင္လံုသားပါ ။
Debian တင္ပီးတစ္ခ်ိဳ႔စက္မွာ NVIDIA Driver တင္တာျပသာနာျဖစ္တတ္ပါတယ္။ ကဲခုစိတ္မပူပါနဲ႔ေနာ္
First .. terminal ကိုဖြင့္ပီး
1. $ sudo nano name.sh လို႔၇ိုက္ထည့္ပီးေအာက္ကစာေတြကို ကူးပီး ထည့္လုိက္ပါ ။
ပီးရင္ save
လုိက္ပါ ။
################################
#!/bin/bash
# NVIDIA-Installer-Squeeze
# Enrique Molina
#
# GNU Public License V.3
if [ $USER != root ]; then
echo “¡Is necessary be root!”
exit 0
fi
echo “[Add Repository] [Please Wait]”
sleep 2
#echo “deb http://ftp.debian.org/debian/ wheezy main contrib non-free” >> /etc/apt/sources.list
echo “[Update Repository]”
sleep 2
#aptitude update
#aptitude safe-upgrade
echo “[Installing Nvidia-Kernel-Module]”
sleep 2
VERSION=`uname -r`
aptitude install nvidia-kernel-$VERSION nvidia-glx
aptitude install nvidia-xconfig
nvidia-xconfig
echo “[Installing Nvidia-Settings]”
sleep 2
aptitude install nvidia-settings
echo “[Is necessary reboot to apply the changes]”
echo -n “[Do you want reboot now {y/n}]: ” ; read var
case $var in
y)
reboot
;;
n)
exit
esac
################################
2. save ပီးသြားရင္ $ sudo sh name.sh ျဖင့္ run လုိက္ပါ ။အဆင္ေျပသြားလိမ့္မယ္။
မွတ္ခ်က္ ။ /etc/apt/source.list က source file ထဲမွာ contrib non-free ထည့္ဖို႔လိုပါတယ္။
0 comments:
Post a Comment