Tag:User name

  • MySQL auth_ Working principle of socket verification plug-in

    Time:2021-7-30

    auth_socketThe authentication method is: the client is enabled bySO_PEERCREDThe socket of option is connected to the MySQL server, and the server detects from the socket whether the system user name running the client is the MySQL user name to log in. If the user name is the same, log in; if it is different, refuse. […]

  • Write the back-end interface using Python’s flash framework

    Time:2021-7-29

    After all, it’s time for me, a newcomer to the front end, to write the interface by myself, roll up my sleeves and directly write the code import pymssql import time from flask import Flask, request, jsonify from flask_cors import CORS #Database connection DB = pymssql.connect (host = ‘own database address’, User = ‘user name’, […]

  • Nginx proxy settings

    Time:2021-7-28

    Generate kibana’s access account Generate a password openssl passwd ‘123456’ Create a htpasswd config in the container, with the user name in front and the password generated above in the back user1:Iv64DdYe3QxLg Create nginx profile Next, create an nginx configuration file, default.conf #Kibana panel server { listen 80; server_name kibana.example.com; location / { proxy_set_header Host […]

  • Get started quickly: use node + express to build API interfaces

    Time:2021-7-27

    1. Front end environment deployment Please install node by yourself Create a folder to place the node project Execute in the new node foldernpm init, a package.json file will be generated Install the express framework and related dependencies npm install express npm install body-parser npm install cors –save Create related file directory DB folder: place […]

  • Installation and use of Linux management tool cockpit

    Time:2021-7-27

    Installation of cockpit #Cockpit is installed by default in rhel8 system yum list|grep cockpit #Check whether the cockpit has been set to boot systemctl list-unit-files|grep cockpit #Set cockpit boot systemctl enable –now cockpit.socket #View cockpit running status systemctl status cockpit.service #Start service systemctl start cockpit.service #View cockpit running status systemctl status cockpit.service #Check whether cockpit […]

  • [go] go language gin framework implements administrator authentication login interface

    Time:2021-7-24

    Background user login verification function is a necessary logic for many projects, and it is also a common technical requirement To implement this logic, you must first have a database table structure as follows: CREATE TABLE `user` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(50) NOT NULL DEFAULT ”, `password` varchar(50) NOT NULL DEFAULT ”, […]

  • [GitHub] white whoring with me, GitHub pages as a personal site?

    Time:2021-7-24

    What`s The GitHub Pages ? Websites for you and your projects.Hosted directly from your GitHub repository. Just edit, push, and your changes are live. In short, it provides a way to use GitHub’s warehouse as a site. We don’t need to provide our own server. We use GitHub pages for nothing. With its ability to […]

  • VM VirtualBox virtual machine Linux Installation enhancements

    Time:2021-7-18

    Error installing enhancements: failed to load virtual CD-ROM vboxguestadditions.iso to virtual PC solve:Terminal, root CD / media / user name / VBox_ Gas / run vboxlinuxaddition.runCheck whether it runs successfullyNormal do not need to restart it, can not restart the next system. This work adoptsCC agreementReprint must indicate the author and the link of this […]

  • Eureka error resolution

    Time:2021-7-18

    Eureka error resolution The security.basic.enabled configuration is obsolete or unavailable By default:User name: userPassword: the startup application will output in the console, as shown in the following figure: It can also be configured through the following properties:spring.security.user.namespring.security.user.passwordIf you want to turn off validation: Simple and crude method:Move the security package out of POM. XMLMore scientific:Add […]

  • [tips] in windows, use sshfs win to mount SFTP disk to local, convenient management of Linux files

    Time:2021-7-16

    In the maintenance of Linux server, file management has always been a thorny problem: FTP / SMB / WebDAV installation steps are cumbersome, and the configuration of user permissions is also more complex. The most important thing is that the above several transport protocols are not encrypted by default, and it takes extra time and […]

  • Swoole super simple to build chat room. Group chat, group chat, single chat

    Time:2021-7-15

    Today to do a simple chat room, support change room, support private letter. Write the code a bit slag, there are many not very good place. After all, I am just a wild program ape Environmental Science: php7.0 apache 2.4 swoole 1.9 redis 4.0 bilibili : https://www.bilibili.com/vide…GitHub address:https://github.com/buffge/buf… It looks like this: I don’t want […]

  • Collation of Oracle common operation and maintenance commands

    Time:2021-7-14

    1、 Oracle database creation and deletion commands (1)oracle11g Build database (gdbname is the same as Sid name and sys password is the same as system password to facilitate memory) [[email protected] ~]$ dbca -silent -createDatabase -templateName /u01/oracle/product/11.2.0/dbhome_1/assistants/dbca/templates/General_Purpose.dbc -gdbname GDBNAME -sid SIDNAME -characterSet AL32UTF8 -NATIONALCHARACTERSET UTF8 -sysPassword SYSPASSWORD -systemPassword SYSTEMPASSWORD -TOTALMEMORY 2048 The first method is to delete the database [[email protected] ~]$ dbca -silent -deleteDatabase -sourceDB  SIDNAME -sysDBAUserName sys -sysDBAPassword SYSPASSWORD The second method is to delete the library #Step 1: configure response file: [[email protected] ~]$ cat /u01/oracle/response/dbca.rsp OPERATION_TYPE = “deleteDatabase” SOURCEDB = “SIDNAME” […]