Comments (8)
Hi Steve,
It seems you are still missing some packages, can you try this first:
sudo apt-get install python-dev libxml2-dev libxslt-dev
Greetz,
Glenn
from skf-flask.
Hey Steve,
Thanx for the heads up!
I am goin to spawn an Ubuntu myself to see if the installer might be
incomplete.
2015-05-18 21:40 GMT+02:00 Steve Springett [email protected]:
Running Ubuntu 14.04
Ran:
sudo apt-get install python-pip sqlite3
sudo pip install https://github.com/mitsuhiko/flask/tarball/master
sudo pip install owasp-skfinstalling owasp-skf fails with error:
creating build/temp.linux-x86_64-2.7/src/lxml
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2
-Wall -Wstrict-prototypes -fPIC
-I/tmp/pip_build_root/lxml/src/lxml/includes -I/usr/include/python2.7 -c
src/lxml/lxml.etree.c -o build/temp.linux-x86_64-2.7/src/lxml/lxml.etree.o
-wsrc/lxml/lxml.etree.c:8:22: fatal error: pyconfig.h: No such file or
directory#include "pyconfig.h"
^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Cleaning up...
Command /usr/bin/python -c "import setuptools, tokenize;file='/tmp/pip_build_root/lxml/setup.py';exec(compile(getattr(tokenize,
'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))"
install --record /tmp/pip-SZKpc9-record/install-record.txt
--single-version-externally-managed --compile failed with error code 1 in
/tmp/pip_build_root/lxml
Storing debug log for failure in /home/user/.pip/pip.log—
Reply to this email directly or view it on GitHub
#37.
from skf-flask.
Thanks for the quick replies.
Executing:
sudo apt-get install python-dev libxml2-dev libxslt-dev
got me a bit further, but later complained that:
/usr/bin/ld: cannot find -lz
Ran
sudo apt-get install lib32z1-dev
and the install was able to complete
However, /opt/owasp-skf doesn't exist, so I'm not sure where the installer put it.
from skf-flask.
Hey Steve,
The installer put's it somewhere near:
/usr/local/lib/python2.7/site-packages/skf
could differ a bit from your device but it puts it in the python folder
2015-05-18 21:58 GMT+02:00 Steve Springett [email protected]:
Thanks for the quick replies.
Executing:
sudo apt-get install python-dev libxml2-dev libxslt-dev
got me a bit further, but later complained that:
/usr/bin/ld: cannot find -lzRan
sudo apt-get install lib32z1-dev
and the install was able to completeHowever, /opt/owasp-skf doesn't exist, so I'm not sure where the installer
put it.—
Reply to this email directly or view it on GitHub
#37 (comment)
.
from skf-flask.
Found it in dist-packages.
Ran:
sudo python skf.py
I see the generated password and the following:
Running on https://127.0.0.1:5443/
Does it only bind to the loopback? It doesn't respond when connecting via it's external IP address and the machine is headless.
Running:
wget --no-check-certificate https://127.0.0.1:5443
works and I'm able to get index.html
from skf-flask.
Yeah from a security point of view we did not want to do this as a default setting.
You can change in the skf.py the 127.0.0.1 to 0.0.0.0
Start skf.py again and now it's external facing.
Also i would suggest to not run it as root ^^
from skf-flask.
:) Thank you.
Had to sudo chown -R user:user skf so that I did not have to run it as root. And changed the ip to 0.0.0.0 and I'm able to login.
from skf-flask.
Check ^^
Thanks for the feedback, we improved the Ubuntu installation part
from skf-flask.
Related Issues (20)
- Create new checklist in SKF for evaluating third-party code/libs HOT 1
- Running Labs in Mac M1 because of architecture mismatch when pulling images HOT 1
- Broken Writeup Links HOT 5
- SKF training section content reading pane does not autoscaled automatically HOT 1
- SKF Training content has broken links.
- SKF Training Questionnaire forms contain multiple visual/typo issues
- SKF Training wrong redirection in the training content when clicked 'next'
- SFK Training missing/broken image links
- SKF Training labs are not user-friendly scaled in window mode (labs work well in full screen mode)
- SKF Training progress of content completion is not recorded
- SKF Flask Api docker not working HOT 2
- skf-api.sh error on line 12 HOT 3
- MySQL error during /home/user_api/.local/bin/flask initdb HOT 1
- RabbitMQ container automatically quits
- Solved: registering admin account fails without error HOT 1
- Request: Environment var to disable labs
- Your certificate is expired HOT 2
- Dependency nested on Ubuntu server 20.04 HOT 1
- SKF- Local Setup API Error HOT 1
- Link on Github skf-flask site does not work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from skf-flask.