how to install.txt
来自「phpbased firewall for linux.」· 文本 代码 · 共 32 行
TXT
32 行
Valkyrja 0.2.1 alpha - How to install file
Step 1: Install apache web server and php5 interpreter
How many tutorial you can find over internet about it? :-D
Step 2: Copy all Valkyrja files in the htdocs Apache folder (or in one folder inside). For example, /www/var/valkyrja
Step 3: If you want, protect valkyrja with .htaccess files :-)
Step 4: Permission
For the correct work of Valkyrja, you must give to www-data user the permit to execute some command. Valkyrja use "sudo" as permit wrapper.
By typing visudo, you can modify user's permit. You have to write something similar to this:
#/etc/sudoers file
www-data ALL=(ALL) NOPASSWD: /sbin/iptables
www-data ALL=(ALL) NOPASSWD: /sbin/ifconfig
www-data ALL=(ALL) NOPASSWD: /usr/bin/nmap
www-data ALL=(ALL) NOPASSWD: /sbin/iptables-save
www-data ALL=(ALL) NOPASSWD: /usr/sbin/tcpdump
Step 5: Some valkyrja's modules need third-part program (i.e. nmap and tcpdump). Download it form internet :-)
Step 6: ENJOY valkyrja!!!
--Stefano & Cristian
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?