successfully accessed, pack the war package: just change the jar to a war."Note: If you do not want to copy the jar name, the name of the package is customized, under build can be specified"Packaged into a war packageSee if the name of the packaged war package is customized.Then run the war package againThis can be accessed.Look at the war package, the page file has been packaged in.=============================================================================================================== =
program code, it needs to be compiled on your computer before you can run the program, so the time to install from the source code will be longer.There is a command called file under Linux, because Linux does not judge the type of files by the suffix name. So in general, when it is unclear what type of document is, use the file command to judge.File php-5.2.14.tar.gzPhp-5.2.14.tar.gz:gzip compressed data, was "Php-5.2.14.tar", from Unix, last modified:wed Jul 22:32:34, max com PressionThis php-
I. Modules and packages (package)1. Module: A file that contains all of the functions and variables you define, followed by a. Py, a. py file is a module2. Package: must contain the folder of the __init__.py module, usually also contains some other modules and sub-packages3. Library (LIB): A library is a collection of code that accomplishes a certain function, whether it can be a package or a module4. Framework: Supporting structures designed to solve
I. Examples and results
1 The structure and specific documents of the instance:
Copy Code code as follows:
Pypackage
│pycommonm.py
│__init__.py
│
├─p1package
│p1m.py
│p1mc.py
│__init__.py
│
└─p2
p2.py
p2m.py
/index.htmlMandatory installation:[[email protected] packages]# RPM-IVH--nodeps/mnt/packages/mysql-python-1.2.3-0.3.c1.1.el6.x86_64.rpm sqlRPM Query function :[Email protected] packages]# rpm-ivh/mnt/packages/zsh-4.3.10-7.el6.x86_64.rpmWhat is Zsh??Zsh is a Unix shell that i
probability of the function and variable having the same name becomes smaller and less prone to collisions.4. They can also refer to other modules (built-in modules, three-party modules, custom modules):Built-in modules: Systems already included. For example: OS, Math,random,time.Three-party module: A module that someone else has written.Custom modules: The modules you write yourself.Use the modules in the standard library:Import SYS #系统模块Common SYS properties:SYS.ARGV Properties:When
selenium2library librariesNote: In addition to Python, other source packages are not given version, because the update faster, the corresponding address page to download the latest version can be;Second, installation;Order: ①②③④⑥⑦⑧⑨⑤①② Double-click Install can;The ③④⑥⑦⑧⑨⑤ installation operation is as follows:After extracting the downloaded tar.gz package into a folder, the CMD interface enters the folder d
Modules and packages, modulesModule
A module is a file that contains python definitions and declarations. The file name is the extension of the module name and. py.
In fact, the import module is divided into four general categories:
1. code written in python (. py file)
2 C or C ++ extensions that have been compiled as shared libraries or DLL
3. Pack a group of m
individually, so we do not have to think about names that conflict with other modules when we write our own modules. But also be aware that try not to conflict with the built-in function name.Module Import method1 Import Statement
1
importmodule1[, module2[,... moduleN]
When we use the import statement, how does the Python interpreter find the corresponding file? The answer is that the interpreter has its own search pa
1 What is a module? Common scenario: A module is a file that contains Python definitions and declarations, and the file name is the suffix of the module name plus the. Py.In fact, the import loaded module is divided into four general categories:1 code written using Python (. py file)2 C or C + + extensions that have been compiled as shared libraries or DLLs3 packages
Java open-source jar packages
Turn: http://blog.csdn.net/kevingao/article/details/8125683
Activation ~ Jar packages related to javaMail should be added to lib together with mail. jar (mail. jar and activation. jar) When javaMail is used. The jar package is responsible for the data source and type of mail.
ApacheActiveMQ ~ Apache is the most popular open-source message bus with powerful capabilities. ActiveM
Install, update, and delete Spacewalk software packages.
Link: http://blog.csdn.net/kongxx/article/details/44003721
After the operations in the previous two blogs, we can use Spacewalk to install the system. However, in actual scenarios, we often need to use Spacewalk to manage software packages. For example: install, upgrade, and delete the software package. Let's take a look at how to implement these func
Ubuntu System Write shell script program installs multiple packages at onceWriting shell scripts installs multiple software at once, primarily for some software-dependent environment configurations.1. The shell script must start with the following line (must be in the first line of the file):#!/bin/shThe symbol #! is used to tell the system that the parameter behind it is the program used to execute the file. In this example we use/BIN/SH to execute t
Tags: depend existing TOC roo ATI stat nginx+php problem wgetFPM Packaging ToolsFPM's author is Jordansissel.FPM's GITHUB:HTTPS://GITHUB.COM/JORDANSISSEL/FPMThe FPM function is simply to convert one type of package into another type.1. Supported source-type packagesDir packages the directory into the required type, which can be used for source code compilation and installation of the package rpm for RPM conversion gem to conver
/Media/rhel_5.1 i386 DVD/, but there are spaces in the middle of the DVD's volume mark, which may cause problems when used. So we need to load it again and change the path. 2. Create the text file rhel5media. Repo in the/etc/yum. Repos. d/path and enter the following text content:
[Base]
Name = base RPM repository for rhel5
Baseurl = file: // media/ISO/Server/
Enabled = 1
Gpgcheck = 0 3, modify the yumrepo in the/usr/lib/python2.4/Site-packages/Yum/pa
This article was reproduced in: http://qoogle.cn/?id=39Premise:Install both Python2 and Python3 under Windows,The Python2 and Python3 should be installed directly underneath the C drive, respectively, under the Python27 and Python36 folders. (Avoid the program files to appear in the space, later will be wrong!) )In order to facilitate simultaneous use, you need to rename the Python.exe under Python3 to Python3.exe. (keep default under Python2)(Certainly the path path of the win system environmen
Django builds on the idea of "reusable applications [1]": self-contained packages provide reusable features. You can assemble these reusable apps and build your own site with the specific code that applies to your site. Django has a rich ecosystem of reusable apps that you can use--pypi list over 8,000 Django apps [2]--But how do you know what's best? To save you time, we've summed up five of the most favorite Django apps. They are:
Cookiecut
defined classes, can be easily debugged with a favorite debugger. (the example used in this article assumes that you are using the Eclipse IDE, but the techniques I describe here do not have to be modified to work with most other Ides.) )
When making any design decisions, you must weigh the impact of the choices and decisions you make. Here, in order to get the ability to debug dynamically generated test packages, additional complexity must be added
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.