Linux various Software Installation-mediawiki + wordpress article

Source: Internet
Author: User
Tags knowledge base mediawiki

PHP Apache MySQL Three Musketeers installed, you can happily install some mature Web applications, such as WordPress can be used as their own notebook, MediaWiki sorting the Knowledge base.

The first is MediaWiki, online said good, but I feel a bit slow, and wiki writing the way the entry began a bit unaccustomed.

#cd/var/www/html

#wget http://releases.wikimedia.org/mediawiki/1.29/mediawiki-1.29.2.tar.gz

#tar -XZVF mediawiki-1.29.2.tar.gz

#mv mediawiki-1.29.2/ /mediawiki/To change the file name of the detailed operation can refer to this link https://linux.cn/article-2688-1.html

#cd MediaWiki

#chmod 777 Mw_config

Access/HTTP/domain (IP)/mediawiki

Step by step configuration, fill out the MySQL link is ok. Very easy.

Next is WordPress, is also extremely simple.

wget Http://wordpress.org/latest.zip
Unzip-q latest.zip-d/var/www/html/
Chown-r apache:apache/var/www/html/wordpress  Change wordpree folder owner and permissions
chmod-r 755 /var/www/html/wordpress

Create a directory that can be uploaded upload, and change the owner to Apache
Mkdir-p/var/www/html/wordpress/wp-content/uploads
Chown-r: Apache/var/www/html/wordpress/wp-content/uploads
Modify the configuration file so that you can access the database
CP wp-config-sample.php wp-config.php
VI wp-config.php
Modify database name, database user name, database user password
Define (' db_name ', ' wp_database '); Define (' Db_user ', ' root '); Define (' Db_password ', ' root ');
Access/HTTP/domain (IP)/wordpress

Add a question and error when executing the command.

Delta RPMs disabled because/usr/bin/applydeltarpm not installed

The/usr/bin/applydeltarpm solution is as follows:

' */applydeltarpm '
Yum Install deltarpm

Installation of various Linux software-mediawiki + wordpress article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.