-
Notifications
You must be signed in to change notification settings - Fork 0
/
initialScript
31 lines (28 loc) · 895 Bytes
/
initialScript
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
#sudo python3 install pip3
#sudo pip install virtualenv
#virtualenv nombreEntorno --python=python3
source examen/bin/activate
sudo apt-get install python3-dev
sudo apt-get install python3-dev libmysqlclient-dev
#pip freeze
pip install pysnmp
pip install rrdtool
pip install mysqlclient
#Modificar el siguiente archivo del servidor de mysql para poder cotectarse /etc/mysql/my.cnf Agregando
#[client]
#database = db_name
#user = db_user
#password = db_password
#default-character-set = utf8
#REINICIAR el servicio despues de esto
#service mysql restart
pip install Django
pip install pillow
pip install django-mysql
pip install django-adminlte2
#pip install django-sb-admin
#django-admin startproject AdministracionRedSNMP
python manage.py createsuperuser
python manage.py runserver
Poner Atencion a django.py
Contiene la sincronizacion entre archivos para registrar y para cargar los datos