Current location - Education and Training Encyclopedia - Graduation thesis - What environment is needed for the completed program, deployment and installation?
What environment is needed for the completed program, deployment and installation?
First of all, this question is too broad. What language program, whether the server is win or linux will be different.

1.php programs are generally wamp(win+apache+mysql+php) or lamp(linux+nginx+mysql+php). In addition, it depends on which extensions you use in php. If not, you have to install them yourself, and there are some related configuration information, such as

php.ini

Upload file size configuration, etc. , whether to rewrite the function, database configuration optimization, etc. 2. net.

Programs generally need to install mssql under the window (of course, there are also small projects that use access), and the specific Net version depends on your own project to choose 3.java.

The program needs the corresponding jdk, generally mysql database, oracle database with high performance requirements, and it also involves memcache, redis, distribution, database read-write separation and so on.

The above is website development.

If it is an app, most server-side programs are based on the above three, and the foreground app only needs to configure a download address.

If it is software, most of them provide download address installation, and the server provides corresponding interface services.

There are many other languages on the Internet, and each project has different needs, and there are more or less subtle differences. They are usually unreadable.

This question is too broad. It depends on different operating systems and environments required by different applications. For example, jave applications usually need to install jre, and. Net applications usually need to be installed in the windows server operating system, and. Net environment.

You have to see what kind of program it is. The scheme is divided into PC, Web and mobile. Most PC-side programs are written in C++ (nothing else can be done, but the development efficiency or execution efficiency is not as good as C++), while most Web-side programs are JavaEE (single-finger backend programs), and mobile terminals are mainly divided into Android and IOS.

I don't know much about mobile and PC, so I dare not scribble to avoid misleading everyone. I only talk about the deployment environment of Web-side programs.

First of all, since you want to run Java, you must have jdk. At present, JDK 6, JDK 7 and JDK 8 are commonly used. So you need to choose the appropriate jdk version for installation.

Secondly, in order for your program to run and provide services to the outside world, you have to have a server. Of course, the server here refers to the software that can provide services, such as Tomcat, Jetty and WebLogic of apache. I used Tomcat. Of course, you have to judge what technology your program uses. If it is not developed by springboot, you need to package the program into a war package and upload it to the specified path of the server (here refers to the machine where Tomcat software is installed) (if it is Tomcat, the path is under webapps). Then restart Tomcat. However, if it is a development project based on Springboot, it will usually be packaged into an executable jar because of Tomcat built in. There is no need to install Tomcat at this time, just upload the packaged executable file jar to execute it.

In addition, there must be some supporting software, such as installing the database and configuring relevant information into the program. If the database needs initialization data, you need to use SQL script to import initialization data. If there are other softwares such as redis, mq and MQ, they need to be configured together.

In this way, a web-side program is started. The next thing you have to do is tell visitors the link to the home page.