在ubuntu下安装wordpress + sqlite
- 2019 年 11 月 22 日
- 笔记
1 安装如下
apt-get install apache2 libapache2-mod-php5
apt-get install php5-sqlite
wget https://wordpress.org/latest.tar.gz
wget https://downloads.wordpress.org/plugin/sqlite-integration.1.8.1.zip
tar xvfz ./latest.tar.gz
unzip ./sqlite-integration.1.8.1.zip
mv wordpress /var/lib/wordpress
chown -R www-data:www-data /var/lib/wordpress
mv /var/lib/wordpress/wp-config-sample.php /var/lib/wordpress/wp-config.php
mv sqlite-integration /var/lib/wordpress/wp-content/plugins/ mv /var/lib/wordpress/wp-content/plugins/sqlite-integration/db.php
/var/lib/wordpress/wp-content/
echo "yes n | cp -ripf /var/lib/wordpress/* /var/www/html/ > /dev/null 2>&1"
service apache2 restart
2 进入网站安装
http://104.199.199.3:8003/wp-admin/install.php