<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Whamtet</id>
	<title>Alpine Linux - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Whamtet"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/wiki/Special:Contributions/Whamtet"/>
	<updated>2026-05-02T00:05:57Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=WordPress&amp;diff=29868</id>
		<title>WordPress</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=WordPress&amp;diff=29868"/>
		<updated>2025-05-18T16:22:10Z</updated>

		<summary type="html">&lt;p&gt;Whamtet: /* Config and start MySql */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[https://wordpress.org/ WordPress] is web software you can use to create a beautiful website or blog. For Wordpress a bunch of [https://wordpress.org/extend/plugins/ plugins] are available.&lt;br /&gt;
&lt;br /&gt;
== Install lighttpd, PHP, and MySql ==&lt;br /&gt;
{{:Setting Up Lighttpd With FastCGI}}&lt;br /&gt;
&lt;br /&gt;
Install extra packages:&lt;br /&gt;
{{Cmd|apk add wget mysql mysql-client php82-mysqli}}&lt;br /&gt;
&lt;br /&gt;
Restart Lighttpd:&lt;br /&gt;
{{Cmd|rc-service lighttpd restart}}&lt;br /&gt;
&lt;br /&gt;
== Installing and configuring  WordPress ==&lt;br /&gt;
&lt;br /&gt;
Create a directory named {{Path|webapps}}&lt;br /&gt;
&lt;br /&gt;
{{Cmd|mkdir -p /usr/share/webapps/}}&lt;br /&gt;
&lt;br /&gt;
Download the latest Wordpress source files &lt;br /&gt;
&lt;br /&gt;
{{Cmd|cd /usr/share/webapps/&lt;br /&gt;
wget https://wordpress.org/latest.tar.gz}}&lt;br /&gt;
&lt;br /&gt;
Unpack the archive and delete it afterwards&lt;br /&gt;
&lt;br /&gt;
{{Cmd|tar -xzvf latest.tar.gz&lt;br /&gt;
rm latest.tar.gz}}&lt;br /&gt;
&lt;br /&gt;
Change the folder persmissions&lt;br /&gt;
&lt;br /&gt;
{{Cmd|chown -R lighttpd /usr/share/webapps/}}&lt;br /&gt;
&lt;br /&gt;
Create a symlink to the {{Path|wordpress}} folder&lt;br /&gt;
&lt;br /&gt;
{{Cmd|ln -s /usr/share/webapps/wordpress/ /var/www/localhost/htdocs/wordpress}}&lt;br /&gt;
&lt;br /&gt;
== Config and start MySql ==&lt;br /&gt;
&lt;br /&gt;
{{Cmd|&amp;lt;nowiki&amp;gt;/usr/bin/mysql_install_db --user=mysql&lt;br /&gt;
/etc/init.d/mariadb setup&lt;br /&gt;
rc-service mariadb start &amp;amp;&amp;amp; rc-update add mariadb default&lt;br /&gt;
/usr/bin/mysqladmin -u root password &#039;password&#039;&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
(Change the &#039;password&#039; to a strong password)&lt;br /&gt;
&lt;br /&gt;
==Create the WordPress database==&lt;br /&gt;
&lt;br /&gt;
{{Cmd|mysql -u root -p}}&lt;br /&gt;
&lt;br /&gt;
{{Cmd|CREATE DATABASE wordpress;&lt;br /&gt;
GRANT ALL PRIVILEGES ON wordpress.* TO &#039;wordpress&#039;@&#039;localhost&#039; IDENTIFIED BY &#039;wordpress password&#039;;&lt;br /&gt;
FLUSH PRIVILEGES;&lt;br /&gt;
EXIT}}&lt;br /&gt;
(Change the &#039;wordpress password&#039; to a strong password)&lt;br /&gt;
&lt;br /&gt;
== Config your WordPress ==&lt;br /&gt;
&lt;br /&gt;
Browse to &lt;br /&gt;
&amp;lt;nowiki&amp;gt;http://WEBSERVER_IP_ADDRESS/wordpress/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Click on: &amp;quot;Create a Configuration File&amp;quot;&lt;br /&gt;
* Click on: &amp;quot;Let’s go!&amp;quot;&lt;br /&gt;
:* Database Name:	wordpress&lt;br /&gt;
:* User Name:		wordpress&lt;br /&gt;
:* Password:		&amp;lt;wordpress password&amp;gt;&lt;br /&gt;
:* Database Host: 	localhost&lt;br /&gt;
:* Table Prefix:	wp_&lt;br /&gt;
&lt;br /&gt;
You may need create the wp-config.php manually, so modify define the &#039;DB_NAME&#039;, DB_USER and DB_PASSWORD, then copy and paste the text into it.&lt;br /&gt;
After you&#039;ve done that, click &amp;quot;Run the install.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* Enter Information as needed&lt;br /&gt;
&lt;br /&gt;
:* Site Title&lt;br /&gt;
:* Username&lt;br /&gt;
:* Password, twice&lt;br /&gt;
:* Your E-mail&lt;br /&gt;
&lt;br /&gt;
After you&#039;ve done that, click &amp;quot;Install WordPress&amp;quot; &lt;br /&gt;
&lt;br /&gt;
You have WordPress working, to access go to &amp;lt;nowiki&amp;gt;http://WEBSERVER_IP_ADDRESS/wordpress&amp;lt;/nowiki&amp;gt; and enjoy!&lt;br /&gt;
&lt;br /&gt;
[[Category:SQL]]&lt;/div&gt;</summary>
		<author><name>Whamtet</name></author>
	</entry>
</feed>