Installing myTinyTodo on Arch Linux

This tutorial will guide you through the installation process of myTinyTodo on Arch Linux.

Prerequisites

Before we start, you need to have the following prerequisites:

Step 1: Download and Extract myTinyTodo

  1. Go to the official myTinyTodo website at https://www.mytinytodo.net/download.php
  2. Download the latest release
  3. Extract the downloaded file to your web server's document root folder. By default, this folder is located at /srv/http/.

Step 2: Create a Database

  1. Log in to your MySQL/MariaDB server using the mysql client: mysql -u root -p
  2. Create a new database: CREATE DATABASE mytinytodo;
  3. Create a new user that has access to the new database: CREATE USER 'mytinytodo'@'localhost' IDENTIFIED BY 'your_password';
  4. Grant privileges to the new user over the new database: GRANT ALL PRIVILEGES ON mytinytodo.* TO 'mytinytodo'@'localhost';
  5. Exit the mysql client: EXIT;

Step 3: Create a Configuration File

  1. Copy the config_sample.php file to config.php: cp config_sample.php config.php
  2. Edit the config.php file and modify the following lines to match your database settings:
define('MTT_DB_HOST', 'localhost'); // Change to your database server's hostname or IP address
define('MTT_DB_NAME', 'mytinytodo'); // Change to the name of the database you created in step 2
define('MTT_DB_USER', 'mytinytodo'); // Change to the username you created in step 2
define('MTT_DB_PASS', 'your_password'); // Change to the password you set in step 2

Step 4: Set Permissions

  1. Change the owner of the myTinyTodo folder to the web server user chown -R http:http /path/to/myTinyTodo
  2. Set the permissions of the cache directory and all its contents to be writable by your web server: chmod -R 777 /path/to/myTinyTodo/cache

Step 5: Access myTinyTodo

  1. Open a web browser and go to http://localhost/myTinyTodo/index.php.
  2. You should be prompted to enter a username and password. The default username is admin and the default password is admin.
  3. After logging in, you can start using myTinyTodo.

Congratulations, you have successfully installed myTinyTodo on Arch Linux!

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!