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.
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.
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.