Linux (1) Tomcat and wine installation

linux version centos7 version, 64
a, Tomcat installation
1, need to have java, can be entered in the console java --versionview, 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.gzUnzip, 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.xmlcommand. After the
Insert picture description here
modification is completed, press "esc" + input to wqsave And exit

4. cdEnter the bin folder in the decompressed folder of tomcat, enter the ./startup.shcommand 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.xzcommand can modify winethe version number according to the version you downloaded . If it xvjfdoesn’t work, use xjf
4. Install 64-bit: ./configure -enable-win64=> make installMany errors may be reported during make install, such as missing many dependencies, use yum install 包名install dependencies and then make installonce
5, the installation is successful input wine --versionto 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 --versionview the version, had to run after use Enter to wine64 xxx.exerun, another way is to set the soft link, enter: ln -s /usr/local/bin/wine64 /usr/local/bin/winethe 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

Guess you like

Origin blog.csdn.net/u014752033/article/details/108060091