MRatWork Forum by Mustafa Ramadhan - [ASK] Tentang nginx

Sponsor:
Server and Web Integrator
Link:
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:

MRatWork Forum | Please login or register. | 2017-11-07, 22:05:47

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- [ASK] Tentang nginx

« previous next »

- Print

Pages: [1] Go Down

### Author Topic: [ASK] Tentang nginx (Read 1804 times)

0 Members and 1 Guest are viewing this topic.

#### leonard

- Valuable Member
- Posts: 93
- Karma: +0/-0
- Gender:

##### [ASK] Tentang nginx

« on: 2016-02-17, 18:14:39 »
Mohon tanya boss bagaimana caranya install "nginx" via SSH, sebab pd Component Info terlihat 'package nginx is not installed'. Sama halnya utk "lighttpd" sekalian, boss.
Mohon bantuannya, terima kasih.
« Last Edit: 2016-02-17, 18:21:50 by leonard »
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: [ASK] Tentang nginx

« Reply #1 on: 2016-02-18, 00:38:39 »
Coba saja infokan 'sh /script/sysinfo'.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### leonard

- Valuable Member
- Posts: 93
- Karma: +0/-0
- Gender:

##### Re: [ASK] Tentang nginx

« Reply #2 on: 2016-02-18, 06:08:40 »
Code: [Select]

    [root@server1 ~]# sh /script/sysinfo
    A. Control Panel:
       - Kloxo-MR: 7.0.0.b-2016021403
       - Web: hiawatha-10.1.0-f.6.mr.el6.x86_64
       - PHP: php54s-5.4.45-2.w6 (cgi mode)
    B. Plateform:
       - OS: CentOS release 6.7 (Final) x86_64
       - Hostname: server1....com
    C. Services:
       1. MySQL: mysql55-5.5.47-1.ius.el6.x86_64
       2. PHP:
          - Branch: php54-cli-5.4.45-1.ius.el6.x86_64
          - Multiple:
            * php52m-5.2.17-102.mr.el6
            * php53m-5.3.29-1.ius.el6
            * php54m-5.4.45-2.w6
            * php55m-5.5.30-1.ius.el6
            * php56m-5.6.16-1.ius.el6
          - Used: php54m
       3. Httpd: httpd-2.2.31-1.mr.el6.x86_64
          - PHP Type: php-fpm_event
       4. Lighttpd: --uninstalled--
       5. Hiawatha: --unused--
       6. Nginx: --uninstalled--
       7. Cache: --uninstalled--
       8. Dns: bind-9.9.7-1.mr.el6.x86_64
       9. Qmail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
          - with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.x86_64
    D. Memory:
                    total       used       free     shared    buffers     cached
       Mem:          3072        544       2527        133          0        516
       -/+ buffers/cache:         27       3044
       Swap:            0          0          0
    E. Disk Space: ....

terlihat Lighttpd dan Nginx: --uninstalled--, saya kepingin install keduanya.
« Last Edit: 2016-02-18, 06:11:45 by leonard »
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: [ASK] Tentang nginx

« Reply #3 on: 2016-02-18, 06:27:12 »
Pilih 'nginx' atau 'nginx-proxy' di 'switch programs'. Web di server anda sekarang adalah apache 2.2.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### leonard

- Valuable Member
- Posts: 93
- Karma: +0/-0
- Gender:

##### Re: [ASK] Tentang nginx

« Reply #4 on: 2016-02-18, 08:34:10 »
OK boss, skr sudah terlihat di sysinfo:
Nginx: nginx-1.9.11-1.el6.ngx.x86_64
Thank you.
Logged

#### leonard

- Valuable Member
- Posts: 93
- Karma: +0/-0
- Gender:

##### Re: [ASK] Tentang nginx

« Reply #5 on: 2016-02-18, 11:14:45 »
Jika saya ingin deploying module ngx spt http://nginx.org/en/docs/http/ngx_http_proxy_module.html > Lalu jika saya inginkan:
Syntax : proxy_busy_buffers_size size;
Default: proxy_busy_buffers_size 8k|16k;
Context: http, server, location
Dimanakah atau di folder file mana hrs saya tambahkan syntax tsb..? Mohon petunjuk boss.
Maklum agak bingung saya dimana tidak dijelaskan di files mana hrs ditambahkan...
« Last Edit: 2016-02-18, 11:16:37 by leonard »
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: [ASK] Tentang nginx

« Reply #6 on: 2016-02-18, 12:13:08 »
Quote from: leonard on 2016-02-18, 11:14:45

> Jika saya ingin deploying module ngx spt http://nginx.org/en/docs/http/ngx_http_proxy_module.html > Lalu jika saya inginkan:
> Syntax : proxy_busy_buffers_size size;
> Default: proxy_busy_buffers_size 8k|16k;
> Context: http, server, location
> Dimanakah atau di folder file mana hrs saya tambahkan syntax tsb..? Mohon petunjuk boss.
> Maklum agak bingung saya dimana tidak dijelaskan di files mana hrs ditambahkan...

Module ini sudah built-in di nginx dan berguna untuk mem-proxy dari nginx ke apache. Jika anda pilih nginx proxy maka parameter yang anda tanyakan sudah di-declare di /opt/configs/nginx/conf/globals/proxy_standard.conf dan proxy_wildcards.conf. Jadi, tidak perlu di-utak-utik lagi.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### leonard

- Valuable Member
- Posts: 93
- Karma: +0/-0
- Gender:

##### Re: [ASK] Tentang nginx

« Reply #7 on: 2016-02-18, 12:27:08 »
Quote from: MRatWork on 2016-02-18, 12:13:08

> Module ini sudah built-in di nginx dan berguna untuk mem-proxy dari nginx ke apache. Jika anda pilih nginx proxy maka parameter yang anda tanyakan sudah di-declare di /opt/configs/nginx/conf/globals/proxy_standard.conf dan proxy_wildcards.conf. Jadi, tidak perlu di-utak-utik lagi.

Waduh boss.. justru saya memilih nginx karena jika saya pilih nginxproxy semua jadi error, boss!
Nah.. jika saya pilih nginx maka lancar tanpa error. Tapi "pagespeed module"nya tidak ada.
Apakah saya perlu tambahkan atau di-install aja spt berikut:
cd NGINX_VERSION=1.9.11
wget http://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz
tar -xvzf nginx-${NGINX_VERSION}.tar.gz
cd nginx-${NGINX_VERSION}/
./configure --add-module=$HOME/ngx_pagespeed-release-${NPS_VERSION}-beta
make
make install
Mohon koreksi jika salah, makasih.
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: [ASK] Tentang nginx

« Reply #8 on: 2016-02-18, 12:30:47 »
Yang anda maksud error jika pakai nginx-proxy itu apa?.
Module tambahan di nginx harus di-embed ke nginx. Atau dengan kata lain harus di-compile.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### leonard

- Valuable Member
- Posts: 93
- Karma: +0/-0
- Gender:

##### Re: [ASK] Tentang nginx

« Reply #9 on: 2016-02-18, 13:03:11 »
Jika nginxproxy -> Error sewaktu menjalankan php script rapidleech, jika nginx tidak.
Ya betul.. sebelumnya saya harus menjalankan / download ngx_pagespeed dan binary PSOL (PageSpeed Optimization Library).
« Last Edit: 2016-02-18, 13:05:27 by leonard »
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: [ASK] Tentang nginx

« Reply #10 on: 2016-02-18, 13:10:12 »
Saran saya anda pilih nginx-proxy. Jika website anda perlu nginx standalone, pilih 'front-end' pada 'web / php selector' pada domain terkait.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### leonard

- Valuable Member
- Posts: 93
- Karma: +0/-0
- Gender:

##### Re: [ASK] Tentang nginx

« Reply #11 on: 2016-02-18, 16:08:58 »
Quote from: MRatWork on 2016-02-18, 13:10:12

> pilih 'front-end' pada 'web / php selector' pada domain terkait.

Di sebelah mana tuh boss, saya cari gak ketemu itu web / php selector..?
Logged

#### zenkul

- Global Moderator
- Master
- Posts: 383
- Karma: +3/-0

##### Re: [ASK] Tentang nginx

« Reply #12 on: 2016-02-18, 16:15:30 »
centang dulu 'multiple php' pada 'php configure'
Logged
easy, secure and speed up web panel ===> Kloxo-MR

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: [ASK] Tentang nginx

« Reply #13 on: 2016-02-18, 16:29:46 »
Quote from: zenkul on 2016-02-18, 16:15:30

> centang dulu 'multiple php' pada 'php configure'

Saya akan ubah 'aturannya'. Pilihan 'web / php selector' selalu akan ada. Jika tidak di-enable 'multiple php' maka tidak ada pilihan untuk php.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

- Print

Pages: [1] Go Up
« previous next »

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- [ASK] Tentang nginx

Top 10 Social Networking: Facebook Twitter LinkedIn Pinterest Google Plus Tumblr Instagram VK Flickr Vine

- Design By SMFSimple.com
- SMF 2.0.14 | SMF © 2017, Simple Machines

Page created in 0.044 seconds with 17 queries.

Mirror created by MasterkinG32.CoM