Install wordpress in slackware11

Source: Internet
Author: User
Tags install wordpress
Install wordpress-Linux Enterprise Application-Linux server application in slackware11. For more information, see. For some reason, you need to install the blog. The server to be installed has just installed slackware 11 and has to be reconfigured.
Uninstall apache, php, and mysql installed by default in slackware11.
I am too lazy to compile it myself, so I use the tgz package to install it directly.
Download the following version from www.linuxpackages.net or find the following version in the slackware image.

Apache2-2.2.4
Php-5.2.3
Mysql-5.0.37

Install software package
Installpkg *. tgz

Modify configuration file
Vim/etc/apache2/httpd. conf
Find

DirectoryIndex index.html

Add
Include/etc/httpd/mod_php.conf # support for php

Modify ServerAdmin
ServerAdmin your-name@your-domain.com

Change ServerName
ServerName 127.0.0.1: 80

Start apache service
Chmod + x/etc/rc. d/rc. apache2
/Etc/rc. d/rc. apache2 start

If an error occurs during startup, check/var/log/apache2/error_log.
For example:
[Sat Jun 09 13:58:26 2007] [alert] (EAI 2) Name or service not known: mod_unique_id: unable to find IPv4 address of "slackware"
Configuration Failed
In/etc/apache2/httpd. conf, find
LoadModule unique_id_module lib/apache2/mod_unique_id.so
Change
# LoadModule unique_id_module lib/apache2/mod_unique_id.so

/Etc/rc. d/rc. apache2 start

Test whether the server is working
Open in a browser
Http: // localhost
See if
It works
And other related content

Configure mysql
Chmod + x/etc/rc. d/rc. mysqld

Check whether the mysql service is enabled. If yes
/Etc/rc. d/rc. mysqld stop

Switch to the root user
[User @ slackware] $ su-
Password:
[Root @ slackware] # su-mysql
[Mysql @ slackware] $ mysql_install_db
[Mysql @ slackware] $ mysqladmin-u root password 'your password'

Try creating a database
[Mysql @ slackware] $ mysqladmin-u root-p create database name
Delete Database
[Mysql @ slackware] $ mysqladmin-u root-p drop DATABASE name
View Database
[Mysql @ slackware] $ mysqlshow-u root-p
My display is as follows:
+ -------------------- +
| Databases |
+ -------------------- +
| Information_schema |
| Db_mediawiki |
| Db_wordpress |
+ -------------------- +

Install wordpress
Download wordpress.org from the official wp website.

Decompress the package to/var/www/htdocs.

Modify wp-config-simple.php as prompted
Save as wp-config.php

Open wordpress/wp-admin/install. php In the browser and follow the prompts until the operation is completed.
Related 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.