RASPBIAN PI (aarch64) – Installing Projectsend

Installing prereqs:

sudo apt install nginx mariadb-server mariadb-client php php-fpm php-mysql php-xml

Configuring mysql:

sudo mysql_secure_installation
sudo mysql -u root -p

CREATE USER 'proj1'@'localhost' IDENTIFIED BY '123456789';
GRANT ALL PRIVILEGES ON projsend1.* TO 'proj1'@'localhost';

Basic Install:

cd ~
mkdir psend1
cd psend1
wget https://github.com/projectsend/projectsend/releases/download/r1420/projectsend-r1420.zip
unzip projectsend-r1420.zip
sudo mkdir /var/www/projectsend
yes |sudo cp -ir * /var/www/projectsend
sudo chown -R www-data:www-data /var/www/projectsend/upload
sudo cp /var/www/projectsend/includes/sys.config.sample.php /var/www/projectsend/includes/sys.config.php

Configure DB variables:

sudo nano /var/www/projectsend/includes/sys.config.php

/** Database name */
define('DB_NAME', 'projsend1');

/** Database host (in most cases it's localhost) */
define('DB_HOST', 'localhost');

/** Database username (must be assigned to the database) */
define('DB_USER', 'proj1');

/** Database password */
define('DB_PASSWORD', '123456789');

Configure NGINX:

sudo nano /etc/nginx/sites-available/default

server {
        listen 80 default_server;
        listen [::]:80 default_server;

        root /var/www/projectsend;

        index index.php index.html index.htm index.nginx-debian.html;

        server_name _;

        location / {
                try_files $uri $uri/ =404;

 location ~ \.php$ {
        try_files $uri =404;
        fastcgi_split_path_info ^(.+\.php)(/.+)$;
        fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
        fastcgi_index index.php;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        include fastcgi_params;

sudo systemctl reload nginx
sudo systemctl restart nginx

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s