Subversion Repositories ALCASAR

Rev

Rev 2743 | Rev 2775 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 2743 Rev 2757
Line 42... Line 42...
42
- test the module : go to the directory of sources and try to load it (depmod + modprobe ipt_NETFLOW), look at "journalctrl -f" and run "lsmod|grep ipt_NETFLOW" to verify if it's loaded. Run "alcasar-iptables.sh" to reload netfilter rules (no errors should appear). Run "alcasar-daemon.sh" to verify that all is ok.
42
- test the module : go to the directory of sources and try to load it (depmod + modprobe ipt_NETFLOW), look at "journalctrl -f" and run "lsmod|grep ipt_NETFLOW" to verify if it's loaded. Run "alcasar-iptables.sh" to reload netfilter rules (no errors should appear). Run "alcasar-daemon.sh" to verify that all is ok.
43
- if all is ok, copy the tarball in rpmbuild/SOURCES. Copy and adapt the .spec in rpmbuild/SPECS (change the versions of kernel and rpm).
43
- if all is ok, copy the tarball in rpmbuild/SOURCES. Copy and adapt the .spec in rpmbuild/SPECS (change the versions of kernel and rpm).
44
- change to the directory ~/pmbuild/SPEC and run "rpmbuild -bb ****.spec"
44
- change to the directory ~/pmbuild/SPEC and run "rpmbuild -bb ****.spec"
45
- install the fresh rpm (urpmi) and load ALCASAR iptables rules (alcasar-iptables.sh). Great job ;-) 
45
- install the fresh rpm (urpmi) and load ALCASAR iptables rules (alcasar-iptables.sh). Great job ;-) 
46
 
46
 
47
**** For wkhtmltopdf ****
47
**** For wkhtmltopdf --> no longer need (included in Mageia7) ****
48
- download the archive of the binaries of the last version (https://wkhtmltopdf.org/downloads.html) in ~/rpmbuild/SOURCES/wkhtmltox-%{version}_linux-generic-amd64.tar.xz.
48
- download the archive of the binaries of the last version (https://wkhtmltopdf.org/downloads.html) in ~/rpmbuild/SOURCES/wkhtmltox-%{version}_linux-generic-amd64.tar.xz.
49
- build with: rpmbuild -bb --clean wkhtmltopdf-%{version}-%{release}.spec
49
- build with: rpmbuild -bb --clean wkhtmltopdf-%{version}-%{release}.spec
50
 
50
 
51
**** For nfdump ****
51
**** For nfdump ****
52
- install lib64rrdtool-devel, bison, flex
52
- install lib64rrdtool-devel, bison, flex
-
 
53
 
53
**** For gammu (if new version needed)
54
**** For gammu --> only if new version is needed
54
- see .spec or SRPMS and adapt. !! long time compilation
55
- see .spec or SRPMS and adapt. !! long time compilation