Minggu, 22 Agustus 2021

mpg123

Mau memutar lagu di raspi terminal.

Install MOC di raspi terminal gagal dengan berbagai cara.
Install mpg123 langsung sukses. Kentang tenan MOC ini hahaha

Install LAMPP di raspberry 3

Adalah cara paling sederhana yang saya dapatkan dari ->
http://saptaji.com/2021/05/28/instal-apache-php7-mysql-dan-phpmyadmin-di-raspberry-pi-3-4/

sudo apt-get update
sudo apt-get upgrade
sudo apt install apache2 / sudo apt-get install apache2 -y
sudo chown -R pi:www-data /var/www/html/ 
sudo chmod -R 770 /var/www/html/
sudo apt install php php-mbstring
sudo apt install mariadb-server php-mysql -y
sudo apt install phpmyadmin
sudo ln -s /usr/share/phpmyadmin /var/www/html/phpmyadmin 


Dan berikut adalah cara untuk mengutak atik mariadb/mysql setelah instalasi apabila masih ditemukan problem phpmyadmin tidak bisa masuk system

https://www.cyberciti.biz/faq/mysql-change-user-password/

Minggu, 15 Agustus 2021

Catatan Install Raspi Server

 # Panduan mounting
https://www.shellhacks.com/raspberry-pi-mount-usb-drive-automatically/

# Panduan install webmin
https://pimylifeup.com/raspberry-pi-webmin/

# Update htop
https://github.com/wbenny/htop

# Samba

This config is when you don't need security or password prompt , so it's for your internal private net or for your virtual pc ( virtualbox, vmware, etc).

Example with user 'david' in ubuntu

sudo apt install samba

edit config

sudo nano /etc/samba/smb.conf

my pc in windows had the workgroup: WORKGROUP so i did not change the section global, just added this block:

[Home Share]

comment = Home Public Folder
path = /home/david/projects
writable = yes
force user = david
public = no
browsable = yes

you need in ubuntu add to user to samba, creating a password:

sudo smbpasswd -a david

restart service

sudo systemctl restart smbd


# Setting CUPS => etc/cupsd.conf

Yang anda harus ketahui bahwa CUPS mempunyai sistem user sendiri walaupun bisa diimport dari user linux

Install Selenium di Python3 - Raspi

// install selenium sudo apt-get install selenium // install chromium sudo apt-get install chromium-chromedriver // install virtual display ...