WordPress MU最新版本安装方法
WordPress MU安装还是简单的,从以下几步就可以完美解决。不需要手动修改wp-config-sample.php 文件,也不需要另外安装中文包。
空间环境:最好采用国外虚拟主机,便宜快速稳定。请使用wordpress官方推荐的Justhost虚拟主机,独立 IP更好,共享IP也无妨,看你经济能力。
安装:WordPress MU 2.7
步骤:
一、 规划好WordPress空间,如果用顶级域名访问,先在Justhost中添加此域名并生效,生成好相应目录。
二、 建数据库,添加一个数据库用户,设置密码,记下这些内容。
注意Justhost会自动在数据库和用户名前加上一个前缀,是你主域名去掉.com(如果你的域名比较长,也会去掉域名的后几位,一般是8位。
三、 下载Wordpress主程序压缩文件和语言包压缩文件,解压到本地。
注意!安装 WordPress 的教程会此处会要你修改 wp-config-sample.php ,安装 MU 并不需要这样做!
四、 将解压目录下的所有文件和目录上传到空间目录,如使用abc.com域名访问,则是 /public_html/abc/ 目录。
五、 在浏览器中键入你的 URL ,MU 会自动运行安装向导!
六、按向导要求输入:数据库名、密码、主机名(99% 的情况下用默认的 ’localhost’ 不用改),选择你要用的网站代码,我是用推荐的 uTF-8。
注意!此处会要求你留一个有效邮箱地址,MU 会将你的初始密码发到邮箱去的!
七、提交,停一下,就看到了:
Installation Finished! Congratulations!
Your WordPress μ site has been configured.
You can log in using the username “admin” and password *********
就可以登录了!
八、去你的邮箱收开通信,内容如下:
Your new WordPress MU site has been created at
http://www.trendslab.cn
Login details:
Username: admin
Password: ************
Login: *******
往后就可以按邮件中的地址、用户名和密码登录,进入管理界面了!登录后还是先修改登录密码,免得忘记
Justhost提供Justplan虚拟主机,非常便宜,无限空间,无限流量,24小时内自动开通。免费安装各种流行程序,当然包括世界闻名的WodPress,这个WodPress在Justhost后台的CPanel 中是自动安装,一点即可。而不是像上述的将文件用FTP传到空间,也不需要手动建立数据库等,真正的一键完成!还可以建立无限二级域名或者将其他的域名和你的Justhost空间绑定。另外,还能建无限邮箱,如admin@trendslab.cn
本站就是建立在Justhost提供Justplan上。亲身感受。
附:以下为wordpress MU 的安装提示!
Installing WordPress μ
Welcome to WordPress μ. I will help you install this software by asking you a few questions and asking that you change the permissions on a few directories so I can create configuration files and make a directory to store all your uploaded files.
If you have installed the single-blog version of WordPress before, please note that the WordPress μ installer is different and trying to create the configuration file wp-config.php youself may result in a broken site. It’s much easier to use this installer to get the job done.
What do I need?
- Access to your server to change directory permissions. This can be done through ssh or ftp for example.
- A valid email where your password and administrative emails will be sent.
- An empty MySQL database.Tables are prefixed with wp_ which may conflict with an existing WordPress install.
- Wildcard dns records if you’re going to use the virtual host functionality. Check the README for further details.
Please make sure mod_rewrite is installed as it will be activated at the end of this install.
If the mod_rewrite module is disabled ask your administrator to enable that module, or look at the Apache documentation or elsewhere for help setting it up.
Blog AddressesPlease choose whether you would like blogs for the WordPress μ install to use sub-domains or sub-directories. You can not change this later. We recommend sub-domains.
Sub-domains (like blog1.example.com)
Sub-directories (like example.com/blog1
DatabaseBelow you should enter your database connection details. If you’re not sure about these, contact your host.
成功提示:
Installation Finished!Congratulations!
Your WordPress μ site has been configured.
You can log in using the username “admin” and password *********
Directory PermissionsPlease remember to reset the permissions on the following directories:
- /home1/×××/public_html/trendslab
- /home1/×××/public_html/trendslab/wp-content/
You can probably use the following command to fix the permissions but check with your host if it doubt:
chmod 755 /home1/xxx/public_html/trendslab /home1/xxx/public_html/trendslab/wp-content/
Further reading
- If you run into problems, please search the WordPress μ Forums where you will most likely find a solution. Please don’t post there before searching. It’s not polite.
- There is also the WordPress μ Trac. That’s our bug tracker.
Thanks for installing WordPress μ!
Donncha
wpmu version: 2.7
[...] DEMO [...]
very nice article.I