This tutorial will guide you through the steps of installing Friendica on Windows 11.
Before you begin, make sure you have the following installed:
Launch WAMP Server and make sure it is running.
Open the "www" directory in WAMP Server. This can be found by right-clicking on the WAMP Server icon in the system tray and selecting "www Directory."
Clone the Friendica repository using Git by running the following command in the "www" directory:
git clone https://github.com/friendica/friendica.git
Navigate to the Friendica directory in the command prompt:
cd friendica
Install the required dependencies using Composer:
composer install
Once the installation is complete, copy the ".htconfig.php.sample" file and rename it to ".htconfig.php":
copy htconfig.php.sample htconfig.php
Open the ".htconfig.php" file in a text editor and modify the following settings:
$a->config['system']['baseurl'] = 'http://localhost/friendica/';
$a->config['system']['sitename'] = 'My Friendica Site';
$a->config['system']['db_host'] = 'localhost';
$a->config['system']['db_user'] = 'root';
$a->config['system']['db_pass'] = '';
$a->config['system']['db_database'] = 'friendica';
Save the changes to the ".htconfig.php" file.
Create a new MySQL database for Friendica using phpMyAdmin. Open phpMyAdmin by clicking on the WAMP Server icon in the system tray and selecting "phpMyAdmin." Log in with your MySQL username and password, and create a new database called "friendica."
In the "www" directory, create a new file called "index.php" and paste the following code:
<?php
header("Location: ../friendica/index.php");
?>
Launch your web browser and go to http://localhost/friendica. The Friendica installation page should appear.
Follow the on-screen instructions to complete the installation process.
Congratulations, you have successfully installed Friendica on Windows 11!
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!