How to Install Nullboard on Windows 10
Nullboard is a lightweight, web-based, Kanban-style task board that can be used to manage tasks and projects. In this tutorial, we will explain how to install Nullboard on Windows 10 using the following steps:
- Install the WSL (Windows Subsystem for Linux) on Windows 10
- Install Ubuntu on WSL
- Install Apache, PHP, and MariaDB in Ubuntu
- Download and install Nullboard
Requirements
- Windows 10
- Internet connection
- Administrator account on Windows
Step 1: Install the WSL on Windows 10
WSL allows you to run Linux on Windows 10 without using a virtual machine. In order to install WSL, follow these steps:
Open PowerShell as Administrator: Right-click the start button and click on "Windows PowerShell (Admin)". Click on "Yes" in the UAC prompt.
Run the following command:
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
- Restart your machine to complete the installation.
Step 2: Install Ubuntu on WSL
In this step, we will install Ubuntu on WSL. Follow these steps:
- Open the Microsoft Store on your Windows machine.
- Search for Ubuntu in the search bar and click on the "Get" button to download and install Ubuntu on your machine.
- Launch Ubuntu from the Start menu to configure your Ubuntu installation.
Step 3: Install Apache, PHP, and MariaDB in Ubuntu
Before installing Nullboard, we need to set up a web server in Ubuntu. We will be using Apache, PHP, and MariaDB for the installation.
Open Terminal on Ubuntu by pressing
Ctrl+Alt+T.Update the package list and upgrade the system:
sudo apt update
sudo apt upgrade
- Install Apache, PHP, and MariaDB:
sudo apt install apache2 php libapache2-mod-php mariadb-server
- Configure MariaDB:
sudo mysql_secure_installation
Answer the prompted questions:
Set root password? [Y/n] Y
Remove anonymous users? [Y/n] Y
Disallow root login remotely? [Y/n] Y
Remove test database and access to it? [Y/n] Y
Reload privilege tables now? [Y/n] Y
- Test the Apache and PHP installations by creating a PHP file in the webroot directory and accessing it in your browser.
Create the PHP file:
sudo nano /var/www/html/phpinfo.php
Add the following code to the file:
<?php
phpinfo();
?>
Save and exit the file by pressing Ctrl + X, Y, Enter.
Start Apache server:
sudo service apache2 start
Now, open your web browser and enter http://localhost/phpinfo.php. This should display information about the PHP installation.
Step 4: Download and install Nullboard
Now that we have set up the web server, we can download and install Nullboard.
- Navigate to the desired directory to install Nullboard (e.g.
/var/www/html/):
cd /var/www/html/
- Clone the Nullboard repository:
sudo git clone https://github.com/apankrat/nullboard.git
- Change the ownership of the Nullboard folder:
sudo chown -R www-data:www-data nullboard
- Create the configuration file:
cd nullboard/
sudo cp config.inc.dist config.inc
- Edit the configuration file:
sudo nano config.inc
- Change the following variables as per your setup:
$PROJECT_HOME = '/var/www/html/nullboard/';
$DATABASE_NAME = 'nullboard';
$DATABASE_USER = 'root';
$DATABASE_PASSWORD = 'your_password_here';
Save the configuration file and exit the editor by pressing
Ctrl + X, Y, Enter.Create the database by running the following commands:
sudo mysql -u root -p
CREATE DATABASE nullboard;
Enter your MariaDB root password when prompted.
- Import the database schema:
USE nullboard;
SOURCE /var/www/html/nullboard/schema/mysql.sql;
- Start or restart the Apache server:
sudo service apache2 restart
- Open your web browser and enter the URL
http://localhost/nullboard/. You should now see the Nullboard dashboard.
Congratulations! You have successfully installed Nullboard on your Windows 10 machine.