Changes

Jump to navigation Jump to search
no edit summary
Line 228: Line 228:  
And for MySQL:
 
And for MySQL:
   −
<nowiki>
   
   # ps -ef |grep -i mysql
 
   # ps -ef |grep -i mysql
 
   root      392    1  0 Aug25 ?        00:00:00 /bin/sh /usr/bin/mysqld_safe --user=mysql
 
   root      392    1  0 Aug25 ?        00:00:00 /bin/sh /usr/bin/mysqld_safe --user=mysql
   mysql      688  392  0 Aug25 ?        01:47:48 /usr/bin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/mysql/plugin --user=mysql --log-error=/var/lib/mysql/alarmpi.err --pid-file=/var/lib/mysql/alarmpi.pid --socket=/var/run/mysqld/mysqld.sock --port=3306</nowiki>
+
   mysql      688  392  0 Aug25 ?        01:47:48 /usr/bin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/mysql/plugin  
 
+
                                                  --user=mysql --log-error=/var/lib/mysql/alarmpi.err --pid-file=/var/lib/mysql/alarmpi.pid  
 
+
                                                  --socket=/var/run/mysqld/mysqld.sock --port=3306
 +
 
 
It is now worth checking that your Raspberry Pi has been correctly allocated an IPv6 address, using ifconfig:
 
It is now worth checking that your Raspberry Pi has been correctly allocated an IPv6 address, using ifconfig:
   −
   # ifconfig
+
   # ifconfig eth0
 
   eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
 
   eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
 
         inet AA.BB.C.DD  netmask 255.255.255.0  broadcast AA.BB.C.255
 
         inet AA.BB.C.DD  netmask 255.255.255.0  broadcast AA.BB.C.255
         inet6 2001:470:971f:3:ba27:ebff:fecc:dc7c  prefixlen 64  scopeid 0x0<global>
+
         inet6 '''2001:470:971f:3:ba27:ebff:fecc:dc7c''' prefixlen 64  scopeid 0x0<global>
 
         inet6 fe80::ba27:ebff:fecc:dc7c  prefixlen 64  scopeid 0x20<link>
 
         inet6 fe80::ba27:ebff:fecc:dc7c  prefixlen 64  scopeid 0x20<link>
 
         ether b8:27:eb:cc:dc:7c  txqueuelen 1000  (Ethernet)
 
         ether b8:27:eb:cc:dc:7c  txqueuelen 1000  (Ethernet)
Line 250: Line 250:  
Assuming that your Raspberry Pi has a valid IPv6 address and that your Apache and MySQL services are correctly running then you should be able to point a web browser to your cgi file:
 
Assuming that your Raspberry Pi has a valid IPv6 address and that your Apache and MySQL services are correctly running then you should be able to point a web browser to your cgi file:
   −
e.g. towards http://[2001:470:971f:3:ba27:ebff:fecc:dc7c]/cgi-bin6/ipscan-txt.cgi
+
e.g. towards '''http://[2001:470:971f:3:ba27:ebff:fecc:dc7c]/cgi-bin6/ipscan-txt.cgi'''
     

Navigation menu