Move all code to src folder
This commit is contained in:
parent
918033cc68
commit
d8c2e4888b
|
@ -13,6 +13,7 @@ before_script:
|
||||||
- sudo apt-get install -y build-essential bison flex libnuma-dev wget tar make
|
- sudo apt-get install -y build-essential bison flex libnuma-dev wget tar make
|
||||||
- cd PF_RING-6.0.2; sudo cp kernel/linux/pf_ring.h /usr/include/linux; cd userland/lib; ./configure --prefix=/opt/pf_ring; make; sudo make install
|
- cd PF_RING-6.0.2; sudo cp kernel/linux/pf_ring.h /usr/include/linux; cd userland/lib; ./configure --prefix=/opt/pf_ring; make; sudo make install
|
||||||
- cd `cat /tmp/old_current_path`
|
- cd `cat /tmp/old_current_path`
|
||||||
|
- cd src
|
||||||
script: mkdir -p build; cd build; cmake ..; make
|
script: mkdir -p build; cd build; cmake ..; make
|
||||||
notifications:
|
notifications:
|
||||||
email:
|
email:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
For Debian 6, 7 and CentOS 6 and 7 you should use the automatic installer:
|
For Debian 6, 7 and CentOS 6 and 7 you should use the automatic installer:
|
||||||
```bash
|
```bash
|
||||||
wget https://raw.githubusercontent.com/FastVPSEestiOu/fastnetmon/master/fastnetmon_install.pl
|
wget https://raw.githubusercontent.com/FastVPSEestiOu/fastnetmon/master/src/fastnetmon_install.pl
|
||||||
perl fastnetmon_install.pl
|
perl fastnetmon_install.pl
|
||||||
```
|
```
|
||||||
If you want to use netmap module, please install it: [netmap install](NETMAP_INSTALL.md)
|
If you want to use netmap module, please install it: [netmap install](NETMAP_INSTALL.md)
|
||||||
|
|
|
@ -150,7 +150,7 @@ sub install {
|
||||||
print "Clone FastNetMon repo\n";
|
print "Clone FastNetMon repo\n";
|
||||||
chdir "/usr/src";
|
chdir "/usr/src";
|
||||||
|
|
||||||
my $fastnetmon_code_dir = "/usr/src/fastnetmon";
|
my $fastnetmon_code_dir = "/usr/src/fastnetmon/src";
|
||||||
|
|
||||||
if (-e $fastnetmon_code_dir) {
|
if (-e $fastnetmon_code_dir) {
|
||||||
# Code already downloaded
|
# Code already downloaded
|
Loading…
Reference in New Issue