Moxa DA-681A-I-DPP-T-LX [20/79] Etc nsswitch conf

Moxa DA-681A-I-DPP-T-LX [20/79] Etc nsswitch conf
DA-681A Series Linux Managing Communications
3-4
#
# resolv.conf This file is the resolver configuration file
# See resolver(5).
#
#nameserver 192.168.1.16
nameserver 168.95.1.1
nameserver 140.115.1.31
nameserver 140.115.236.10
MOXA:/etc#
/etc/nsswitch.conf
This file defines the sequence of files, /etc/hosts or /etc/resolv.conf, to be read to resolve the IP address.
The hosts line in /etc/nsswitch.conf means use /etc/host first and DNS service to resolve the address.
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd: compat
group: compat
shadow: compat
hosts: files dns
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
Apache Web Server
Default Homepage
The Apache web server’s main configuration file is /etc/apache2/sites-available/000-default.conf, with
the default homepage located at /var/www/html/index.html.
Save your own homepage to the following directory:
/var/www/html/
Save your CGI page to the following directory:
/var/www/html/cgi-bin/
Before you modify the homepage, use a browser (such as Microsoft Internet Explore or Mozilla Firefox) from
your PC to test if the Apache web server is working. Type the LAN1 IP address in the browser’s address box to
open the homepage. For example, if the default IP address 192.168.3.127 is still active, type:
http://192.168.3.127/

Содержание

Скачать