วันพฤหัสบดีที่ 8 พฤศจิกายน พ.ศ. 2561

NewHost php 7 config

PHP7
nano /etc/php/7.0/apache2/php.ini
date.timezone = "Asia/Bangkok"
max_execution_time = 3600
max_input_time = 360
max_input_vars = 2000
memory_limit = 1024M

Backup
nano /usr/local/vesta/data/users/admin/user.conf
แก้ admin เป็น user แล้ว หา backup = 3 เปลี่ยน เป็น 1

LDAP
extension=php_ldap.dll
apt-get install php7.0-ldap (or use apt-get install php7.1-ldap )
service apache2 restart

cd /home/admin/conf/web
nano apache2.conf
+nano sapache2.conf
php_admin_value open_basedir none
php_admin_value upload_tmp_dir none

วันจันทร์ที่ 5 พฤศจิกายน พ.ศ. 2561

Enabling SSH screenly Raspbeery

Enabling SSH

If you have installed via a newer NOOBS Installer SSH is disabled by default. To Enable it:
  1. Connect via the Console (CTRL + ALT + F1)
  2. Login using the default user name and password (pi'raspberry`)
  3. Execute sudo raspi-config
  4. Select Interfacing Options
  5. Navigate to and select SSH
  6. Choose Yes
  7. Select Ok
  8. Choose Finish
You should now be able to SSH into the Pi
It is highly recommended that you change the default password if you intend to connect your Pi to the outside world.