วันศุกร์ที่ 6 พฤศจิกายน พ.ศ. 2558

ทำไมต้องทำเวร

ทำไมต้องทำเวร
หนูไม่ใช่ภารโรงนะ
อยู่บ้านก็ไม่ได้ทำอะไร


เหรอ
การอยู่ร่วมกันปัญหาย่อมมี
แต่คนแก้ปัญหามีน้อย  ต้องแบ่งหน้าที่กัน

วันนี้ปัญหาคือ

ช่องดาวเทียมบางช่องหายไป

เหรอ

วันพุธที่ 4 พฤศจิกายน พ.ศ. 2558

ครูสอนดีคุรุสภา55

กว่าจะเข้ามาเขียนได้
อยากจะรู้ว่าเด็กเรียนรู้อะไรได้
ในการสอนครั้งถัดไปถามว่าชั่วโมงที่เรียนผ่านมาได้อะไร
ก่อนการเรียนรู้เรื่องถัดไป

  1. ทบทวนการเรียนรู้และสังเคราะห์ของผู้เรียน
  2. ทบทวนการสอนของครู
  3. เกณฑ์ดีขึ้นเรื่องใหม่
  4. เกณฑ์ต่ำสอนซ้ำให้เข้าใจ
ไม่ได้ลอกใครมะโนเอง

วันเสาร์ที่ 26 กันยายน พ.ศ. 2558

CRS-Switch-WIFI

config CRS-Switch-WIFI

  1. Systen > Reset Configuration [Reset Configuration] CRS จะ Reboot รอสักครู่
  2. [Remove Configuration]
  3. Bridge > + > Bridge1 [OK]
  4. Bridge > Ports + Interface ทุกตัว
  5. System > Reboot
  6. IP > Address > + 192.168.99.1/24 , Interface = Bridge1 [OK]
  7. wlan1 : mode = apbridge
เพิ่ม wlan2
  1. Wireless > + Virtual AP
  2. SSID : ตั้งชื่อ > New [OK]
  3. Bridge : wlan2 [OK]
ทำ Nat เชื่อต่อเน็ตภายนอก
  1. IP > Firewall > Nat > + 
  2. chain = srenat
  3. Src.Address = 0.0.0.0/24
  4. Action = masquerade
NTP
  1. 192.43.244.18
  2. 203.185.69.60

mikrotik

RB2011UI ทำหน้า login

  1. เปลี่ยนชื่อ Ether1 เป็น Ether1-WAN เพื่อเชื่อต่อ Wan
  2. DHCP Client + Interface = Ether1-WAN [OK] รอสักครู เพื่อรอรับ DHCP จาก WAN IP
  3. เพิ่ม DNS ไปที่เมนู IP > DNS เพิ่ม google DNS 8.8.8.8 [OK] ให้ทดสอบโดยการ Ping 8.8.8.8 ถ้า ping ได้ก็สามารถใช้งานได้
  4. สร้าง Bridge รองรับ Net ไปที่เมนู Bridge + Name : Bridge1-hotspot [OK]
  5. กำหนด IP ของ Bridge1-hotspot ไปที่เมนู IP > Address List + address : 10.10.99.1/24 [ok] interface : Bridge1-hotspot
  6. ทำ Hotspot Login ไปที่เมนู Hotspot Interface : Bridge1-hotspot [Next] 
  7. Reboot และใช้งานได้
  8. ถ้าต้องการเพิ่ม hotspot เพื่อแยก ip หลาย ๆ วง ให้ทำข้อ 6 ใหม่

วันจันทร์ที่ 23 มิถุนายน พ.ศ. 2557

วันอังคารที่ 17 มิถุนายน พ.ศ. 2557

MySQL

MySQL

MySQL is a Relational Database Management System (RDBMS) that runs as a server providing multi-user access to a number of databases.  For more information on MySQL, you can visit their website at www.mysql.com.

Version

This documentation was written for MySQL 5.0.45 but may be usefull with other versions.

How to install MySQL

  1. Install MySQL
    yum install mysql-server mysql php-mysql

How to configure MySQL

  1. Set the MySQL service to start on boot
    chkconfig --levels 235 mysqld on
  2. Start the MySQL service
    service mysqld start
  3. Log into MySQL
    mysql -u root
  4. Set the root user password for all local domains
    SET PASSWORD FOR 'root'@'localhost' = PASSWORD('new-password');
    SET PASSWORD FOR 'root'@'localhost.localdomain' = PASSWORD('new-password');
    SET PASSWORD FOR 'root'@'127.0.0.1' = PASSWORD('new-password');
  5. Drop the Any user
    DROP USER ''@'localhost';DROP USER ''@'localhost.localdomain';
  6. Exit MySQL
    exit
from http://dev.antoinesolutions.com/mysql

วันพุธที่ 4 มิถุนายน พ.ศ. 2557

ข้าสู่ Windows 8 โดยที่ไม่ต้องทำการใส่พาสเวิร์ด

สำหรับในทิปนี้แอดมินจะมาแนะนำวิธีการเข้าสู่ Windows 8 โดยที่ไม่ต้องทำการใส่พาสเวิร์ดเพื่อความสะดวกรวดเร็วนั่นเองครับ โดยมีวิธีการดังต่อไปนี้
1. ขั้นตอนแรกให้เราทำการเรียกหน้าต่าง Run ขึ้นมาก่อนโดยการกดปุ่ม Windows + R
2. จากนั้นทำการพิมพ์คำว่า netplwiz ลงในช่องแล้วกด Enter ครับ
3. จากนั้นทำการเลือก User ที่เราต้องการจะเข้าโดยไม่ต้องใช้พาสเวิร์ด
4. ทำการเอาเครื่องหมายถูกออกจากหัวข้อ Users must enter a user name and password to use this computer
5. คลิก OK แล้วระบบจะถามหารหัสผ่าน ให้ใส่ไป 2 ครั้ง แล้วกด Ok อีกครั้งหนึ่ง
เพียงเท่านี้ก็เสร็จเรียบร้อยแล้วครับ

วันจันทร์ที่ 2 มิถุนายน พ.ศ. 2557

การปิด ping ไม่ให้ทำการ ping หาเครื่องเราได้

windows xp
   start >Control Panel >Windows Firewall > Tab General
   ให้เลือก check “On (recommended)”

   แล้วให้ไปที่ Tab Advanced
   start >Control Panel >Windows Firewall > Tab Advanced

   เลือกหัวข้อ ICMP click to “Settings…”
   เอาเครื่งหมายถูกช่อง allow incoming echo request ออก

   Test ping ว่าปิดได้ไหมครับ
#ping ip_address


windows Server 2003
   start >Control Panel >Windows Firewall > Tab General
   ให้เลือก check “On”

   แล้วให้ไปที่ Tab Advanced
   start >Control Panel >Windows Firewall > Tab Advanced

   เลือกหัวข้อ ICMP click to “Settings…”
   เอาเครื่งหมายถูกช่อง allow incoming echo request ออก

   Test ping ว่าปิดได้ไหมครับ
#ping ip_address


Windows Server 2008 จะถูกตั้งค่าให้ปิด Ping Reply อยู่แล้ว
   วิธีการตั้งค่า Windows Server 2008 ให้สามารถ Ping Reply ได้ให้ดูข้อมูลได้ที่เว็บsosweets.net ซื่งอธิบายรายละเอียดทุกขึ้นตอน


windows 7
   -


linux Redhat/CentOS
   พิมพ์คำสั่งตามข้างล่าง
   [root@RD ~]# echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all
   ถ้าต้องการให้สามารถ ping ได้เหมือนเดิม ให้เปลี่ยนการ echo 1 เป็น echo 0 แทนครับ

ที่มาhttp://group.wunjun.com/hospital/topic/420422-13602

วันอังคารที่ 26 กุมภาพันธ์ พ.ศ. 2556

แก้ไข login rnet2007 ไม่ทำงาน

กรณีเปลี่ยน ip server
#service chilly restart
#service network restart
#chmod 755 /var/www/cgi-bin/hotsport.cgi
#reboot -n
ลองใหม่

วันพุธที่ 6 กุมภาพันธ์ พ.ศ. 2556

เปลี่ยน ip centOS


เปลี่ยน ip วงใหญ่
[root@log ~]# service iptables restart
[root@log ~]# service radiusd restart
[root@log ~]# nano /var/www/cgi-bin/hotspotlogin.cgi
[root@log ~]# nano /etc/raddb/radiusd.conf
[root@log ~]# service squid restart
[root@log ~]# nano /etc/chilli.conf
[root@log ~]# nano /var/www/html/net2007/config.php
[root@log ~]# chkconfig chilli on
[root@log ~]# service chilli restart


ip 1000 user
255.255.252.0
10.0.1.1/22

วันจันทร์ที่ 12 พฤศจิกายน พ.ศ. 2555

ลบ cache ใน Authen

ตรวจสอบ Memory
root@34d30y [~]# free -m
total       used       free     shared    buffers     cached
Mem:          8881       4744       4136          0        296       3567
-/+ buffers/cache:        880       8000
Swap:         4095          0       4095
root@34d30y [~]# sync
root@34d30y [~]# echo 3 > /proc/sys/vm/drop_caches
root@34d30y [~]# free -m
total       used       free     shared    buffers     cached
Mem:          8881        533       8347          0          1         19
-/+ buffers/cache:        512       8368
Swap:         4095          0       4095

=========
ลบในเคื่อง Authen ครับ
#/etc/init.d/squid stop
#rm -Rf /var/spool/squid/*
#/etc/init.d/squid start

วันพุธที่ 24 ตุลาคม พ.ศ. 2555

ลบ cache


[root@log showsita]# /etc/init.d/squid restart
Stopping squid: ................                           [  OK  ]
Starting squid: .                                          [  OK  ]

วันเสาร์ที่ 13 ตุลาคม พ.ศ. 2555

ln -s /var/www/mrtg/

ln -s /var/www/mrtg/

ลบ link

rm -rf NAME

วันอังคารที่ 25 กันยายน พ.ศ. 2555

block download centos

#cp /etc/squid/squid.conf /etc/squid/squid.conf.backup

#nano /etc/squid/squid.conf

edit at
mark @ All line

delay_poll

#service squid restart
[OK]
[OK]

วันศุกร์ที่ 27 กรกฎาคม พ.ศ. 2555

mrtg ง่ายๆ


yum -y install net-snmp mrtg
wget -4 -O /etc/snmp/snmpd.conf www.icez.net/files/snmpd.conf
wget -4 -O /var/www/mrtg/mrtg-load.sh www.icez.net/files/mrtg-load.sh
chmod a+x /var/www/mrtg/mrtg-load.sh
/etc/init.d/snmpd restart
cfgmaker --global 'WorkDir: /var/www/mrtg' --global 'Options[_]: bits,growright' --no-down --zero-speed=1000000000 --noreversedns --output /var/www/mrtg/mrtg.cfg public@localhost
wget -4 -O /tmp/mrtg.cfg www.icez.net/files/mrtg.cfg
cat /tmp/mrtg.cfg >> /var/www/mrtg/mrtg.cfg
/bin/cp -fv /var/www/mrtg/mrtg.cfg /etc/mrtg/mrtg.cfg
echo "Alias /mrtg /var/www/mrtg" > /etc/httpd/conf.d/mrtg.conf
/sbin/chkconfig snmpd on
indexmaker /etc/mrtg/mrtg.cfg > /var/www/mrtg/index.html
if [ -d /usr/local/directadmin ]; then ln -s /var/www/mrtg /var/www/html/; fi
/etc/init.d/httpd graceful

ที่มา http://www.icez.net/blog/28/ลง-mrtg-บน-centosfedora-แบบง่ายๆ

วันพุธที่ 20 มิถุนายน พ.ศ. 2555

แสดงภาษาไทยใน centos php

#vi /etc/httpd/conf/httpd.conf

#AddDefaultCharset UTF-8
AddDefaultCharset TIS-620


nano /etc/httpd/conf/httpd.conf

แก้ AddDefaultCharset TIS-620

และในส่วนของ MySQL ก็ด้วยเหมือนกันครับ
nano /etc/my.cnf
[mysqld]
# เพิ่มเข้าไป #
default-character-set = tis620
character-set-server = tis620
collation-server = tis620_thai_ci
init_connect = 'SET collation_connection = tis620_thai_ci'
init_connect = 'SET NAMES tis620'

วันอังคารที่ 19 มิถุนายน พ.ศ. 2555

ติด ตั้ง MySQL on CentOS


9/07/2011

ติด ตั้ง MySQL on CentOS

ใช้คำสั่ง yum install mysql-server เพื่อติดตั้งโปรแกรม หลังจากติดตั้งเสร็จก็มา 

เริ่มใช้งาน MySQL
หลังจากที่ติดตั้งเสร็จแล้ว ใช้คำาสั่งให้ MySQL ทำางานตอนบูท ด้วยคำาสั่ง chkconfig และให้ service
ของ MySQL ทำางานด้วยคำาสั่ง service ชื่อ service ของ MySQL คือ mysqld 
[root@server1 ~]# chkconfig mysqld on
[root@server1 ~]# service mysqld start
Initializing MySQL database: [ OK ]
Starting MySQL: [ OK ]
จะเห็นว่าถ้าเราสั่ง ให้ MySQL ทำางานเป็นครั้งแรกก็จะมีการสร้างฐานข้อมูลตั้งต้นของ MySQL โดยดูได้จาก
ข้อความ Initializing MySQL database: จะมีข้อความนี้ครั้งแรกครั้งเดียว และ MySQL เริ่มทำางาน MySQL ทำางาน
แล้วก็สามารถใช้งาน MySQL ได้
ตั้งรหัสผ่านให้กับ user root ที่จะเข้าใช้งานฐานข้อมูล
เพื่อการรักษาความ ปลอดภัยของการเข้าถึงฐานข้อมูล มีความจำาเป็นจะต้องตั้งรหัสผ่านให้กับ user root ซึ่ง
เป็น user ที่จะติดต่อฐานข้อมูล โดยการใช้คำาสั่ง mysqladmin -u root password mypassword โดยที่ mypassword
คือ ผ่าน ต่อไปนี้การติดต่อฐานข้อมูลจะใช้ user root และรหัสผ่าน คือ mypassword
[root@server1 ~]# mysqladmin u
root password mypassword
[root@server1 ~]# mysql u
root p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 4
Server version: 5.0.45 Source distribution
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>
ออกจากการใช้งาน MySQL
mysql> \q
Bye
[root@server1 ~]#
หรือ
mysql> exit
Bye
[root@server1 ~]#
การใช้งาน user และ password ของ mysql
แบบแรก ให้ mysql ถามรหัสผ่าน
[root@server1 ~]# mysqladmin u
root password mypassword
[root@server1 ~]# mysql u
root p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 4
Server version: 5.0.45 Source distribution
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> 
แบบที่ 2 ใส่รหัสผ่านต่อจากออปชัน -p
[root@server1 ~]# mysql u
root pmypassword
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 6
Server version: 5.0.45 Source distribution
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>
ถ้าใส่รหัสผ่านผิดก็จะมีข้อความเตือน
[root@server1 ~]# mysql u
root p
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
password: YES)
[root@server1 ~]#
การสร้างฐานข้อมูล MySQL
สร้างฐานข้อมูลใหม่และดูชื่อฐานข้อมูล
[root@server1 ~]# mysqladmin creat newdb u
root p
Enter password:
[root@server1 ~]# mysql u
root p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 12
Server version: 5.0.45 Source distribution
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> show databases;
++
| Database |
++
| information_schema |
| mysql |
| newdb |
| test |
++
4 rows in set (0.00 sec)
mysql>
การนำาเข้าฐานข้อมูล และ backup ฐานข้อมูล
นำาเข้าฐานข้อมูลจากไฟล์ด้วย mysql newdb < /path/to/file.sql -u root -p
[root@server1 ~]# mysql newdb < /root/file.sql u
root p
Enter password: 
Backup ฐานข้อมูลด้วยคำาสั่ง dump
[root@server1 ~]# mysqldump dbname > /root/file_backup.sql u
root p
Enter password:
การเปลี่ยน password ของ user root ที่ใช้งานฐานข้อมูล MySQL
การเปลี่ยนรหัสผ่าน user root ของ MySQL แบบนี้ ท่านต้องจำารหัสผ่านเดิมได้
โดยการใช้คำาสั่งเหล่า นี้
[root@server1 ~]# mysql u
root p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 12
Server version: 5.0.45 Source distribution
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> use mysql;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with A
Database changed
mysql> UPDATE mysql.user SET Password = PASSWORD('newpassword') WHERE
User = 'root';
Query OK, 0 rows affected (0.00 sec)
Rows matched: 3 Changed: 0 Warnings: 0
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
mysql>
หรือ
mysql> SET PASSWORD FOR 'root'@'localhost' = PASSWORD('newpassword‘);
โดยที่ newpassword เป็นรหัสผ่านใหม่ที่ต้องการเปลี่ยน ถ้าต้องการเปลี่ยนรหัสผ่านของผู้ใช้งานคนอื่น ก็
ให้ where ที่ user นั้นๆ
การอนุญาตให้ user ติดต่อฐานข้อมูลจากโฮสอื่น
โดยปกติ MySQL จะไม่อนุญาตให้ user root ติดต่อเข้ามาใช้ฐานข้อมูลจากเครื่องอื่น ถ้าจะทำาก็ทำาได้แต่ไม่
ควรทำา ทางที่ดีควรเพิ่ม user ใหม่เข้าไปและอนุญาตให้เฉพาะ user นั้นติดต่อฐานข้อมูลจากโฮสอื่นได้
mysql> grant all privileges on *.* to sothorn@'%';
Query OK, 0 rows affected (0.00 sec)
mysql> update user set Password=password('password') where
User='sothorn';
Query OK, 1 row affected (0.00 sec)
Rows matched: 1 Changed: 1 Warnings: 0
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec) 
จากคำาสั่งสามารถ อธิบายได้ว่า อนุญาตให้ user sothorn สามารถติดต่อฐานข้อมูลที่อยู่บนเครื่องนี้ ได้จากทุก
เครื่อง (%) โดยสามารถใช้งาน ได้ทุกฐานข้อมูลทุกตาราง (*.*) ถ้าอนุญาตบางฐานข้อมูลก็ใช้ ชื่อ db.* เช่น mydb.*
ทดสอบติดต่อฐานข้อมูล จากเครื่องอื่น
root@amdx2:~# mysql h
192.168.2.111 u
sothorn p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is
Server version: 5.0.45 Source distribution
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>
วิธีแก้ปัญหาเมื่อลืม รหัสผ่านของ root ใน MySQL
มีความเป็นไปได้มากกับ การลืมรหัสผ่านของ user root ของ MySQL ไม่ต้องตกใจครับมีวิธีการแก้ปัญหา
ดังคำาสั่งดังต่อไปนี้
[root@server1 ~]# /etc/init.d/mysqld stop
[root@server1 ~]# /usr/bin/mysqld_safe user=
root skipgranttables
&
[root@server1 ~]# mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.0.45 Source distribution
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> UPDATE mysql.user SET Password = PASSWORD('newpassword‘) WHERE
User = 'root';
mysql> FLUSH PRIVILEGES;
mysq> \q
[root@server1 ~]# mysqladmin shutdown
[root@server1 ~]# /etc/init.d/mysqld start
จะเห็นว่าเราต้องหยุด การทำางานของ MySQL ก่อน แล้วจึงสั่งให้ MySQL ทำางานอีกครั้งหนึ่งโดยใช้
ออปชัน skipgranttables
หลังจากนั้นก็สามารถ เข้าใช้งาน MySQL ได้โดยไม่ต้องใส่รหัสผ่าน เมื่อเข้า
มาได้แล้วก็ทำาการ เปลี่ยนรหัสผ่านโดยใช้คำาสั่ง update
การอัพเกรด MySQL เป็นเวอร์ชันล่าสุด
CentOS 5.2 มาพร้อมกับ MySQL เวอร์ชัน 5.0.45 ถ้าต้องการเวอร์ชันที่ใหม่กว่านี้สามารถดาวน์โหลดได้ที่
http://dev.mysql.com/downloads/mysql/5.1.html หัวข้อ
• Linux x86 generic RPM (dynamically linked) downloads หรือ
• Linux AMD64 / Intel EM64T generic RPM downloads 
ขึ้นอยู่ CPU ที่ท่านใช้อยู่ โดยดาวน์โหลดทุกไฟล์ในหัวข้อที่ตรงกับ CPU ที่ท่านใช้งานอยู่ ดาวน์โหลดมา
เรียบร้อยแล้วให้ดำาเนินการ ดังนี้
1) ถ้ามีฐานข้อมูลอยู่ให้สำารองข้อมูลด้วยคำาสั่ง mysqldump เพื่อความปลอดภัย
2) หยุดการทำางานของ MySQL ด้วยคำาสั่ง /etc/init.d/mysqld stop
3) ลบ MySQL เวอร์ชันที่ติดมากับ CentOS5.2 โดยใช้คำาสั่ง yum remove mysql-server
4) ไฟล์ที่ดาวน์โหลดมามีดังนี้
[root@server1 mysql_install]# ls
MySQL-client-5.1.32-0.glibc23.i386.rpm MySQL-server-5.1.32-0.glibc23.i386.rpm
MySQL-debuginfo-5.1.32-0.glibc23.i386.rpm MySQL-shared-5.1.32-0.glibc23.i386.rpm
MySQL-devel-5.1.32-0.glibc23.i386.rpm MySQL-shared-compat-5.1.32-0.glibc23.i386.rpm
MySQL-embedded-5.1.32-0.glibc23.i386.rpm MySQL-test-5.1.32-0.glibc23.i386.rpm
5) ติดตั้งโดยใช้คำาสั่ง rpm -Uvh --force MySQL-*.rpm
[root@server1 mysql_install]# rpm Uvh
force
MySQL*.
rpm
Preparing... ########################################### [100%]
1:MySQLsharedcompat
########################################### [ 13%]
2:MySQLdevel
########################################### [ 25%]
3:MySQLclient
########################################### [ 38%]
4:MySQLdebuginfo
########################################### [ 50%]
5:MySQLembedded
########################################### [ 63%]
6:MySQLserver
########################################### [ 75%]
7:MySQLshared
########################################### [ 88%]
8:MySQLtest
########################################### [100%]
ติดตั้งเสร็จระบบจะสตา ร์ท MySQL ให้เองทันที เราก็สามารถเข้าใช้งานฐานข้อมูลได้เลยโดยใช้ ผู้ใช้ และ
รหัสผ่านเดิม
[root@server1 mysql_install]# mysql u
root p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.1.32 MySQL Community Server (Copyright 20002008
MySQL
AB, 2008 Sun Microsystems, Inc. All rights reserved. Use is subject
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>
ข้อควรระวัง
ไฟล์ start script ที่อยู่ใน /etc/init.d/ ใน MySQL เวอร์ชันนี้จะชื่อ mysql ไม่ใช่ mysqld เหมือนเวอร์ชันเก่า
เพราะฉะนั้นเวลาสั่ง สตาร์ท mysql เวอร์ชันนี้ ต้องใช้คำาสั่ง /etc/init.d/mysql start หรือ service mysql start
ถ้าหากไม่คุ้นเคยก็สามารถเปลี่ยนชื่อไฟล์จาก /etc/init.d/mysql เป็น /etc/init.d/mysqld ได้เช่นกัน 

วันพุธที่ 9 พฤษภาคม พ.ศ. 2555

รายงานการพัฒนาบทเรียนคอมพิวเตอร์ช่วยสอน ชุด เศรษฐศาสตร์ในชีวิตประจำวัน กลุ่มสาระการเรียนรู้สังคมศึกษา ศาสนา และวัฒนธรรม สำหรับนักเรียนชั้นประถมศึกษาปีที่ 3 โรงเรียนไขศรีปราโมชอนุสรณ์

ผู้รายงาน : นางสาวพิศมัย พาละพล
ปีที่ศึกษา : 2554
บทคัดย่อ
         การศึกษาการพัฒนาบทเรียนคอมพิวเตอร์ช่วยสอน ชุด เศรษฐศาสตร์ในชีวิตประจำวัน กลุ่มสาระการเรียนรู้สังคมศึกษา ศาสนา และวัฒนธรรม สำหรับนักเรียนชั้นประถมศึกษาปีที่ 3 โรงเรียนไขศรีปราโมชอนุสรณ์ ครั้งนี้มีวัตถุประสงค์เพื่อหาประสิทธิภาพของบทเรียนคอมพิวเตอร์ช่วยสอน ชุด เศรษฐศาสตร์ในชีวิตประจำวัน กลุ่มสาระการเรียนรู้สังคมศึกษา ศาสนา และวัฒนธรรม สำหรับนักเรียนชั้นประถมศึกษาปีที่ 3 เพื่อเปรียบเทียบผลสัมฤทธิ์ทางการเรียนของนักเรียนชั้นประถมศึกษาปีที่ 3 ก่อนและหลังเรียนจากบทเรียนคอมพิวเตอร์ช่วยสอน ชุด เศรษฐศาสตร์ในชีวิตประจำวัน กลุ่มสาระการเรียนรู้สังคมศึกษา ศาสนา และวัฒนธรรม และศึกษาความคิดเห็นของนักเรียนชั้นประถมศึกษาปีที่ 3 ที่มีต่อจัดการเรียนการสอนโดยใช้บทเรียนคอมพิวเตอร์ช่วยสอน ชุด เศรษฐศาสตร์ในชีวิตประจำวัน กลุ่มสาระการเรียนรู้สังคมศึกษา ศาสนา และวัฒนธรรม
         กลุ่มตัวอย่างที่ใช้ในการศึกษาครั้งนี้ ได้แก่ นักเรียนชั้นประถมศึกษาปีที่ 3/2 โรงเรียน ไขศรีปราโมชอนุสรณ์ ได้มาโดยการเลือกแบบเจาะจง เป็นห้องที่ผู้รายงานได้รับมอบหมายให้ดำเนินการสอนในภาคเรียนที่ 2 ปีการศึกษา 2554 จำนวน 38 คน
         เครื่องมือที่ใช้ในการศึกษา ได้แก่ บทเรียนคอมพิวเตอร์ช่วยสอน ชุด เศรษฐศาสตร์ในชีวิตประจำวัน แบบทดสอบวัดผลสัมฤทธิ์ทางการเรียน แบบฝึกหัด และแบบสอบถามความคิดเห็นของนักเรียนที่มีต่อการจัดการเรียนการสอนโดยใช้บทเรียนคอมพิวเตอร์ช่วยสอน ชุด เศรษฐศาสตร์ในชีวิตประจำวัน
         สถิติที่ใช้ในการวิเคราะห์ข้อมูลได้แก่ ค่าร้อยละ ค่าเฉลี่ย ส่วนเบี่ยงเบนมาตรฐาน การทดสอบสมมติฐานใช้ t-test

ผลการศึกษาพบว่า
1. บทเรียนคอมพิวเตอร์ช่วยสอน ชุด เศรษฐศาสตร์ในชีวิตประจำวัน กลุ่มสาระการเรียนรู้สังคมศึกษา ศาสนา และวัฒนธรรม สำหรับนักเรียนชั้นประถมศึกษาปีที่ 3 มีประสิทธิภาพเท่ากับ 83.95/82.76
2. นักเรียนมีผลสัมฤทธิ์ทางการเรียนหลังเรียนจากบทเรียนคอมพิวเตอร์ช่วยสอน ชุด เศรษฐศาสตร์ในชีวิตประจำวัน กลุ่มสาระการเรียนรู้สังคมศึกษา ศาสนา และวัฒนธรรม สำหรับนักเรียนชั้นประถมศึกษาปีที่ 3 สูงกว่าก่อนเรียน มีความแตกต่างกันอย่างมีนัยสำคัญทางสถิติ ที่ระดับ .05
3. นักเรียนมีความคิดเห็นต่อการจัดการเรียนการสอนโดยใช้บทเรียนคอมพิวเตอร์ช่วยสอน ชุด เศรษฐศาสตร์ในชีวิตประจำวัน กลุ่มสาระการเรียนรู้สังคมศึกษา ศาสนา และวัฒนธรรมสำหรับนักเรียนชั้นประถมศึกษาปีที่ 3 ในภาพรวมอยู่ในระดับมากที่สุด

ปัญหาใหม่

ปัญหาใหม่
  1. ข้อมูลในฮาร์ดดีสก์หาย กู้โดยใช้โปรแกรม Recover My Files
  2. ลืมแบ่งพาทิชั่นใช้โปรแกรม MiniTool Partition Wizard Home Edition
โอเค เลย

วันอังคารที่ 17 เมษายน พ.ศ. 2555

ดูการทำงานของ log

tail -f /var/log/squid/access.log

tail -f /var/log/messages