Create a Site directory and authorize
#创建站点根目录sudo mkdir -p /webroot/helloweb#创建站点应用目录sudo mkdir -p /webroot/helloweb/app#创建站点日志目录sudo mkdir -p /webroot/helloweb/logs#目录授权sudo chmod 777 /webroot/helloweb/appsudo chmod 777 /webroot/helloweb/logs
Open p
How to Use dedeampz to create a local test for multiple sites
Namevirtualhost *: 80
# Vhoststart
# The default site settings here. If the IP address of an unknown domain name is the same as that of the server, it will also point to this site# If you want to access your service through an IP address or illegal domain name, set the directory of the site to a non-existent directory.Serveradmin admin@myhost.comDocumentRoot "D:/dedeampz/webroot/De
. The path alias is associated with the path of a directory or file. It is specified in the dot syntax, similar to the widely used namespace format: rootalias.path.to.tar get where rootalias is the alias of an existing Directory, by calling yiibase: setpathofalias (), we can define a new path alias. For convenience, yii predefines the following root aliases: System: indicates the yii framework directory; zii: indicates the yii library directory; application: indicates the basic directory of the
Apache master configuration file.In fact, at the bottom of the Apache main configuration file, there is a virtual host configuration example, but all are commented out:
# 基于名称的虚拟主机示例: #VirtualHost127.0.0.2:80># ServerAdmin [emailprotected]# DocumentRoot D:\usr\webroot\webhosting1# ServerName 127.0.0.2# ErrorLog logs/dummy-host.example.com-error_log# CustomLog logs/dummy-host.example.com-access_log common#VirtualHost>#VirtualHost127.0.0.3
-noinstall-5.0.51b-win32.zip to D:\mysql-5.0.51b-win32 and change the name toD:\mysql-5.0.51b.Execute D:\mysql-5.0.51b\bin\mysqld-nt.exe to start MySQL.Unzip the D:\JavaTools\mysql-gui-tools-noinstall-5.0-r12-win32.zip to D:\MySQL GUI tools 5.0\.Execute D:\MySQL GUI Tools 5.0\mysqlquerybrowser.exe to start the client.Normally when OK goes in, you can access the database.(Note: For easy access, you can create a shortcut to the above executable file)3.Hello Java Web1) Build Web EngineeringSet up t
. Because the directory structure of the file and the folder itself are two different things.*************************************************************************************************************** ****************There are two types of paths used in Java: absolute paths and relative paths. Ultimately, Java can only use absolute paths to find resources in essence. All the relative paths to find resources are just a few convenient ways. It's just the API that helps us build an absolute pat
output for the entire process is as follows:
Copy-rhead Svn://192.168.1.192/placii/staggingarea/xiangqi/facebook svn://192.168.1.192/placii/staggingarea/ Xiangqi/facebook3
Propset subclipse:tags "1538,facebook2,/facebook2,branch
1540,facebook3,/facebook3,branch "E:/myeclipse/workspace/facebook
Switch SVN://192.168.1.192/PLACII/STAGGINGAREA/XIANGQI/FACEBOOK3 e:/myeclipse/workspace/facebook-rhead
At revision 1541.
Add-n E:\myeclipse\workspace\Facebook\
. The SVN command line output for the entire process is as follows:XML code
Copy-rhead Svn://192.168.1.192/placii/staggingarea/xiangqi/facebook svn://192.168.1.192/placii/staggingarea/ XIANGQI/FACEBOOK3
propset subclipse:tags "1538,facebook2,/facebook2,branch
1540,facebook3,/facebook3,branch "E:/myeclipse/workspace/facebook
Switch SVN://192.168.1.192/PLACII/STAGGINGAREA/XIANGQI/FACEBOOK3 e:/myeclipse/workspace/facebook-rhead
At Revision 1541.
add-n E:\myeclipse\workspace\Fac
version.
The SVN command line output for the entire process is as follows:XML Code
Copy-rhead SVN: // 192.168.1.192/placii/staggingarea/xiangqi/Facebook SVN: // 192.168.1.192/placii/staggingarea/xiangqi/facebook3
Propset subclipse: tags "1538, facebook2,/facebook2, Branch
1540, facebook3,/facebook3, branch "E:/myeclipse/workspace/Facebook
Switch SVN: // 192.168.1.192/placii/staggingarea/xiangqi/facebook3 E:/myeclipse/workspace/Facebook-rhead
At revision 1541.
Add-n e: \ myeclipse \ works
1. myeclipse web project deployment (release) process 2008-01-18
Create a web project ABC under myeclipse. The default settings are as follows:
Project SAVE location: Workspace directory \ ABC
Source folder: SRC, which stores all Java class files (. java files) and XML files.
Web root folder: webroot, which stores all JSP files, including CSS and JavaScript. Contains the WEB-INF folder has a very important role!
Context root URL:/ABC. /Indicates the
output for the entire process is as follows:
Copy-rhead Svn://192.168.1.192/placii/staggingarea/xiangqi/facebook svn://192.168.1.192/placii/staggingarea/ Xiangqi/facebook3
Propset subclipse:tags "1538,facebook2,/facebook2,branch
1540,facebook3,/facebook3,branch "E:/myeclipse/workspace/facebook
Switch SVN://192.168.1.192/PLACII/STAGGINGAREA/XIANGQI/FACEBOOK3 e:/myeclipse/workspace/facebook-rhead
At revision 1541.
Add-n E:\myeclipse\workspace\Facebook\
YII Preference specification is better than configuration. Following the specification allows you to create a mature yii application without the need to write and maintain complex configurations. Of course, when necessary, YII can still be customized in almost all aspects through configuration.
Below we explain the recommended development specifications in YII programming. For simplicity's sake, let's assume that WebRoot is the directory where the YII
Yii prefers specification over configuration. Compliance with specifications allows you to create mature Yii applications without the need to write and maintain complex configurations. Of course, if necessary, Yii can still be customized in almost all aspects through configuration. Below...
Yii prefers specification over configuration. Compliance with specifications allows you to create mature Yii applications without the need to write and maintain complex configurations. Of course, if necessar
other version. The SVN command line output for the entire procedure is as follows:
Copy-rhead Svn://192.168.1.192/placii/staggingarea/xiangqi/facebook svn://192.168.1.192/placii/staggingarea/ Xiangqi/facebook3
Propset subclipse:tags "1538,facebook2,/facebook2,branch
1540,facebook3,/facebook3,branch "E:/myeclipse/workspace/facebook
Switch SVN://192.168.1.192/PLACII/STAGGINGAREA/XIANGQI/FACEBOOK3 e:/myeclipse/workspace/facebook-rhead
At revision 1541.
Add-n E:\myeclipse\worksp
Differences between myeclipse and eclipse web project deployment, myeclipseeclipse1. myeclipse web project deployment (release) process 2008-01-18
Create a web project abc under myeclipse. The default settings are as follows:
Project SAVE location: workspace directory \ abc
Source folder: src, which stores all Java class files (. java files) and xml files.
Web root folder: WebRoot, which stores all jsp files, including css and JavaScript. Contains the
code (direct pull)----"2. Compile (optional)----" 3. configuration file put in----"4. Packaging----" 5.SCP to the target server----"6. Remove the target server from the cluster----7. Unzip----8. Place to Webroot--- -"9.SCP diff file----" 10. Restart (optional)----"11. Test----" 12. Join a clusterIv. code Implementation 1, set no interactive accessThe public key of the deployment machine is sent to the application server via Ssh-keygen. Note that this
Today, after the introduction of a project in MyEclipse 10, there are many errors and warnings, the following phenomena:
Description ResourcePath LocationType BufferedImage cannot is resolved to a type Image.jsp/itcast0907crmcache/webroot lin E 34JSP Problem Description resourcepath locationtype bufferedimage cannot to a type resolved Che/webroot line 34JSP Problem Description resourcepath locationtype Col
First, Introduction
Before introducing the static file middleware, first introduce the contentroot and Webroot concepts.
Contentroot: Refers to the Web's items folder, including the bin and Webroot folders.
WebRoot: Generally refers to the Wwwroot folder under the Contentroot path.
The two concepts are described because static resource files are generally stored
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.