Ad Widget

Collapse

About /www/html/

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AlBo
    Junior Member
    • Oct 2017
    • 1

    #1

    About /www/html/

    Hi,

    Yesterday I spent 3 hours to try to understand why I couldn't access to zabbix after installing it!

    I've done a fresh install and when you install Apache, it creates a www/html/index.php presentation page.

    I've installed zabbix via packages on Ubuntu and never you notice that zabbix make use www/html.

    it's only after spending hours parsing all installation pages that I saw few lines above this paragraph , some thing which says:

    2 Installing Zabbix web interface
    Copying PHP files

    Zabbix frontend is written in PHP, so to run it a PHP supported webserver is needed. Installation is done by simply copying the PHP files from frontends/php to the webserver HTML documents directory.

    Common locations of HTML documents directories for Apache web servers include:

    /usr/local/apache2/htdocs (default directory when installing Apache from source)
    /srv/www/htdocs (OpenSUSE, SLES)
    /var/www/html (Debian, Ubuntu, Fedora, RHEL, CentOS)

    ....
    So I guessed that could be the reason I cannot reach zabbix even if it's not clearly said here!
    Anyway, we only see this paragraph if we install zabbix from sources, not from package!

    So please could you add a warning in the install from package procedure?

    Regards,
    Al
  • SBO
    Zabbix Certified Specialist
    Zabbix Certified Specialist
    • Sep 2015
    • 226

    #2
    Hi,

    The webpage you refer is when you compile yourself Zabbix.

    With the packages, you just need to install the php frontend, and your zabbix server will be available through http://yourhost/zabbix

    Installing packages

    Here is an example for Zabbix server and web frontend installation with MySQL database:

    # yum install zabbix-server-mysql zabbix-web-mysql
    (Reference : https://www.zabbix.com/documentation...ion_with_mysql)

    So.. Yeah, it is written.

    Comment

    Working...