#How to install Shaarli on Windows 10

Shaarli is an open-source bookmarking and publishing tool. This tutorial will guide you on how to install Shaarli on your Windows 10 operating system.

##Requirements

##Steps

  1. Download and install XAMPP on your Windows 10 machine from the official website https://www.apachefriends.org/index.html.

  2. Once XAMPP is installed, open the XAMPP control panel and start Apache and MySQL by clicking on the Start button.

  3. Open your web browser and navigate to http://localhost/phpmyadmin/ to open the PHPMyAdmin interface.

  4. Create a new database for Shaarli by clicking on the "New" button on the left sidebar and giving a name to the database.

  5. Clone the Shaarli repository from GitHub by running the following command in Git Bash or PowerShell

    git clone https://github.com/shaarli/Shaarli.git
    

    This will download the Shaarli codebase to your current working directory.

  6. Move the downloaded source code to the XAMPP htdocs folder, which is usually located in C:\xampp\htdocs.

  7. Rename the config.template.php file to config.php located in the root directory of Shaarli.

  8. Edit the config.php file to configure the database settings.

    define('PDO_SGBD', 'sqlite');
    define('PDO_PATH', 'data/shaarli.sqlite');
    
  9. Run the following command to give the webserver permissions to write to the Shaarli data files.

    chmod 777 data/
    
  10. Open your web browser and navigate to http://localhost/Shaarli/ to access the Shaarli installation page.

  11. Follow the onscreen instructions to set up the Shaarli instance.

##Conclusion

Congratulations! You have successfully installed Shaarli on your Windows 10 machine. You can now use Shaarli to manage your bookmarks and create your own personal link blog.

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!