Changes

Jump to navigation Jump to search
no edit summary
Line 2: Line 2:  
=== Suggested Reading ===
 
=== Suggested Reading ===
   −
Before you begin please read the excellent [https://wiki.archlinux.org/index.php/Beginners%27_Guide Arch Linux Beginners' Guide] and spend time browsing the [https://wiki.archlinux.org/index.php/Beginners%27_Guide Arch Linux Beginners Guide].
+
Before you begin please read the excellent [https://wiki.archlinux.org/index.php/Beginners%27_Guide Arch Linux Beginners' Guide].
      Line 173: Line 173:  
   mysql> create database ipscan;
 
   mysql> create database ipscan;
 
       Query OK, 1 row affected (0.00 sec)
 
       Query OK, 1 row affected (0.00 sec)
  −
      Note: it is unnecessary to re-create the user if upgrading from a previous version.
   
        
 
        
 
   mysql> create user 'ipscan-user'@'localhost' identified by 'ipscan-passwd';
 
   mysql> create user 'ipscan-user'@'localhost' identified by 'ipscan-passwd';
 
       Query OK, 0 rows affected (0.01 sec)
 
       Query OK, 0 rows affected (0.01 sec)
 
+
 
 
   mysql> grant all privileges on ipscan.* to 'ipscan-user'@'localhost' identified by 'ipscan-passwd';
 
   mysql> grant all privileges on ipscan.* to 'ipscan-user'@'localhost' identified by 'ipscan-passwd';
 
       Query OK, 0 rows affected (0.01 sec)
 
       Query OK, 0 rows affected (0.01 sec)
 
+
 
 
   mysql> exit
 
   mysql> exit
 +
 
    
Modify the ipscan-user and ipscan-passwd entries to use your preferences (different to the ones that you chose for root!) and enter the same credentials into the ipscan.h include file:
 
Modify the ipscan-user and ipscan-passwd entries to use your preferences (different to the ones that you chose for root!) and enter the same credentials into the ipscan.h include file:
Line 194: Line 193:  
   #define MYSQL_TBLNAME "results"
 
   #define MYSQL_TBLNAME "results"
   −
Then you should be able to make ipscan as root user and perform the install to transfer the necessary cgi files into your preferred cgi-bin directory:
+
Then you should be able to make ipscan as '''root''' user and perform the install to transfer the necessary cgi files into your preferred cgi-bin directory:
    
   # make && make install
 
   # make && make install

Navigation menu