ໃນ terminal ສັ່ງ
sudo apt-get install php5-gd
ຫລັງຈາກຕັ້ງ packageກໍ restart apache
sudo /etc/init.d/apache reload
ຈົບພິທີ
Sunday, August 31, 2008
Installing Xfce on Ubuntu(Xubuntu)
ເປັນຫຍັງຕ້ອງ Xubuntu
ກໍ່ເພາະບັນຫາເຈົ້າກຳ ຄອມຫ້ອງການແຣມມີແຕ່ 256M
ກໍຕ້ອງໄດ້ດີ້ນຣົນຫາທາງອອກ ພະຍາຍາມຫາຫລາຍໆ Distro ຂອງlinux ມາລອງ
ແຕ່ບໍເຕັມທີ່ຊ່ຳ ubuntu ຫຶຫຶ
gnome ກໍກິນແຣມ
Kde ກໍແດກແຣມ
ເອົາແນວໃດ໋
ກໍໄດ້ພົບກັບນາງເອກຂອງງານນີ້
download Xubuntu
ຫາກວ່າທ່ານລົງ ubuntu ຢູ່ກໍ ສັ່ງ
sudo aptitude update && sudo aptitude install xubuntu-desktop
ຫາກວ່າບໍໄດ້ລົງກໍໂຫລດມາລົງໄດ້ເລີຍ
ກໍ່ເພາະບັນຫາເຈົ້າກຳ ຄອມຫ້ອງການແຣມມີແຕ່ 256M
ກໍຕ້ອງໄດ້ດີ້ນຣົນຫາທາງອອກ ພະຍາຍາມຫາຫລາຍໆ Distro ຂອງlinux ມາລອງ
ແຕ່ບໍເຕັມທີ່ຊ່ຳ ubuntu ຫຶຫຶ
gnome ກໍກິນແຣມ
Kde ກໍແດກແຣມ
ເອົາແນວໃດ໋
ກໍໄດ້ພົບກັບນາງເອກຂອງງານນີ້
download Xubuntu
ຫາກວ່າທ່ານລົງ ubuntu ຢູ່ກໍ ສັ່ງsudo aptitude update && sudo aptitude install xubuntu-desktop
ຫາກວ່າບໍໄດ້ລົງກໍໂຫລດມາລົງໄດ້ເລີຍ
How to install ssh on ubuntu
ໃນ terminal ພິມ :sudo apt-get install ssh
- How to connect to remote machine using Ubuntu
$ssh username@192.156.0.13 (192.156.0.13 is the IP Address of the remote machine.)
- How to copy files from remote Ubuntu machine to local machine
$scp -r username@192.168.0.13:/home/username/remotefile.txt.
- How to copy files from local machine to remote Ubuntu machine.
$scp -r localfile.txt username@192.168.0.13:/home/username
- How to copy files/folders from local machine into remote Ubuntu machine (using rsync)
$rsync -v -u -a --delete --rsh=ssh --stats localfile.txt username@192.168.0.1:/home/username/
In the above command, local file is localfile.txt
IP Address of remote Ubuntu machine is : 192.168.0.13
The file will be saved in /home/username folder on remote ubuntu machine.
- How to copy files/folders from remote Ubuntu machine into local machine (using rsync)
$rsync -v -u -a --delete --rsh=ssh --stats username@192.168.0.13:/home/username/remotefile.txt.
Remote file on remote Ubuntu machine is : remotefile.txt
This will be copied into current directory on local machine.
Thursday, August 7, 2008
ແກ້ໄຂພາສາລາວໃນ mysql ທີ່ເປັນ ?????????
ສຳຫລັບຄົນທີ່ໃຊ້ໂຮ໊ດນອກ(ດັ່ງຂ້າພະເຈົ້າ) ແລ້ວມີບັນຫາເວລາ connect ກັບ mysql ແລ້ວບໍ່ເປັນພາສາລາວ ແຕ່ເປັນພາສາ ອີ່ສັງກະບໍ່ຮູ້ ລອງເອົາໂຄ໊ດນີ້ໄປແປະທີ່ໄຟລ໌ connect ເບີ່ງດັ່ງນີ້
/*
< ? //ແກ້ເອງ
$server = "localhost";
$user = "mageworkz.com";
$pass = "123456";
$dbname = "db_demo";
$connect_result = mysql_connect($server,$user,$pass) or die("Couldn't connect to Server!");
mysql_select_db($dbname,$connect_result) or die("Couldn't connect to DB!");
// ** ສ່ວນນີ້
mysql_query("SET character_set_results=utf8");
mysql_query("SET character_set_client='utf8'");
mysql_query("SET character_set_connection='utf8'");
mysql_query("collation_connection = utf8_unicode_ci");
mysql_query("collation_database = utf8_unicode_ci");
mysql_query("collation_server = utf8_unicode_ci");
?>
*/
ລອງເບີ່ງ
/*
< ? //ແກ້ເອງ
$server = "localhost";
$user = "mageworkz.com";
$pass = "123456";
$dbname = "db_demo";
$connect_result = mysql_connect($server,$user,$pass) or die("Couldn't connect to Server!");
mysql_select_db($dbname,$connect_result) or die("Couldn't connect to DB!");
// ** ສ່ວນນີ້
mysql_query("SET character_set_results=utf8");
mysql_query("SET character_set_client='utf8'");
mysql_query("SET character_set_connection='utf8'");
mysql_query("collation_connection = utf8_unicode_ci");
mysql_query("collation_database = utf8_unicode_ci");
mysql_query("collation_server = utf8_unicode_ci");
?>
*/
ລອງເບີ່ງ
Subscribe to:
Comments (Atom)