<?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=Reoseah</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=Reoseah"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/wiki/Special:Contributions/Reoseah"/>
	<updated>2026-05-01T23:11: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=24844</id>
		<title>WordPress</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=WordPress&amp;diff=24844"/>
		<updated>2023-08-30T08:34:57Z</updated>

		<summary type="html">&lt;p&gt;Reoseah: &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|/etc/init.d/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 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;
&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;
&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>Reoseah</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Setting_Up_Lighttpd_With_FastCGI&amp;diff=24843</id>
		<title>Setting Up Lighttpd With FastCGI</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Setting_Up_Lighttpd_With_FastCGI&amp;diff=24843"/>
		<updated>2023-08-30T08:33:33Z</updated>

		<summary type="html">&lt;p&gt;Reoseah: /* Configure Lighttpd */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Basic Installation ==&lt;br /&gt;
&lt;br /&gt;
For installing the additional packages first &#039;&#039;&#039;[[Repositories#Managing_repositories|activate community packages]]&#039;&#039;&#039; and update the package index&lt;br /&gt;
&lt;br /&gt;
Install the required packages:&lt;br /&gt;
&lt;br /&gt;
{{Obsolete|The php7-xmlrpc and php7-mcrypt packages are not available. Are they needed?}}&lt;br /&gt;
{{Cmd|# apk add lighttpd php82 fcgi php82-cgi}}&lt;br /&gt;
&lt;br /&gt;
== Configure Lighttpd ==&lt;br /&gt;
&lt;br /&gt;
Edit lighttpd.conf ({{Path|/etc/lighttpd/lighttpd.conf}}) and uncomment the line:&lt;br /&gt;
&lt;br /&gt;
 include &amp;quot;mod_fastcgi.conf&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Edit mod_fastcgi.conf ({{Path|/etc/lighttpd/mod_fastcgi.conf}}), find and change /usr/bin/php-cgi to /usr/bin/php-cgi82&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;bin-path&amp;quot; =&amp;gt; &amp;quot;/usr/bin/php-cgi82&amp;quot; # php-cgi&lt;br /&gt;
&lt;br /&gt;
== Start &amp;lt;code&amp;gt;lighttpd&amp;lt;/code&amp;gt; service and add it to default runlevel ==&lt;br /&gt;
&lt;br /&gt;
{{Cmd|# rc-service lighttpd start &amp;amp;&amp;amp; rc-update add lighttpd default}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Server]]&lt;br /&gt;
[[Category:PHP]]&lt;/div&gt;</summary>
		<author><name>Reoseah</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Setting_Up_Lighttpd_With_FastCGI&amp;diff=24842</id>
		<title>Setting Up Lighttpd With FastCGI</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Setting_Up_Lighttpd_With_FastCGI&amp;diff=24842"/>
		<updated>2023-08-30T08:28:33Z</updated>

		<summary type="html">&lt;p&gt;Reoseah: /* Basic Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Basic Installation ==&lt;br /&gt;
&lt;br /&gt;
For installing the additional packages first &#039;&#039;&#039;[[Repositories#Managing_repositories|activate community packages]]&#039;&#039;&#039; and update the package index&lt;br /&gt;
&lt;br /&gt;
Install the required packages:&lt;br /&gt;
&lt;br /&gt;
{{Obsolete|The php7-xmlrpc and php7-mcrypt packages are not available. Are they needed?}}&lt;br /&gt;
{{Cmd|# apk add lighttpd php82 fcgi php82-cgi}}&lt;br /&gt;
&lt;br /&gt;
== Configure Lighttpd ==&lt;br /&gt;
&lt;br /&gt;
Edit lighttpd.conf ({{Path|/etc/lighttpd/lighttpd.conf}}) and uncomment the line:&lt;br /&gt;
&lt;br /&gt;
 include &amp;quot;mod_fastcgi.conf&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Start &amp;lt;code&amp;gt;lighttpd&amp;lt;/code&amp;gt; service and add it to default runlevel ==&lt;br /&gt;
&lt;br /&gt;
{{Cmd|# rc-service lighttpd start &amp;amp;&amp;amp; rc-update add lighttpd default}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Server]]&lt;br /&gt;
[[Category:PHP]]&lt;/div&gt;</summary>
		<author><name>Reoseah</name></author>
	</entry>
</feed>