แสดงกระทู้

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - lovenongkhae

หน้า: [1]
1
สวัสดีค่ะ
พอดีได้รับหัวข้อมาในการทำรายงาน ดูผลแลป 5 ปีย้อนหลังของบุคลากรโรงพยาบาล โดยให้แสดง ผลแลป1 ตัว ทั้ง 5 ปี ของพนักงานเลย โดยสามารถเลือกปี พ.ศ ได้ค่ะ ว่าจะเอาจาก พ.ศ ไหน ถึง ไหน เช่น มีผลแลปในการตรวจสุขภาพ 10 ตัว ก็แสดงของคนที่ 1 10 ตัวให้หมดก่อน แล้วค่อยเริ่ม คนที่ 2 ค่ะ

ใครพอมีไอเดีย หรือวิธีการดึงข้อมูล รบกวนช่วยชี้แนะทีนะคะ เป็นมือใหม่หัดทำรายงานค่ะ ขอบคุณทุกๆแนวคิดค่ะ

2
Set Clarkconnect 5.0  ให้เห็น ip เป็น www จะต้อง ไป Set ตรงไหนครับ
3BB เปลี่ยน Fix IP ของ ร.พ. เป็น 110.164.113.142 
ns1.3bb.co.th
ns2.3bb.co.th
dns1 =202.69.137.137
dns2=202.69.137.138

จด domain name www.nongkhae.net ไว้ 5ปี

ตอนนี้ทำ Server ใหม่ เพื่อรองรับ Datacenter คิดว่า Set CC เหมือนเดิมแล้ว แต่เข้าเว็บผ่าน Fix IP ได้ คือ http://110.164.113.142/ (ยืมของอยุธยามายังไม่ได้แก้ไข) แต่อยากให้เป็น www.nongkhae.net เหมือนเดิม ต้อง Set CC ตรงไหนครับ

ขอบคุณท่านผู้รู้ครับ


3
จะทำ Server ใหม่ ติดตั้ง CentOS 4.8 64 Bit เลือก Package น้อยสุด+ Percona-Server-server-51-5.1.47 ไม่สำเร็จสักที ลงหลายครั้งแล้วครับ จะขึ้น Error ประมาณนี้ครับ

[root@nongkhae ~]# cd Mysql bash: cd: Mysql: No such file or directory

[root@nongkhae ~]# ls anaconda-ks.cfg  Desktop  install.log  install.log.syslog  MySQL

[root@nongkhae ~]# cd MySQL

[root@nongkhae MySQL]# ls

limits.conf
my.cnf

Percona-Server-client-51-5.1.47-rel11.1.51.rhel4.x86_64.rpm

Percona-Server-devel-51-5.1.47-rel11.1.51.rhel4.x86_64.rpm

Percona-Server-server-51-5.1.47-rel11.1.51.rhel4.x86_64.rpm

Percona-Server-shared-51-5.1.47-rel11.1.51.rhel4.x86_64.rpm

rc.local

[root@nongkhae MySQL]# rpm -ivh Percona-Server-client-51-5.1.47-rel11.1.51.rhel4.x86_64.rpm --nodeps --force

warning: Percona-Server-client-51-5.1.47-rel11.1.51.rhel4.x86_64.rpm: V3 DSA signature: NOKEY, key ID cd2efd2a
Preparing...
                                             ########################################### [100%]
   
1:Percona-Server-client-5########################################### [100%]

[root@nongkhae MySQL]# rpm -ivh Percona-Server-shared-51-5.1.47-rel11.1.51.rhel4.x86_64.rpm --nodeps --force

warning: Percona-Server-shared-51-5.1.47-rel11.1.51.rhel4.x86_64.rpm: V3 DSA signature: NOKEY, key ID cd2efd2a
Preparing...                ########################################### [100%]
   
1:Percona-Server-shared-5########################################### [100%]

[root@nongkhae MySQL]# rpm -ivh Percona-Server-server-51-5.1.47-rel11.1.51.rhel4.x86_64.rpm --nodeps --force

warning: Percona-Server-server-51-5.1.47-rel11.1.51.rhel4.x86_64.rpm: V3 DSA signature: NOKEY, key ID cd2efd2a
Preparing...                ########################################### [100%]
   
1:Percona-Server-server-5########################################### [100%]

Warning: World-writable config file '/etc/my.cnf' is ignored

Warning: World-writable config file '/etc/my.cnf' is ignored

Warning: World-writable config file '/etc/my.cnf' is ignored


PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !

To do so, start the server, then issue the following commands:

/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h
nongkhae password 'new-password'


Alternatively you can run:
/usr/bin/mysql_secure_installation

which will also give you the option of removing the test
databases and anonymous user created by default. 
This is
strongly recommended for production servers.

See the manual for more instructions.

Please report any problems with the /usr/bin/mysqlbug script!


For commercial support please contact Percona at http://www.percona.com/contacts.html



Notes regarding SELinux on this platform:
=========================================


The default policy might cause server startup to fail because it is
not allowed to access critical files. In this case, please update
your installation.


The default policy might also cause inavailability of SSL related
features because the server is not allowed to access /dev/random
and /dev/urandom.
If this is a problem, please do the following:

 
1) install selinux-policy-targeted-sources from your OS vendor
 
2) add the following two lines to /etc/selinux/targeted/src/policy/domains/program/mysqld.te:
     
 allow mysqld_t random_device_t:chr_file read;
       
allow mysqld_t urandom_device_t:chr_file read;
 
3) cd to /etc/selinux/targeted/src/policy and issue the following command:
       make load



Warning: World-writable config file '/etc/my.cnf' is ignored
Warning:
World-writable config file '/etc/my.cnf' is ignored

Starting MySQL.[  OK  ]
Giving mysqld 2 seconds to start

[root@nongkhae MySQL]#



หน้า: [1]