OpenVPN 3 client: Unterschied zwischen den Versionen

Aus AstroNeth-Wiki
Zur Navigation springen Zur Suche springen
Die Seite wurde neu angelegt: „=OpenVPN 3 client= ==Installation im entsprechenden Verzeichnis== <ol style="list-style-type: decimal;"><li><p>python3 -m venv .venv</p></li><li><p>source .venv/bin/activate</p><pre>jetzt kann python.exe mit python aufgerufen werden deactivate ==> das Enviroment wieder deaktivieren</pre></li><li><p>pip install django</p></li><li><p>python -m django –-version</p> <pre>ℹ nur zur Prüfung ob alles OK ist oder auch mit python >>> import django >>> prin…“
 
Keine Bearbeitungszusammenfassung
 
(3 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
=OpenVPN 3 client=
=Installation mit root im tmp-Ordner=
==Installation im entsprechenden Verzeichnis==
# apt install apt-transport-https
<ol style="list-style-type: decimal;"><li><p>python3 -m venv .venv</p></li><li><p>source .venv/bin/activate</p><pre>jetzt kann python.exe mit python aufgerufen werden
# wget https://swupdate.openvpn.net/repos/openvpn-repo-pkg-key.pub
deactivate ==&gt; das Enviroment wieder deaktivieren</pre></li><li><p>pip install django</p></li><li><p>python -m django –-version</p>
# apt-key add openvpn-repo-pkg-key.pub (deprecated, prüfen mit ==> apt-key list)
<pre>ℹ nur zur Prüfung ob alles OK ist
oder auch mit
python
>>> import django
>>> print(django.get_version())
</pre></li></ol>
==Projekt anlegen==
 
# django-admin startproject astroneth
#* python manage.py makemigrations polls
#* python manage.py sqlmigrate polls 0001
#* python manage.py check;
# python manage.py migrate
# python manage.py shell
#* from polls.models import Choice, Question
#* Question.objects.all()
#* from django.utils import timezone
#* q = Question(question_text="What's new?", pub_date=timezone.now())
#* q.save()
#* q.id
#* q.question_text
#* q.pub_date
#* q.question_text = "What's up?"
#* q.save()
#* Question.objects.all()
 


{{Hauptseite}}
{{Hauptseite}}
[[Kategorie:Server]]
[[Kategorie:Server]]

Aktuelle Version vom 8. Februar 2023, 05:03 Uhr

Installation mit root im tmp-Ordner

  1. apt install apt-transport-https
  2. wget https://swupdate.openvpn.net/repos/openvpn-repo-pkg-key.pub
  3. apt-key add openvpn-repo-pkg-key.pub (deprecated, prüfen mit ==> apt-key list)

zurück zur ==> Hauptseite