-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuso.txt
More file actions
43 lines (29 loc) · 1.3 KB
/
Copy pathuso.txt
File metadata and controls
43 lines (29 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
-- para enviar mensajes a linux lan
dotnet run --project ./ShpCore.CLI.csproj -- run --cmd "neofetch" --protocol remote-linux --adapter "http://localhost:5000/exec" --payload dummy.json --dev
qemu-system-x86_64 \
-hda ~/sharpcore/images/alpine-sharpcore.qcow2 \
-m 2048 \
-netdev user,id=net0,hostfwd=tcp::5000-:5000 \
-device e1000,netdev=net0
-- con este comando levanto desde sharpcore el linux virtualizado
dotnet run --project ./ShpCore.CLI.csproj vm vm-start --image /home/ivanr013/Escritorio/dev/SharpCore.UbuntuEnv.Builder/Output/alpine-
sharpcore.qcow2
-- para debug --
qemu-system-x86_64 \
-hda /home/ivanr013/Escritorio/dev/SSL-Environment/Output/alpine-sharpcore.qcow2 \
-m 2048 \
-net nic \
-net user,hostfwd=tcp::5000-:5000 \
-virtfs local,path=/home/ivanr013/sharpcore-share,mount_tag=hostshare,security_model=passthrough,id=hostshare \
-nographic
-- para testear el servidor intra kernel --
sharpcore-linux:~# source venv/bin/activate
((venv) ) sharpcore-linux:~#
((venv) ) sharpcore-linux:~# python3 micro.py
* Serving Flask app 'micro'
* Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use.
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:5000
* Running on http://10.0.2.15:5000
Press CTRL+C to quit