Batch.sh content:Su-C "Using administrator privilegesService Tomcat6 stop;Stop TOMCA6T Servicemkdir/home/jnfwzftp/bushubackup/' Date +%y%m%d ';Create a backup directory with today's dateCp-r/var/lib/mysql/jishengwei/home/jnfwzftp/bushubackup/' Date +%y%m%d ';Copy data stream to backup directorycp/var/lib/tomcat6/webapps/root.war/home/jnfwzftp/bushubackup/' Date +%y%m%d ';Copy the Root.war package to the backup directoryChown-r jnfwzftp/home/jnfwzftp/b
Official document: http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#howto-create-a-deployable-war-fileOne: Change the program entry class Application.java make it inherit Springbootservletinitializer, and override the Configure method@SpringBootApplication Public classApplicationextendsSpringbootservletinitializer {@OverrideprotectedSpringapplicationbuilder Configure (Springapplicationbuilder application) {returnApplication.sources (Application.class); } Public Static voi
Http://msdn.microsoft.com/zh-cn/library/zcebx8f8 (vs.80). aspx
This walkthrough demonstrates how to use Visual Studio 2005 to package an application and its resources into a cab file so that it can be deployed on an end user's smart device.
In this walkthrough, you can start with any smart device solution written in Visual Basic 2005, Visual C #2005, or visual C ++ 2005. For more information, see Walkthrough: creating a simple application.
This walkt
In plug-in development of Microsoft Dynamics CRM 4.0, third-party DLL is often referenced. If it is deployed on a disk, it will not have a great impact. If it is deployed on a database, the plug-in cannot run because it references a third-party DLL. In my opinion, the plug-in deployment tool only serializes the plug-in DLL to the database, but the third-party DLL is not in it. Is it impossible to deploy plug-ins that reference third-party class librar
Recently use vs2012 to do OpenCV project, when packaging is always encountered cannot extract icon with the index 0 from file Xxx.exe This problem, took half a day, just to get it done.In order to let everyone less detours, special share the solution:1, first the size of (16*16 or 32*32 or 48*48) of the. ico format icon picture is copied to the project directory;2. Then refresh in the Explorer in VS and add the icon picture to the project (right-click->include in Project);3, in the project right
MultipleProgramUse an installation package for deployment
1. Create a program installation project. Right-click the solution and choose "New Project"> "install project" from other project types ".
2. Create a class library project, add an installer class to the project, and perform logical processing during installation. Right-click the class library project and choose "New item"> "Add new project"> "In
/my.cnf by default)If the MY.CNF Log_error is configured, the initial password is in the Log_error file, otherwise it will be printed.Bin/mysql_ssl_rsa_setup--datadir=/mysql/dataInitialization encountered error[ERROR] Can ' t findError-messagefile'/usr/Local/mysql/--datadir=/usr/local/mysql/data/share/errmsg.sys '. Check error-message file location and ' Lc-messages-dir ' conError-message file path to be consistent with basedir address to resolve the above errorModify Directory PermissionsChown-
General MAVEN multi-module engineering structure as shown below, the figure is divided into DAO data layer and the upper Web layer (of course, there can be service layer), in the multi-module division, the DAO layer is generally packaged with a jar, the Web layer for war packaging. When a war package is deployed, it is found that DAO is present in the Lib package directory as a jar
Springboot packaging and deployment one, jar packagePom File in Packaging:1. Compile into the project directory and use the following command://命令打包(-Dmaven.test.skip=true 跳过测试)mvn clean package -Dmaven.test.skip=true或者执行Maven install2. The target of running the current directory has a. jar file#启动命令nohub java -jar xxxx.jar >/dev/null 2>1 Ii. War Pack 1, modify package
First, use Tomcat automatic deployment (throw project directly under Tomcat under WebApps)This approach is simple, but today when I try, the local server can be successful (adding the war package can be deployed automatically when Tomcat does not reboot), but the remote server fails.When you think about it, decide to use the console for deployment; (that is, acce
http://localhost:8080/ysl_web/DocBase: The site War directory, which can be a relative path or an absolute path, will automatically decompress the war package and place it in the Tomcat WebApps directorypath= "/ysl_web" docBase= "d:/travelsupport/website/ Ysl-ts-web-base-1.0-snapshot.war " debug=" 0 " privileged=" true " reloadable= "true"/>Restart Tomcat, if the error is in the Tomcat logs directory to view the log, start success, click on the m
It has been a long time to encounter a problem in these two days.We are automatically released with G3, but the program is deployed to the system above a Chinese font disappears into a space.Export the log, convert the font to UTF-8, and find that garbled characters have occurred.You need to add a parameter when the jar package is started.-dfile.encoding = Utf-8That is nohup-jar-dfile.encoding = Utf-8-*.jarLinux jar
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.