บริษัท กสท โทรคมนาคม จำกัด ( มหาชน ) ทดสอบบน FC4.

Slides:



Advertisements
งานนำเสนอที่คล้ายกัน
Strength of Materials I EGCE201 กำลังวัสดุ 1
Advertisements

E-COMMERCE WEBSITE Smartzap Co., Ltd.. Company Profile บริษัท สมาร์ทแซป จำกัด ก่อตั้งเมื่อปี 2543 (13 ปี ) ในช่วงยุค Internet เพิ่ง เริ่มต้น เป็นบริษัทที่ดำเนินงานทางด้าน.
John Rawls  John Rawls is the most famous American social contract theorist argued that “Justice is fairness” He Thought human natural have a appropriate.
หลักการและแนวคิดการนำ สื่ออิเล็กทรอนิกส์ มาใช้ใน การเรียนการสอน ผศ. นพ. ทรงพล ศรีสุโข 30 ก. ย
THE PARTS OF A FLOWERING PLANT AND THEIR FUNTION.
Set is a basic term in Mathematics. There is no precise definition for term “set”, But roughly speaking, a set is a collection of objects, Things or symbols,
ขั้นตอนวิธีและเครื่องมือในการพัฒนาโปรแกรม (ต่อ)
จำนวน สถานะ NUMBER OF STATES. ประเด็นที่ สนใจ The number of distinct states the finite state machine needs in order to recognize a language is related.
L/O/G/O. •PariyapornPisutsinNo.3 •PitchayaPattamapornpongNo.6 •AtthitayaThipsukhumNo.8 Class 4/4 Mahidol Wittayanusorn School •PariyapornPisutsinNo.3.
Chapter 9 : Designing Approach
Graphical User Interface charturong.ee.engr.tu.ac.th/CN208
Penetration Testing – A Case Study of Khon Kaen University Networks
Braille OCR Mobile Application
รู้จักกับเทคโนโลยี RFID เบื้องต้น
Database Management System
VARIABLES, EXPRESSION and STATEMENTS. Values and Data Types Value เป็นสิ่งพื้นฐาน มีลักษณะเป็น ตัวอักษร หรือ ตัวเลข อาทิ 2+2 หรือ “Hello world” Value.
อาจารย์ มธ. อธิบายการใช้ โมเดลของ
Data Structures and Algorithms
ระบบการจัดเก็บในคลังสินค้า
: Chapter 1: Introduction 1 Montri Karnjanadecha ac.th/~montri Image Processing.
Color Standards A pixel color is represented as a point in 3-D space. Axis may be labeled as independent colors such as R, G, B or may use other independent.
ออโตมาตาจำกัด FINITE AUTOMATA
REGULAR EXPRESSION การบรรยายแบบสม่ำเสมอ
Shell Script Programming (Function)
Chapter 19 Network Layer: Logical Addressing
Inductive, Deductive Reasoning ผศ.( พิเศษ ) น. พ. นภดล สุชาติ พ. บ. M.P.H.
Course Software Engineering SE Overview and Introduction.
Problem with Subjunctive Verbs Some verbs and noun require a subjunctive. A subjunctive is a change in the usual form of the verb. It is often a verb word.
การใช้งานลีนุกซ์ขั้นพื้นฐาน ธวัชชัย เอี่ยมไพโรจน์.
ผศ.ดร.สุพจน์ นิตย์สุวัฒน์
การออกแบบและพัฒนาซอฟต์แวร์ บทที่ 7 การทดสอบโปรแกรม
8/3/2014The Realities of software Testing1 Software testing Realities What is the realities of software testing Why does the software testing not complete.
Merchant Marine Training Centre วิชาการเป็นเลิศ เชิดชู คุณธรรม ผู้นำ.
Exercise 4: Page 41.
Sawit Soothipunt Senior Product Manager Microsoft (Thailand) Limited.
Page: 1 โครงสร้างคอมพิวเตอร์ และภาษาแอสเซมบลี้ ผศ. บุรินทร์ รุจจน พันธุ์.. ปรับปรุง 19 ตุลาคม 2555 Introduction to Batch.
โดย นรฤทธิ์ สุนทรศารทูล สถาบันเทคโนโลยีพระจอมเกล้าเจ้าคุณทหารลาดกระบัง
Merchant Marine Training Centre วิชาการเป็นเลิศ เชิดชู คุณธรรม ผู้นำ.
Menu and Interactive with Powerpoint ให้นำเรื่อง Input /Output Technology มา จัดทำ การนำเสนอ โดยใช้หลักการ Menu and Interactive with powerpoint มาประยุกต์
Enhanced Entity-Relationship Model © Pearson Education Limited 1995, 2005.
Algorithm Efficiency There are often many approaches (algorithms) to solve a problem. How do we choose between them? At the heart of computer program.
วิธีการ Auto ship.
Introduction to Earned Value Analysis.
iWaLL โดย 1. นายวีกิจ สัจจะมโนรมย์
STACK ADT By Pantharee S.. Stack Model  A list with the restriction that insertions deletions can be performed in only one position (LIFO)  Push – insert.
จัดทำโดย นางสาวทิพยรัตน์ กำลังมาก เลขที่ 19 นางสาวปัญณิศา ป้องขันธ์ เลขที่ 26 นางสาวพรวษาทวีกุล เลขที่ 27 นางสาววลัยลักษณ์ ขวัญคุ้ม เลขที่ 34 นางสาวอมรรัตน์
ผัก. หน่อไม้ ฝรั่ง กะหล่ำ ปลี แค รอท กะหล่ำ ดอก.
การสร้าง WebPage ด้วย Java Script Wachirawut Thamviset.
ทุนทางปัญญา Intellectual Capital KM743 Session 3.1
Chapter 3 Simple Supervised learning
21 August ดรุณี ศมาวรรตกุล 1 2. ADT List - Unsorted list ADT - list implementation - Sorted List - Circular list - Doubly linked list.
UNIT 4 USING THE TELEPHONE. Expressions Can I help you ? - Yes, of course. - No, thank you. May I help you ? - Yes, thank you. - No, I’m sorry. What can.
An Online Computer Assisted Instruction Development of Electronics Devices Subject for Learning Effectiveness Testing By Assoc.Prof. Suwanna Sombunsukho.
Bitcoin Mining. Hello, I’m Pawaris and I love Bitcoin.
 Mr.Nitirat Tanthavech.  HTML forms are used to pass data to a server.  A form can contain input elements like text fields, checkboxes, radio-buttons,
ว เคมีพื้นฐาน พันธะเคมี
Static Libraries ธวัชชัย เอี่ยมไพโรจน์. Static Libraries It is the simplest form of library. It is a collection of object files kept together in a ready-to-use.
ภาษาอังกฤษ ชั้นมัธยมศึกษาปึที่ 4 Grammar & Reading ครูรุจิรา ทับศรีนวล.
PHP FRAMEWORK – Web Programming and Web Database Asst. Prof. Dr. Choopan Rattanapoka.
PHP: Session. What is a PHP Session? Session variables solve this problem by storing user information to be used across multiple pages (e.g. username,
ZWSP Word break, Space and Search Engine Wason Liwlompaisan Blognone Co-Founder, Software Developer, most of all I'm just a geek.
1. นี่เป็นสิ่งที่พระเยซูทรงทำ พระองค์ทรงรักษาทุกคน ที่เจ็บป่วยให้หายดี
การจัดการไฟล์ File Management.
ที่มาและหน่วยงานกาชาดต่างๆ
1. พระเยซูทรงต้องการให้เราเป็น เหมือนพระองค์
The management of change Changes in work patterns and jobs
Forces and Laws of Motion
Workday Merit Process - Approvers
Extreme Programming Explained: Embrace Change
Internal Logos DIY Design Guide V
ใบสำเนางานนำเสนอ:

บริษัท กสท โทรคมนาคม จำกัด ( มหาชน ) ทดสอบบน FC4

Installing MySQL on Linux  The recommended way to install MySQL on Linux is by using the RPM packages.  The MySQL RPMs are currently built on a SuSE Linux 7.3 system, but should work on most versions of Linux that support rpm and use glibc. To obtain RPM packages.  In most cases, you only need to install the MySQL-server and MySQL-client packages to get a functional MySQL installation. The other packages are not required for a standard installation. If you want to run a MySQL-Max server that has additional capabilities, you should also install the MySQL-Max RPM. However, you should do so only after installing the MySQL-server RPM.

Installing MySQL on Linux (Cont.)  If you get a dependency failure when trying to install MySQL packages (for example, “error: removing these packages would break dependencies: libmysqlclient.so.10 is needed by...”), you should also install the package MySQL-shared-compat, which includes both the shared libraries for backward compatibility (libmysqlclient.so.12 for MySQL 4.0 and libmysqlclient.so.10 for MySQL 3.23).

Installing MySQL on Linux (Cont.)  Many Linux distributions still ship with MySQL 3.23 and they usually link applications dynamically to save disk space. If these shared libraries are in a separate package (for example, MySQL-shared), it is sufficient to simply leave this package installed and just upgrade the MySQL server and client packages (which are statically linked and do not depend on the shared libraries). For distributions that include the shared libraries in the same package as the MySQL server (for example, Red Hat Linux), you could either install our 3.23 MySQL- shared RPM, or use the MySQL- shared-compat package instead.

The following RPM packages are available:  MySQL-server-VERSION.i386.rpm The MySQL server. You need this unless you only want to connect to a MySQL server running on another machine. Note: Server RPM files were called MySQL- VERSION.i386.rpm before MySQL That is, they did not have -server in the name.  MySQL-Max-VERSION.i386.rpm The MySQL-Max server. This server has additional capabilities that the one provided in the MySQL-server RPM does not. You must install the MySQL-server RPM first, because the MySQL-Max RPM depends on it.

The following RPM packages are available: (Cont)  MySQL-client-VERSION.i386.rpm The standard MySQL client programs. You probably always want to install this package.  MySQL-bench-VERSION.i386.rpm Tests and benchmarks. Requires Perl and the DBD::mysql module.  MySQL-devel-VERSION.i386.rpm The libraries and include files that are needed if you want to compile other MySQL clients, such as the Perl modules.

The following RPM packages are available: (Cont)  MySQL-shared-VERSION.i386.rpm This package contains the shared libraries (libmysqlclient.so*) that certain languages and applications need to dynamically load and use MySQL.  MySQL-shared-compat-VERSION.i386.rpm This package includes the shared libraries for both MySQL 3.23 and MySQL 4.0. Install this package instead of MySQL- shared if you have applications installed that are dynamically linked against MySQL 3.23 but you want to upgrade to MySQL 4.0 without breaking the library dependencies. This package has been available since MySQL

The following RPM packages are available: (Cont)  MySQL-embedded-VERSION.i386.rpm The embedded MySQL server library (from MySQL 4.0).  MySQL-VERSION.src.rpm This contains the source code for all of the previous packages. It can also be used to rebuild the RPMs on other architectures (for example, Alpha or SPARC).

Command Examples  To see all files in an RPM package (for example, a MySQL-server RPM), run: shell> rpm -qpl MySQL-server- VERSION.i386.rpm  To perform a standard minimal installation, run: shell> rpm -i MySQL-server- VERSION.i386.rpm shell> rpm -i MySQL-client- VERSION.i386.rpm  To install just the client package, run: shell> rpm -i MySQL-client- VERSION.i386.rpm

RPM Data Place  The server RPM places data under the /var/lib/mysql directory. The RPM also creates a login account for a user named mysql (if one does not exist) to use for running the MySQL server, and creates the appropriate entries in /etc/init.d/ to start the server automatically at boot time. (This means that if you have performed a previous installation and have made changes to its startup script, you may want to make a copy of the script so that you don't lose it when you install a newer RPM.)

mysqld and Set up passwords  If the RPM files that you install include MySQL-server, the mysqld server should be up and running after installation. You should be able to start using MySQL.  The accounts that are listed in the MySQL grant tables initially have no passwords. After starting the server, you should set up passwords for them using the instructions : /usr/bin/mysqladmin –u root password ‘new-password’ /usb/bin/mysqladmin –u root –h hostname password ‘new-password’

What is glibc ? Glibc is the GNU project's C standard library, licensed under the LGPL. The lead contributor and maintainer is Ulrich Drepper. In addition to providing the functionality required by Unix98, Single UNIX Specification, POSIX (1c, 1d, and 1j) and some of the functionality required by ISO C99, Glibc also provides extensions which have been deemed useful or necessary while developing GNU. Glibc is very portable, both between different kernels and across different types of hardware. The officially supported hardware includes: x86, m68k, alpha, powerpc, arm, cris, mips, s390, and sparc. The kernels it is known to run on are the Hurd, Linux and the kernels of FreeBSD and NetBSD. It is also used (in an edited form) as the libroot of BeOS and hence Haiku. Glibc version 2 has been referred to by Linux users as libc6, because it replaced the older Linux C library version 5 (libc5). Such usage is uncommon nowadays. As of October 2005, the latest version of Glibc is

การติดตั้ง MySQL  ดาวน์โหลดชุดโปรแกรมที่ จำเป็นเช่น –MySQL-client (Client programs) –MySQL-devel (Libraries and header files) –MySQL-shared (Dynamic client libraries) –MySQL-server (Server)  ติดตั้งโดยใช้คำสั่ง rpm ดัง รูป

การติดตั้ง MySQL ( ต่อ )

การกำหนดรหัสผ่านให้กับยูส เซอร์ root รูปบนยัง ไม่กำหนด รหัสผ่าน

การคอนฟิก MySQL – อ้างอิง hosxp/manual/content/hosxp-linux- mysql-install.html 1.service mysql stop 2.cd /var/lib/mysql 3.rm ib* ( ตอบ y ทั้ง 3 ไฟล์ ) 4.cp /usr/share/mysql/my-medium.cnf /etc/my.cnf ( ตอบ y) 5.vi /etc/my.cnf

การคอนฟิก MySQL (Cont.) 6. ป้อนข้อความ default-character-set = tis620 ใต้บรรทัด myisam_sort_buffer_size = 8M 7. ใส่เครื่องหมาย # หน้าคำว่า log-bin=mysql- bin ( ในส่วนของ Replication Master Server) 8. เอาเครื่องหมาย # ออกจากคำว่า innodb ถ้า ต้องการใช้ InnoDB Tables 9. เปลี่ยนค่า innodb_data_file_path = ibdata1:10M:autoextend จาก 10M เป็น 100M 10. ในส่วนของ [mysqldump] ใต้บรรทัด max_allowed_packet = 16M ให้ป้อนคำว่า allow-keywords 11. บันทึกไฟล์แล้ว restart MySQL

การคอนฟิก MySQL ( ในกรณีการ อัพเกรด, จากประการณ์ผู้บรรยาย ) 1.service mysql stop 2.cp /usr/share/mysql/my-medium.cnf /etc/my.cnf ( ตอบ y) 3.vi /etc/my.cnf 4. ป้อนข้อความ default-character-set = tis620 ใต้บรรทัด myisam_sort_buffer_size = 8M

การใช้งานกับ phpMyAdmin

การติดตั้ง phpMyAdmin  ดาวน์โหลดโปรแกรม phpMyAdmin จาก เว็บไซต์  นำมาติดตั้งบน Web Server ที่สนับสนุน PHP  การติดตั้งใช้วิธีการวางไฟล์ของ phpMyAdmin ไว้ในตำแหน่งที่สามารถ Access เข้าไปได้โดย ผ่าน Browser ได้  ควรคอนฟิกใช้งานให้มีระบบความปลอดภัยเพื่อ ป้องกันการเสียหายของข้อมูลที่อาจจะเกิดขึ้นได้

การคอนฟิก phpMyAdmin แบบ ง่าย  ไฟล์คอนฟิกของ phpMyAdmin ชื่อว่า config.inc.php  ให้แก้ไขเปลี่ยนแปลงค่าของ user และ password ของค่าต่อไปนี้จำนวน 3 จุด ให้ตรง กับ user ของระบบ MySQL $cfg['Servers'][$i]['user'] = 'root'; $cfg['Servers'][$i]['password'] = 'sedwidsawa';  การคอนฟิกแบบนี้ ในตอนเข้าใช้งานไม่ต้องมีการ ป้อน user และ password

การคอนฟิก phpMyAdmin อีก แบบ  ให้เปลี่ยนค่าของคำที่ใช้ในการเข้าและถอดรหัส แบบ blowfish จาก $cfg['blowfish_secret'] = ''; เป็น $cfg['blowfish_secret'] = ‘yourcode'; yourcode เป็นคำที่ใช้ในการเข้าและถอดรหัส แบบ blowfish ยิ่งยาวยิ่งดี  ให้เปลี่ยนค่าของ Authentication Type ของ บรรทัดต่อไปนี้ จาก config เป็น cookie $cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)? ซึ่งเป็นการเปลี่ยนวิธีการตรวจสอบผูใช้จากการฝัง รหัสผ่านลงไปในไฟล์คอนฟิก เป็นการป้อนทางหน้าเว็บ  บันทึกข้อมูลของไฟล์คอนฟิก

การเข้าใช้งาน  ในการเข้าใช้งานให้ป้อน User และรหัสผ่านของ MySQL ( ไม่ใช่ blowfish)

การใช้งานกับ phpMyAdmin ถ้าไม่สามารถใช้งานได้ดังรูป ให้ติดตั้งโปรแกรม php- mysql เข้าไปด้วย

การใช้งานกับ phpMyAdmin ถ้าไม่สามารถใช้งานได้ดังรูป ให้ติดตั้งโปรแกรม php- mysql เข้าไปด้วย

การใช้งานกับ phpMyAdmin Php-mysql แผ่น 1