กำหนด MAX_CONNECTIONS MySQL

วันจันทร์ที่ 19 กุมภาพันธ์ พ.ศ. 2561

  1. root@server:~#   mysql -u root -p
  2. mysql> show variables like "max_connections"; (ไว้สำหรับดูค่าของ max_connections mysql เดิม )
  3. mysql> set global max_connections = 300; (300 คือค่าจำนวนของ max_connection ที่ต้องการ)

graylog2

วันอังคารที่ 3 ตุลาคม พ.ศ. 2560

https://www.linode.com/docs/uptime/monitoring/how-to-install-and-configure-graylog2-on-debian-9

netstat Use Post MYSQL

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

netstat -na | grep 3306

Disable Post On Linux

วันจันทร์ที่ 29 พฤษภาคม พ.ศ. 2560

/etc/rc.d/rc.local

----- Code -----
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.

touch /var/lock/subsys/local
#Disable Post  
sudo fuser -k 10001/tcp

--- Code --

Yii2 Tabs

วันศุกร์ที่ 3 กุมภาพันธ์ พ.ศ. 2560

  <?php $form = ActiveForm::begin(['id' => 'contact-form']); ?>
  <?= Tabs::widget([
          'items' => [
              [
                  'label' => 'One',
                  'content' => $this->render('contact_form1', ['model' => $model, 'form' => $form]),
                  'active' => true
              ],
              [
                  'label' => 'Two',
                  'content' => $this->render('contact_form2', ['model' => $model, 'form' => $form]),
              ],

              [
                  'label' => 'Two',
                  'content' => $this->render('contact_form2', ['model' => $model, 'form' => $form]),
              ],

              [
                  'label' => 'Two',
                  'content' => $this->render('contact_form2', ['model' => $model, 'form' => $form]),
              ],

              [
                  'label' => 'Two',
                  'content' => $this->render('contact_form2', ['model' => $model, 'form' => $form]),
              ],

              [
                  'label' => 'Two',
                  'content' => $this->render('contact_form2', ['model' => $model, 'form' => $form]),
              ],
          ]]);
   ?>
      <?php ActiveForm::end(); ?>

yii2-adminlte

วันอังคารที่ 17 มกราคม พ.ศ. 2560

Link :  https://devhub.io/repos/funson86-yii2-adminlte

Excel Change text

วันพฤหัสบดีที่ 15 กันยายน พ.ศ. 2559

Change text to

upper, 

lower, 

proper (normal) 

font - Excel

 

Most Reading

Sidebar One