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
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
#* apt install apt-transport-https
deactivate ==&gt; 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
>>> 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]]

Version vom 8. Februar 2023, 04:30 Uhr

Installation mit root im tmp-Ordner

  1. apt install apt-transport-https
    • apt install apt-transport-https


zurück zur ==> Hauptseite