Академический Документы
Профессиональный Документы
Культура Документы
IP ADDR SHOW
The output of the ip command, showing ntwork interface and address assignments.
In this,we see two network interfaces listed. The first , lo,is the local loopback adapter. The second
listing, eth0,is the wired interface. Given this output, you can deduce that there is a network cable
plugged in (eth0 has an IP address)
Here, we can see the system is set up to check files first, which represents local files, which
include/etc/hosts. If the search is for a local domain and it is not foun, the NOTFOUND=return entry
causes the remainder of the search to abort
/SBIN/IFCONFIG
Here, we can see statistic for both the internal wired connection (eth0) as well as the loopback
adapter(lo). We see HWaddr, which is the MAC address of the network card. We also have inet addr,
which is the IP address that the card was provided by the DHCP server. We also can see the subnet
mask, mask,which is 255.255.255.0 in this case.
PING 192.168.140.31
We get this 192.168.140.31 network connection so that means that we have a network connection.
Ping ww.upsi.edu.my
Ping ww.upsi.edu.my
We get this www.upsi.edu.my network connection so that means that we have a network
connection.
Ping c 4 www.upsi.edu.my
Ping c 4 www.upsi.edu.my
Ping c is used to have ping stop after certain number of tries, so we have use 4 for four attempt and
stop the ping, and then report some basic statistics to you.
IP ADDR SHOW (IPROUTE2)
The information reported is mostly the same ,though the layout is abit different. For example,one
different is that you dont see the number of packets sent aand received ,nor an error count (by
default). In the past, the following command would show the IP addresses in use as well as sent and
received packets.
IP S ADDR SHOW (iproute2)
The output of the ip addr show command with the s flag added
Recent version of the iproute2 suite dont seem to show this information anymore (despite adding
the s swwitch)
Network Manager
The network manager is running so we will see this output. The machine uses network manager, so
there is no configuration for eth0 or wlan0 stored in /etc/network/interfaces.
APTITUDE NETWORK
OPEN SSH
BAB5
Using h with df is easier way to read for most people, as it will show used space in MB and GB
BAB7
INSTALL APACHE 2
Its all about how you install the Apache properly from your package manager. Apaches daemon is
now present with default set of configuration files.
STATUS APACHE2