DJango - Project Creation
Project creation
You need to select a directory as the project's home directory
You can have multiple apps in a project
Command help
Creating project methods
django-admin help startproject
usage: django-admin startproject [-h] [--version] [-v {0,1,2,3}]
[--settings SETTINGS]
...
Posted by TJaaaay on Sun, 27 Jan 2019 17:09:14 -0800
LAMP Model Building Website
LAMP schema parsing
Components of the LAMP platform:
L: Linux operating system, which is the basic part of the whole LAMP architecture, provides the operating system to support the Web site, and provides better stability and compatibility for other components.
A: Apache website server, as the front end of LAMP architecture, has powerful funct ...
Posted by asukla on Sun, 27 Jan 2019 02:03:14 -0800
Insertion of mysql notes & key value duplicate solution
Create tables and insert data
create table t select_info;
MariaDB [test]> create table t2 select user,host password from mysql.user where user='root';
MariaDB [test]> select * from t2;
+------+-------------+
| user | password |
+------+-------------+
| root | 127.0.0.1 |
| root | ::1 |
| root | loca ...
Posted by ASDen on Fri, 25 Jan 2019 01:48:13 -0800
OpenStack-M Neutron (Network Services)
Neutron Installation
I. Database Configuration
Creating service credentials and API endpoints
Controller Node - Install and Configure Neutron Components
Compute Node - Install and Configure Neutron Components
V. Verification of Neutron Services
I. Database Configuration
# mysql -uroot -p123456
MariaDB [(none)]> create ...
Posted by xenophobia on Wed, 23 Jan 2019 20:15:13 -0800
Deployment of zabbix Monitoring System and Mail Alarm Mechanism in LAMP Architecture
Preliminary understanding of zabbix:
Zabbix can monitor various network parameters to ensure the safe operation of the server system, and provide a flexible notification mechanism to enable system administrators to quickly locate/solve various problems. It is an enterprise-level open source solution based on WEB interface to provide distribut ...
Posted by sprint10s on Sun, 20 Jan 2019 17:36:13 -0800
Using innodb_force_recovery to solve the problem that MySQL server crash cannot restart
One backgroundThe following error occurred when a friend of an entrepreneur restarted MySQL service because the disk array damaged the crash machine:
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
InnoDB: Doing recovery ...
Posted by SulkyGirl on Tue, 08 Jan 2019 00:12:09 -0800
Centos7 installation configuration Apache+PHP+Mysql+phpmyadmin
Centos7 installation configuration Apache+PHP+Mysql+phpmyadmin
Installation of Apache
yum install httpd
After successful installation, the Apache operation command:
systemctl start httpd //Start apache
systemctl stop httpd //Stop apache
systemctl restart httpd //Restart apache
systemctl enable httpd //Set apache to boo ...
Posted by mausie on Sat, 05 Jan 2019 12:12:09 -0800