February 2017 - Theydreamer

Enable Secure FTP in Raspberry Pi

Hey dreamers! Let’s discuss how to Enable Secure FTP in Raspberry Pi. This procedure was tested under Raspberry Pi 3 Model B with Rasbian OS version 8 (Jessie). * Part 1: Enable SFTP (Secure File Transfer Protocol) access in Raspberry Pi 1. Open the shell and run the following command: 2. You should see the following screen,

Read More

Add new user in Raspberry Pi

Hey dreamers! Let’s talk on how to add new user in Raspberry Pi that has the same privileges as pi default user 1. First, login as pi default user and open terminal, then type the following command to add new user: Note: Replace yourLoginUsername with the username you want. 2. Type the following to get the group

Read More

Run a service in Raspberry Pi

Hey there! Let’s talk about running a service on system start in Raspberry Pi. This procedure is important if there are scripts needed to be called during system startup in Raspberry Pi. * How to Run Service on System Start in Raspberry Pi 1. Create a new service file (also called Unit) in /lib/systemd/system/ using command

Read More

How to run Python script in PHP under Raspberry Pi?

Hey dreamers! Let’s discuss How to run Python script inside PHP under Raspberry Pi? This instruction assumes that the FTP is enabled and the /var/www folder is already writable. You can check here for more details regarding FTP setup. * How to run Python script in PHP under Raspberry Pi? 1. Create a “raspi-ctrl.php” PHP file in var/www/html,

Read More