linux version centos7 version, 64
a, Tomcat installation
1, need to have java, can be entered in the console java --version
view, the installation steps may Baidu
2, access http://mirror.bit.edu.cn/apache/tomcat/ tomcat-8/v8.5.56/bin/ Download tomcat8.tar.gz, which can be downloaded to the host and transferred to Linux via xftp, or directly downloaded to Linux
3. tar -zxvf apache-tomcat-xxx.tar.gz
Unzip, the "xxx" inside is the specific version number, According to the name of the downloaded compressed package
4. Modify the port number, cd into the conf directory in the folder after tomcat decompression, modify the port number in the server.xml file, and use the vim /目录1/目录2/server.xml
command. After the
modification is completed, press "esc" + input to wq
save And exit
4. cd
Enter the bin folder in the decompressed folder of tomcat, enter the ./startup.sh
command in the console to start.
5. Access port 8081, and the familiar tomcat page appears, the installation is successful.
2. Wine installation Wine
is a tool that supports running .exe programs under Linux. It has powerful functions.
1. Visit https://sourceforge.net/projects/wine/files/Source/ to download the latest version of wine
. 2. Transfer via xftp Go to Linux
3. Unzip: The tar -xvJf ./wine-3.7.tar.xz
command can modify wine
the version number according to the version you downloaded . If it xvjf
doesn’t work, use xjf
4. Install 64-bit: ./configure -enable-win64
=> make install
Many errors may be reported during make install, such as missing many dependencies, use yum install 包名
install dependencies and then make install
once
5, the installation is successful input wine --version
to see if the successful installation, if there bash:没有wine命令
it is because we are installing a wine64 bit, there are two solutions, one input wine64 --version
view the version, had to run after use Enter to wine64 xxx.exe
run, another way is to set the soft link, enter: ln -s /usr/local/bin/wine64 /usr/local/bin/wine
the path of wine and wine64 here is the path on my virtual machine, the specific path should be filled in according to the actual situation, after this step, enter wine xxx.exe You can successfully run the .exe program