Greg Altimas Open source technolgy. Raspberry Pi Linux Operating Systems.
How to add user and delete Pi user
1. sudo adduser usr
2. sudo usermod -aG sudo usr
3. sudo vi /etc/lightdm/lightdm.cnf
change autologin to usr
4. run raspberry-config and change -boot-options
stop 3 and 4 only required if using graphical login.
5. restart and login to new user.
6. sudo userdel -r pi.
Change to US Keyboard
1. sudo vi /etc/default/keyboard
2. XKBLAYOUT="us"
To enable SSH on a headless pi
1. cd into /boot
2. touch ssh
On boot raspberry pi needs to see a file titled ssh to enable ssh.
To install Lamp
apt-get install apache2 apache2-utils
apt-get install libapache2-mod-php php php-pear php-mysql php-curl php-gd
echo "<?;php phpinfo(); ?>" | sudo tee index.php
use find to search for file name regardless of caps
find /home -type f -iname "downloadC"
Temporarily kill wifi
sudo rfkill block wifi
sudo rfkill unblock wifi
sudo rfkill list all