creating a desktop shortcut after installation, adding a Start menu, and so on.1. Create a shortcut: Click Add Action ...Select AddThe following interface appears:There are two system variables provided by Installanywhere that need to be explained:$USER _install_dir$: Install directory, this is the most we use.$DESKTOP $: DesktopWe choose New file to write on the path: $DESKTOP $$\ $ITSM 2.0.url (Itsm2.0.url for custom content)Fill in additional text
Tags: database mysql sqlMysqldump-h ' 114.212.111.123 '-urose-pxxxooo--opt--compress ITSM--skip-lock-tables | Mysql-h Localhost-uroot-proot ITSMC Explanation: 114.212.111.123 Remote server name ROSE Remote Database login name xxxooo Remote Database login password ITSM remote database name (i.e., source of replication) localhost Local database name (this is usually the case) root Local Database login name (t
HTML file that is the T in MTV. Manage.py is a Django project management file.
3. Create an App
You can include multiple apps in each Django project, like sub-systems, sub-modules, features, and so on, in a large project, independent of each other, but also associated.
All apps share project resources.
Enter the command in the terminal terminal below Pycharm:
Python manage.py Startapp CMDB
This creates a app,django, called the
the same name as the project is a configuration file, and the templates directory is the HTML file that is the T in MTV. Manage.py is a Django project management file.
3. Create an App
You can include multiple apps in each Django project, like sub-systems, sub-modules, features, and so on, in a large project, independent of each other, but also associated.
All apps share project resources.
Enter the command in the terminal terminal below Pycharm:
Python manage.py Startapp
Recently for the CMDB platform to do a functional increase, the specific implementation of the subdivision is: operation and maintenance personnel to the equipment application, after the request with the network Department needs to allocate an IP address network segment, and so on, and then through the MAC address number obtained from the manufacturer, we can according to cobbler API implementation of an installed mode, the host assigned a good IP add
development tool for development is that we want to choose the Professional version of the download installation, because when choosing the free version of the development, the editor is not the choice to create djaogo this option, So here we have to choose the Professional version of the download installation for developmentWhen the editor download installation is complete, we're ready to start creating the simplest Django project.Open the editor and select File--New project to select a Django
departments have almost the same IT problems. Since there are regular patterns that can be followed, is there a way to strengthen prevention?
Xia was busy with remembering the ITSM training that he had done a few days ago. One of them was about problem management. To put it bluntly, it was about "Back to the pile and then classify" and asked to build a knowledge base, summarize the many problems that have occurred before, find out the regular number
, performance, supervision capability, and talent strength
Information system supervision is divided into three levels: A, B, and C. The main supervision content is "four control, three management, and one coordination ".
Four controls: quality control, progress control, investment control, and change control
Three management: information management, security management, and contract management
I. Coordination: Project Personnel coordination
4. ITIL and ITSM
main contents of information System service management in China:1 Computer Information System Integration Unit qualification Management2 Information System Project Manager qualification Management3 Information System Engineering Supervision Unit qualification Management4 Information System Engineering Supervision personnel qualification ManagementThe national major information engineering implementation of the tendering system, project supervision system, the implementation of the Unit certific
Written in the front: recently started with the Ubuntu system, there is no good MySQL interface program, so .... Can only use the terminal operation of the.
Operation Process: Open "terminal", directly enter the following content, click to return
That's a word, oh!
Purpose: Copy the database of the remote server to the local.
Java code
Copy Code code as follows:
Mysqldump-h ' 114.212.111.123 '-urose-pxxxooo--opt--compress ITSM--skip-lo
database CMDB on the Service Management connector. the Active Directory connector imports the configuration items of users, groups, printers, and computers into the CMDB database. With precision and ease of CMDB maintenance, Mr. Zhang can accurately create organizational processes and automatically maintain the SLA response required by the private cloud. John is
Through the last lesson, we have a simple understanding of Django, now to understand the next ~1. Routing System1.1 Single-Route correspondenceURL (r ' ^index$ ', Views.index),1.2 Regular-based routingURL (r ' ^index/(\d*) ', views.index), url (r ' ^manage/(? p
Locate the urls.py file and modify the routing rule
From django.conf.urls import url,includefrom django.contrib import adminfrom CMDB import views urlpatterns = [ url (r ' ^ In
views.py:From django.shortcuts Import Httpresponsedef Home (Request): return HttpResponse (' Also add the following in the MySite directory urls.py:Urlpatterns = [ url (R ' ^admin/', admin.site.urls), url (r ' ^aa.html/', views.home),]Log in like thisFor an explanation of the app directory:Migrations storing records when modifying table structureadmin.py Django provides us with back-office managementapps.py Configuring the current appmodels.py ORM, writes the specified class by command
. Start and Change passwordJupyter notebook--ip=0.0.0.0--port 8000--allow-root--no-browserhttp://192.168.12.128:8080/jupyter Notebook--generate-config----- build configuration fileProduction passwords and modification profilesPreparing a hashed passwordIpythonYou can prepare a hashed password manually, using the function notebook.auth.security.passwd ():In [1]: From notebook.auth import passwdIn [2]: passwd ()Enter Password:Verify Password:OUT[2]: ' Sha1:67c9e60bb8b6:9ffede0825894254b2e042ea597d
Do the monitoring students should know that the company IDC room often has shelves, shelves, repair and scrap server. If the number of servers is very large, it is easy to cause monitoring omission.Big Internet companies integrate surveillance systems and CMDB (Asset Management System | Configuration Management database systems) together, and when a new machine is listed, the CMDB will record relevant infor
system services, applications, network equipment and so on. Distributed monitoring of more servers, sub-regional monitoring and re-aggregation. Zabbix monitoring is combined with Python custom monitoring scripts.
Monitoring System Requirements Analysis:Monitor common system services, applications, network equipment, etc. can monitor multiple different services on a single host, different service monitoring interval may be different? The same service on different host monitoring i
Development CMDB, in addition to record the server's account password, but also need to record the server hardware and software information, if the use of manual records, if the server is large, the workload is relatively large, so I need to be able to automatically obtain this information method, I used the ansible to get, Ansible with the Setup module, you can get this information to the server, and then from this information to filter out the infor
manage.py Startapp CMDB
This creates a app,django, called the CMDB, that automatically generates a "CMDB" folder.
4. Writing a route
The route is in the URLs file, which maps the URL entered by the browser to the appropriate business processing logic.
The simple way to write URLs is as follows:
5. Writing Business processing logic
The business processing logic i
Django Installation:
Pip Install Django (window version, note the latest version of Django does not support python2.7 below)
Django Creation Project:
Django-admin startproject ProjectName (Custom)
command to execute manage.py:
CD into the project path, enter manage.py to see the Django command
Example: Runserver the project hangs on the site, as shown below:
Create an app
You can include multiple apps in each Django project, like sub-systems, sub-modules, features, and so
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.