django creates the first project, using pycharm, and the virtual machine uses ubantu
Create command (if Django is installed)
Have a project and a virtual environment awareness.
You can install Django in the virtual environment if you don't install it
Virtual environment construction
pip install vi ...
Posted by hypuk on Sat, 08 Feb 2020 01:07:17 -0800
Monitoring terminal operation
#Turn off firewall & core security features
systemctl stop firewalld.service
systemctl disable firewalld.service &> /dev/null
sed -i "7cSELINUX=disabled" /etc/sysconfig/selinux
#yum install nginx
wget http://nginx.org/packages/centos/7/noarch/RPM ...
Posted by ccl on Fri, 07 Feb 2020 09:23:31 -0800
1. Create a new Spring Boot project
The specific steps are as follows
Select the appropriate dependency:
Under src/main/resources of the spring boot project, the application.properties file exists by default. This is the configuration file of the spring boot project. Almost all related configurations ...
Posted by dennissanche on Fri, 07 Feb 2020 05:21:37 -0800
To be honest, to implement transaction management and add an annotation to a method, the method automatically implements transactions, which is simple enough. I can't think of anything simpler.
This annotation is @ Transactional, which is so excellent. Declarative transaction management ...
Posted by Hi I Am Timbo on Thu, 06 Feb 2020 01:37:05 -0800
1. MySQL functions
Official website: https://dev.mysql.com/doc/refman/5.7/en/func-op-summary-ref.html
1.1. Common Functions
-- ==================== Common Functions =============================
-- Mathematical operations
SELECT ABS(-8) -- absolute value
SELECT CEILING(9.4) -- ceil
SELECT FLOOR(9. ...
Posted by undecided name 01 on Wed, 05 Feb 2020 20:01:33 -0800
JDBC development steps
1. Registration driver
---Tell the JVM which database driver to use
2. Get connected
---Use the classes in JDBC to complete the connection to the MySQL database
3. Get statement execution platform
---Get the executor object of the SQL statement through the connection object ...
Posted by scross on Wed, 05 Feb 2020 06:10:11 -0800
An overview of Roles
Roles can automatically load variable files, task s, handlers, and so on, depending on the hierarchy.
Simply put, Roles is about including variables, files, tasks, modules, and processors in separate directories and easily.
Roles is typically used in scenarios where services are built on hosts, but it can also be used in s ...
Posted by hemoglobina on Tue, 04 Feb 2020 15:13:50 -0800
Spring Batch is a lightweight batch processing framework suitable for enterprise applications. It is worth noting that unlike other scheduling frameworks, Spring Batch does not provide scheduling functions.
2. Batch process
Batch processing can be divided into the following steps:
Process data according to business
The pr ...
Posted by KindredHyperion on Tue, 04 Feb 2020 05:05:24 -0800
springboot+mybatis for data addition and deletion
In the previous article about creating springboot projects with idea, let's talk about using mybatis for curd.
1. Database Creation
2. The pom.xml file adds mysql dependencies, etc.
<!--mysql rely on-->
Posted by mahenderp on Mon, 03 Feb 2020 19:52:53 -0800
inventory host list
The default host list of ansible is the / etc/ansible/hosts file. The host list can be set manually or generated dynamically through Dynamic Inventory. Generally, the host name uses FQDN
[webserver] #Square bracket set group name
www1.example.org #Define the monit ...
Posted by Arez on Mon, 03 Feb 2020 09:08:23 -0800