In the Web 2.0 Revolution, wikis originated earlier than blogs. Blog to be written and maintained by one of their own, the daily update of the blog will make your thinking dry, wiki technology and support its web page can let everyone together to share a common hobby. Wikis are completely open to everyone, including those who browse the wiki page. That is, everyone can create, modify, and delete page content on the site. Wikis are more team-player than blogs.
Usually we translate the wiki into "wiki". The word wiki is derived from the Hawaiian "Wee kee Wee Kee", which was originally meant to "Hurry up". Wiki is an online multi-person collaboration hypertext system Writing tool. Wiki sites support Collaborative, community-oriented writing, where everyone can express their own ideas or extend the themes that they collectively maintain. Wikis also include a set of assistive tools that support this writing, which can be created, changed, and published on a web basis on a wiki page, which is much simpler than making a Web page or updating a Web page.
There are two ways to implement a wiki: one is to provide a website registration in a wiki space, and you can start after registering. Another is to set up a wiki on their own computer, the advantage is no storage space limitations, the disadvantage is that the whole process a little trouble, but also must have a good upload bandwidth, but the number of visitors, the home adsl is enough. Although there are drawbacks to erecting wikis on your own computer, but the relative freedom is relatively large, here, the author teaches you how to set up a wiki on your computer in 10 minutes.
The lamp dynamic Wiki website that this article will build is the implementation method of the Linux-based PHP technology. LAMP (Linux + Apache + MySQL + PHP) has developed rapidly in recent years and has become a reality standard for Web servers. Although these components are not designed to be used in the first place, these open source software is readily available and free to use. This leads to the frequent use of these components. The compatibility of these components has improved over the last few years, and the application situation has become very general. PHP is a cross-platform, server-side embedded scripting language that draws heavily on the syntax of the C, Java, and Perl languages and joins PHP's own features to enable Web developers to quickly write dynamic pages. PHP supports all major databases. It is completely free and does not incur any charges when used.
In addition, if you want to use the zlib format on UNIX, BSD, and Linux platforms, you will need to install the dynamic Link function library zlib. Zlib official website: http://www.gzip.org/zlib/, compile-time note use the following command-line options:./configure--with-zlib.
selection of CMS software
If you search for open source content management from the Web, you will find a large number of sites, systems, and projects. In particular, Open Source Content Management oscom This site, which is specifically targeted for this topic. So what is a content management system? The definition from X-infomodel is one of the best definitions I have ever seen: "The processes and workflows involved in organizing, classifying, and structuring information resources to store, publish, and reuse these information resources in a variety of ways. Content Management Systems (CMS) are used to collect, manage, and publish content, store content in the form of components or complete documents, and maintain links between components. It can also provide content correction control. "Mambo, the Chinese meaning for Mambo music (originated in Cuban black music), is one of the most powerful open source content management systems. At the Linux users and Developers conference in London on April 20, 2004, Mambo emerged from a number of outstanding open source systems and won the 2004 Best Linux Open Source System award, with the same competition as KDE, Firebird SQL and Egroupware, Mambo's slogan is power in simplicity (powerful from simple). Mambo based on Php+mysql technology, it has the features of easy installation, simple management and high reliability. Mambo can build various types of Web sites around the world, small to simple personal sites, large to complex corporate application sites, Mambo can easily be done. Mambo is a content management system for publishing Web sites. Many modules have been added to provide features including shopping carts, banner ads, custom maps, chats and forums.
Building Wiki Sites
1. Mambo cms software download
#cd var/www/html
#wegt Http://mamboforge.net/frs/download.php/4211/mambo452-Global.zip
#unzip mambo452-global.zip "Create a Directory"
2. Mambo Database Creation
# mysql-u Root-p
Enter password:xxxxxxxxx
Your Mysql Connection ID is 3 to server version:4.11
Type ' help ', ' or ' h ' for help. Type ' C ' to clear the buffer.
mysql> Create Mambo database; "To build a database"
Query OK, 1 row affected (0.01 sec)
Mysql>grant all Mambo privileges in mambo.* to mambo@localhost identified by ' 76543981 ';? " Set the Mambo permissions to the Mambo account, and password "
Mysql>exit
3. Test whether the newly established database and account can be used
# Mysql-u-P
Enter password:xxxxxxxxx
Your Mysql Connection ID is 3 to server version:4.11 ...
Mysql> Connect Mambo;
Connection Id:5
Current database:
Mysql>show databases;
+--------------+
| Database |
+--------------+
| MySQL |
| Mambo |
+--------------+
2 rows in Set (0.00 sec)
Mysql> quit
4. Start the installation of Mambo
granting permissions
#cd/var/www/html/#进入到Apache Server does save the directory #
#chmod 777/var/www/html/mambo
The installation of a network is very simple, usually requires the following steps: Open Linux Firefox firefox browser in the address bar directly input: HTTP//Host name/mambo/installation/index.php, the pre-installation of the preparation of the work interface, Select the language option for green and then select Agree, then click on the "Next" button, as shown in Figure 1. Then whether to accept the Software license Agreement, select agree, click the "Next" button.
498) this.width=498; ' OnMouseWheel = ' javascript:return big (This) ' src= '/files/uploadimg/20060313/1603000.jpg ' border =0>
Figure 1 Pre-installation checks
MySQL Database settings
Note: The MySQL server name is localhost, this is the MySQL server name, not the Linux server name. The server name for MySQL is usually: localhost. The MySQL database name is Mambo,mysql account is mambo and the password is the above set value, the database table header is usually mom_s, see Figure 2.
498) this.width=498; ' OnMouseWheel = ' javascript:return big (This) ' src= '/files/uploadimg/20060313/1603001.jpg ' border =0>
Figure 2 MySQL Database settings
Site name Settings
The alias of Mambo is set here, please set it according to the situation.
Other settings
Information such as administrator email is mainly set here. See Figure 3.
498) this.width=498; ' OnMouseWheel = ' javascript:return big (This) ' src= '/files/uploadimg/20060313/1603002.jpg ' border =0>
Figure 3 Other Settings
The above content mainly consists of five parts: for the reader to fill in the convenience of the author to make a list, as shown in table 1.
Table parameter Settings table
498) this.width=498; ' OnMouseWheel = ' javascript:return big (This) ' src= '/files/uploadimg/20060313/1603003.jpg ' border =0>
Security settings
After the test is successful, the system will alert you to remove the installation files for security reasons (to prevent others from using these files to modify system information), and to record the admin (System Administrator) password, as shown in Figure 4.
498) this.width=498; ' OnMouseWheel = ' javascript:return big (This) ' src= '/files/uploadimg/20060313/1603004.jpg ' border =0>
Figure 4 System Information set up successfully
# rm-rf/var/www/html/mambo/iinstallation/
1
http://www.bkjia.com/PHPjc/446843.html www.bkjia.com true http://www.bkjia.com/PHPjc/446843.html techarticle In the Web 2.0 Revolution, wikis originated earlier than blogs. Blog to be written and maintained by their own people, the daily update of the blog will make your thinking dry, wiki technology and support it ...