Java implementation version of Mambo (php) -- dotCMS Installation notes (ubuntu)
Source: Internet
Author: User
The java implementation version of Mambo (php) -- dotCMS Installation notes (ubuntu) -- Linux Enterprise Application-Linux server application information. For more information, see the following. At present, Mambo is the most popular open source website construction system, which is implemented using PHP Technology. DotCMS is implemented using java +, a popular multi-medium technology.
I installed it on Ubuntu7.10, and it should be similar in WinXP;
1. download the latest dotcms version from http://www.dotcms.org/official website or svndownload;
2. Preparations before installation:
(1) install JDK or a later version to configure environment variables;
(2) install ant and configure environment variables;
3. decompress the downloaded file to the specified folder. this is random. I put it under/opt and open the permissions of this folder for subsequent operations. There is a docs folder in the decompressed folder dotcms.org. Here is the installation documentation. You can try it in many ways;
4. Start installation now:
(1) Compile and use ant. In dotcms, four types of databases are provided for you. I use mysql, So I compiled it according to mysql.
(In the dotcms.org folder ):
1> ant buildmXsql
2> ant deploy
(2) If the preceding steps are complete, run mysql. Note that if mysql does not have a password, an error is reported. You can solve this problem as follows:
1> mysql-u debian-sys-maint-p
2> (prompt you to Enter the Password :) Enter Password: manually Enter the Password provided by [client] in the/etc/mysql/debian. cnf file;
3> mysql> UPDATA user SET Password = PASSWORD ('newpassword') where USer = 'root ';
4> quit;
(3) create a database:
1> Create a dotcms, mysql> creat database dotcms;
2> In dotcms.org/build/ SQL, open mysql:mysql-u root-proot.
(4) Remove dotcms_1.6.jarbeibei from dotcms.org/build/libto dotcms.org/common/lib/ext;
(5) modify the server. xml file under/conf/and change the dotCms startup port to the port you want, such as 8080. DotCms defaults to localhost and port 80. Note that the port must not be occupied;
(6). Next, modify the database connection configuration in server. xml. Here, we can look at the example of the installation file under the docs folder that comes with dotCms. Note that the port in the database connection description string must be consistent with the port used by the local database;
(7) Start
Catalina.sh run under dotcms.org/bin( pay attention to permission issues );
(8) Open the browser, enter http: // localhost/c; enter the dotCms login interface, enter the test@dotcms.org, the password is test, if the login is successful, congratulations, the configuration is complete.
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service