ติดตั้ง
- apt-get update && apt-get install -y cron
ใช้งาน
crotab -e
https://forum.volumio.org/crontab-t4986.html
crotab -e
root@volumio:/home/volumio# python pishutdown.py
Traceback (most recent call last):
File "pishutdown.py", line 4, in <module>
import RPi.GPIO as GPIO
ImportError: No module named RPi.GPIO
root@volumio:/home/volumio# sudo dpkg -i python-rpi.gpio_0.6.2~wheezy-1_armhf.deb
Selecting previously unselected package python-rpi.gpio.
(Reading database ... 20535 files and directories currently installed.)
Preparing to unpack python-rpi.gpio_0.6.2~wheezy-1_armhf.deb ...
Unpacking python-rpi.gpio (0.6.2~wheezy-1) ...
Setting up python-rpi.gpio (0.6.2~wheezy-1) ...
seize Schema master
seize Domain Naming master
seize RID master
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install -y php5.6
PHP 5.6.40-10+ubuntu18.04.1+deb.sury.org+1 (cli)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php5-mssql
nano /etc/php/5.6/apache2/php.ini
upload_max_filesize = 100m
memory_limit = 256m
<VirtualHost *:80>
ServerName extranet.scivalve.com
Redirect / https://extranet.scivalve.com/
ServerAdmin suwit@scivalve.com
</VirtualHost>
<VirtualHost *:443>
ServerName extranet.scivalve.com
DocumentRoot /var/www/extranet
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/extranet.scivalve.com.pem
SSLCertificateKeyFile /etc/apache2/ssl/extranet.scivalve.com.key
ServerAdmin suwit@scivalve.com
<Directory /var/www/extranet/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName extranet.sci.com
Redirect / https://extranet.sci.com/
ServerAdmin suwit@scivalve.com
</VirtualHost>
<VirtualHost *:443>
ServerName extranet.sci.com
DocumentRoot /var/www/extranet
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/extranet.sci.com.pem
SSLCertificateKeyFile /etc/apache2/ssl/extranet.sci.com.key
ServerAdmin suwit@scivalve.com
<Directory /var/www/extranet/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
</VirtualHost>
VMware Tools is installed and supported, but a newer version is available on the host.
The configured guest OS (Microsoft Windows Server 2003 (32-bit)) for this virtual machine does not match the guest that is currently running (Microsoft Windows Server 2003 Standard (32-bit)). You should specify the correct guest OS to allow for guest-specific optimizations.