In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Set up a website on the domestic cpu server + Haizhizhou big data operating system
The author bought a sea boat big data platform for more than 1,000 yuan, and built a campus website on it.
This thing is very small, like toys, boot, the operating system preset a large database, mysql,apache,postgresql,tomcat,java,php,bind9,telnet, ssh, and other tools, the operating system runs on the domestic 3399cpu server that comes with the operating system. After the operating system swipes into the TF card, it starts and logs in using the ssh tool. Default ip 192.168.1.125, account password, zs/1234
$netstat-an | more
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
Tcp 0 0 0.0.0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0
Tcp 0 64 192.168.1.125:22 192.168.1.6:50775 ESTABLISHED
Tcp6 0 0: 8080::? LISTEN
Tcp6 0 0: 22::? LISTEN
Tcp6 00 127.0.0.1:8005::? LISTEN
Tcp6 00: 8009::? LISTEN
Udp 0 0 192.168.1.125 purl 123 0.0.0.0 *
Udp 0 0127.0.0.1purl 123 0.0.0.0purl *
Udp 0 0 0.0.0. 0. 0. 0. 0. 0. 0. 0. 12. 0. 0. 0. 0. 0
Udp6 0 0 fe80::a8c4:51ff:fe3:123::?
Udp6 0 0:: 1:123::?
Udp6 0 0: 123::?
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
Tomcat and ssh are enabled by default.
Nano / etc/rc.local
.
Su-zs-cantilever Universe Homebank zsUniverse apacheMutomcatMet 8.5.35 Citrus startup.sh'
# sleep 5
# su-zs-c'pgxc_ctl-c / home/zs/pgxc_ctl/pgxc_ctl.conf start all'
# / etc/init.d/apache2 start
# / etc/init.d/mysql start
# / etc/init.d/bind9 start
# / etc/init.d/postgresql start
# / etc/init.d/vsftpd start
# / etc/init.d/xinetd start
# / etc/init.d/ntp start
Exit 0
For other servers, remove # and boot automatically.
Log in to the server using the tool winscp on the CD
Modify the jsp.html file under / home/zs/apache-tomcat-8.5.35/webapps/ROOT to build the website.
Http://192.168.1.125:8080/
The above is the web site.
If you have a large number of visitors, you need to establish a DNS poll, as shown in the manual.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.