Friendica is a free and open-source social networking platform that allows users to connect with their friends, family and colleagues. In this tutorial, we will learn how to install Friendica on Windows 10.
Prerequisites
To install Friendica, you need the following:
- A web server software such as XAMPP or WAMP
- PHP version 7.0 or higher
- MySQL or MariaDB database
- SSH client for Windows 10 such as PuTTY
Step 1 - Install XAMPP on Windows 10
XAMPP is a software package that contains PHP, MariaDB, Apache, and other necessary components for running web applications. You can download XAMPP for Windows 10 from Apache Friends. Choose the latest version of XAMPP that is compatible with your Windows 10 version.
- Download and save the XAMPP installer to your computer.
- Double-click the installer to start the installation process.
- Follow the on-screen instructions to complete the installation.
Step 2 - Install Friendica on Windows 10
After installing XAMPP, you can begin installing Friendica:
- Download the latest version of Friendica from friendi.ca.
- Extract the downloaded zip file to your computer.
- Copy the extracted files to the web server root directory. For XAMPP, the root directory is usually located at
C:\xampp\htdocs\.
- Open a command prompt and navigate to the directory where you copied the Friendica files.
- Run the following command to install the required dependencies:
composer install --no-dev
- Create a new MySQL or MariaDB database for Friendica.
- Open the
config/local.config.php file and enter your database credentials.
- Save and close the file.
Step 3 - Configure the Web Server
Configure the web server to run Friendica:
- Open the XAMPP control panel and start Apache and MySQL.
- Open your web browser and navigate to
http://localhost/.
- Click on the phpMyAdmin link to open the MySQL/MariaDB database management tool.
- Create a new database for Friendica.
- Click on the Import tab and import the
database.sql file located in the Friendica root directory.
- Return to the command prompt and run the following command:
./bin/console server:run
- Open a web browser and navigate to
http://localhost:8000/ to access the Friendica installation wizard.
- Follow the on-screen instructions to complete the installation.
Conclusion
In this tutorial, we learned how to install Friendica on Windows 10. We installed XAMPP, configured the web server, installed Friendica and set up the required database. Now you can use Friendica to connect with your friends, family and colleagues.
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!