In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Installation script
The installation package is placed on the ftp server, downloaded using ftp, and then silently installed using msiexec
@ echo offRem create directory mkdir c:\ tempRem to obtain network card information and store it on a separate ftp (optional) ipconfig / all > > c:\ temp\% username%.txtRem upload network card information echo open 10.10.29.107 > putip.txt Rem ftpuser is account test.test is password echo user ftpuser test.test > > putip.txt echo binary > > putip.txt echo put "c:\ temp\% username%.txt" > putip.txt echo bye > > putip.txt ftp-n-s:putip.txt del Putip.txtrem download vncRem to determine whether the system is 64-bit, download the 64-bit installation package Otherwise download 32-bit installation package if "% PROCESSOR_ARCHITECTURE%" = = "AMD64" (set tightvnc=tightvnc288x64.msi) else (set tightvnc=tightvnc288x86.msi) echo open 10.10.50.3 > ftp.txt Rem ftpuser account test.test is password echo user ftpuser test.test > > ftp.txt rem dfws.2016 > > ftp.txt echo cd "/ data sharing library / office software / 00. Installation must be / vnc "> > ftp.txtecho lcd" c:/temp "> ftp.txtecho binary > > ftp.txtecho get% tightvnc% > > ftp.txtecho bye > > ftp.txtftp-n-s:ftp.txtdel ftp.txtrem install vncRem silent installation parameters, ^ is batcontinuation character ADDLOCAL is chosen to install the client Server is the server, Client is the client Rem and sets three passwords simultaneously is test.9999 the first is the primary password The second is the connection password and the third is the administrator password .msiexec.exe / I c:\ temp\% tightvnc% / qb / norestart ^ ADDLOCAL=Server SET_USEVNCAUTHENTICATION=1 VALUE_OF_USEVNCAUTHENTICATION=1 ^ SET_PASSWORD=1 VALUE_OF_PASSWORD=test.9999 ^ SET_VIEWONLYPASSWORD=1 VALUE_OF_VIEWONLYPASSWORD=test.9999 ^ SET_USECONTROLAUTHENTICATION=1 VALUE_OF_USECONTROLAUTHENTICATION=1 ^ SET_CONTROLPASSWORD=1 VALUE_OF_CONTROLPASSWORD=test.9999 Rem prompts If errorlevel 1 (mshta _ vbscript:msgbox ("installation VNC failed", 64 "prompt") (window.close) else (mshta _ vbscript:msgbox ("install VNC successfully", 64, "prompt") (window.close))
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.