In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Restart script: [root@localhost init.d] # service web.sh stopSIOCDELRT: No such deviceRealServer Stopd [1]-complete firefox "http://127.0.0.1"[2]+ complete firefox" http://127.0.0.1"[root@localhost init.d] # service web.sh start RealServer Start OK at this time the first node server configuration is complete! Operation of node server CentOS 7-5: [root@localhost ~] # rpm-Q httpdhttpd-2.4.6-90.el7.centos.x86_64 [root@localhost ~] # systemctl start httpd [root@localhost ~] # systemctl stop firewalld.service [root@localhost ~] # setenforce 0 [root@localhost html] # cd / etc/sysconfig/network-scripts/ [root@localhost network-scripts] # lsifcfg-ens33 ifdown-ppp ifup-ib ifup-Teamifcfg-lo ifdown- Routes ifup-ippp ifup-TeamPort [root@localhost network-scripts] # cp ifcfg-lo ifcfg-lo:0 [root@localhost network-scripts] # vim ifcfg-lo:0// delete everything you don't need Then, after the DEVICE=lo:0IPADDR=192.168.100.10NETMASK=255.255.255.0ONBOOT=yes// modification is completed, enter: wq save exit [root@localhost ~] # cd / var/www/html/ [root@localhost html] # echo "this is benet web" > index.html [root@localhost network-scripts] # cd / etc/init.d/ [root@localhost init.d] # vim web.shangxinxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Sbin/ifconfig lo:0$ VIP netmask 255.255.255.255 broadcast $VIP / sbin/route add-host $VIP dev lo:0 echo "1" > / proc/sys/net/ipv4/conf/lo/arp_ignore echo "2" > / proc/sys/net/ipv4/conf/lo/arp_announce echo "1" > / proc/sys/net/ipv4/conf/all/arp_ignore echo "2" > / proc/sys/net/ipv4/conf/all/arp_announce Sysctl-p > / dev/null 2 > & 1 echo "RealServer Start OK" ; stop) / sbin/ifconfig lo:0 down / sbin/route del $VIP / dev/null 2 > & 1 echo "0" > / proc/sys/net/ipv4/conf/lo/arp_ignore echo "0" > / proc/sys/net/ipv4/conf/lo/arp_announce echo "0" > / proc/sys/net/ipv4/conf/all/arp_ignore echo "0" > / proc/sys/net/ipv4/conf/all/arp_announce echo "RealServer Stoped" *) echo "Usage: $0 {start | stop}" exit 1 Enter: wq save exit [root@localhost init.d] # chmod + x web.sh [root@localhost init.d] # service web.sh start RealServer Start OK [root@localhost init.d] # ifup lo:0 [root@localhost html] # firefox "http://127.0.0.1" & [1] 8767 / / the Firefox browser automatically executes in the background when the process is 8767. If the process is 8767, the browser will pop up automatically. It will display the content of the web page we wrote before.
!
Restart script: [root@localhost init.d] # service web.sh stopSIOCDELRT: No such deviceRealServer Stopd [1] + complete firefox "http://127.0.0.1"[root@localhost init.d] # service web.sh start RealServer Start OK use win7-1 client to verify LVS: set the Nic to host only, and bind the gateway ipv4 to a static address:
C:\ Users\ zhou > ping 192.168.100.10 Ping 192.168.100.10 has 32 bytes of data: reply from 192.168.100.10: byte = 32 time
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.