linux shallow use

1. The second stage knowledge points combing

1.1 JavaSE

1.1.1 I.

  • IO stream: realize data interaction between the program and external devices (files, networks, other programs)

  • Common flow

    • Byte stream:

      • Input stream: FileInputStream, BufferedInputStream

      • Output stream: FileOutputStream, PrintStream

    • Character stream:

      • Input stream: InputStreamReader (conversion stream), BufferedReader

      • Output stream: PrintWriter

    • Object flow:

      • Object serialization: ObjectOutputStream (Object -> File)

      • Object serialization: ObjectInputStream (File-->Object)

    • Random access stream: RandomAccessFile

  • NIO

    • new IO read and write operations for the buffer period

    • NIO concept

    • NIO case

1.1.2 Multithreading

  • The concept of threads

    • Thread and process go chant

  • Thread creation: inherit Thread, implement Runnable interface, thread pool

  • Basic thread attributes: thread name, priority, daemon thread

  • The state of the thread: new, runnable, running, blocked, destroyed

  • Thread blocking events: wait, sleep, join...

  • Thread synchronization: lock object, lock method, synchronization lock

  • Thread Pool

  • Producer and consumer

1.1.3 Network programming

  • Network concept: IP, PORT, TCP, UDP

  • TCP:ServerSocket,Socket

  • UDP: DatagramSocket, DatagramPacket, multicast communication (extended)

1.1.4 New Features of JDK8

  • Lambda

  • Functional interface

  • Stream

  • Interface default method (JDK7 can only define abstract methods in the interface before, JDK8 interface default method refers to the method with method body can be defined in the interface)

  • Timestamp

1.2 Advanced JDBC

  • Database connection pool

  • DBUtils

  • DAO package

1.3 Java web:JSP/Servlet

1.3.1 JSP

  • JSP file structure

    • Compilation instructions:

    • Action instructions:

      • <jsp:cmd />

    • Various tags in JSP

      • <% %>

      • <%= %>

  • JSP nine built-in objects

1.3.2 Servlet

  • Servlet life cycle

  • Servlet使用(request、response、session、cookie)

  • File upload and download

  • Pagination

  • MVC layered thinking

  • Filter

  • Listener (session listener)

1.4 Front-end framework

  • BootStrap

  • jQuery

    • grammar

    • Selector

    • Element attributes and style operations

    • Document operation

    • Animation: 2D and 3D deformation

    • ajax

  • jQuery easyUI

  • echarts icon

1.5 SSM

1.5.1 Framework basics

  • reflection

  • xml parsing

  • annotation

1.5.2 Spring

  • IoC 与 IN

  • AOP

     
     
    • Explanation: What is aspect-oriented programming?

    • Noun comprehension: connection point, entry point, tangent point, cut surface

  • Spring JDBC

  • Spring transaction management

1.5.3 MyBatis

  • CRUD operations

  • Mapping file configuration (resultMap)

  • Dynamic SQL

  • Cache

  • Lazy loading

1.5.4 SpringMVC

  • SpringMVC request processing flow (SpringMVC principle)

     
     

     

Second, the third stage technical points preview

Distributed development phase

  • Linux

  • vue (front-end framework)

  • SpringBoot

  • Shiro (v8)

  • SpringCloud

  • Redis

  • IT IS

  • SQM

  • Distributed Transaction (LcN Tcc)

Three, Linux introduction

Background: Java projects are usually developed based on the windows system, and the server is not familiar with Linux based on

3.1 Linux system overview

  • Linux is a free-to-use and freely spread Unix-like operating system

  • Support multi-user, multi-any, multi-thread and multi-CPU operating system

  • Linux is usually used as a server system (windows server is also a system suitable for servers)

3.2 Features of Linux system

  • Performance is more stable than window (lower downtime probability)

  • Fully open source, users can freely tailor, high flexibility, low cost of use

  • Many technical community users

  • Linux core firewall components have high performance and simple configuration to ensure system security

  • For linux to provide a pure command line system (also with a desktop), the system overhead is much smaller than that of windows

  • In summary, Linux is more suitable for server systems than windows

3.3 Linux system version

  • RedHat (Linux version issued by RedHat company, high efficiency, high scalability, high reliability)

  • SUSE (Linux distribution released by German SUSE company)

  • DEbian (pursuing to create a free operating system, there are currently many unofficial versions, and the availability is not high)

  • Ubuntu (Uban map, based on DEbian release, desktop system, is a linux system based on desktop applications)

  • CentOS (compiled based on RedHat source code, CentOS is completely open source)

  • Red Flag Linux

  • OS X is a Linux system

Four, virtual machine

How to obtain a Linux system?

    1. Hardware-based installation of Linux (install dual system)

    1. Install a virtual machine: In the current windows environment, install a virtual machine software and simulate a computer through this software (occupying resources)

    1. Rent a cloud host

4.1 Introduction to Virtual Machine

  • Use software to simulate the hardware environment-virtual machine

     
     

4.2 Install VMware

VMware Workstation—Virtual machine software used to create and manage virtual machines

4.2.1 Download

Download link: https://www.vmware.com/content/vmware/vmware-published-sites/us/products/workstation-pro/workstation-pro-evaluation.html.html

4.2.2 Installation

Silly installation (default next step)

4.3 Download the installation image of CentOS

Download link: https://www.centos.org/download/

4.4 Create a virtual machine

Steps (omitted)

4.5 Install CentOS

Steps (omitted)

4.6 Enter CentOS

  • Check the network configuration: applications-->Terminal

    ifconfig
  • System state switching

    init 3 switch to the command line state 
    init 5 switch to the desktop state

4.7 Virtual machine cloning

4.7.1 Clone

Select the target virtual machine-->Right click-->Manage-->Clone-->Select full clone

4.7.2 Modify mac

Select the cloned virtual machine-->Right click-->Settings-->Network adapter-->Advanced-->Mac address (generated)-->OK

Five, cloud host

5.1 What is a cloud host?

  • Cloud hosting is a virtualization technology similar to VPS hosting. One host (host cluster) virtualizes multiple parts similar to independent hosts, which can realize single machine multi-user, and each part can be used as a separate operating system and management method. Same as the host.

  • A cloud host is a virtual system built on multiple hosts (host clusters). Each host in the cluster has a mirror image of the cloud host, which greatly improves the security and stability of the virtual cloud host

5.2 Enough to buy cloud hosting

Recommend Ali, Tencent

Ali: Students under the age of 24 are exempt from certification and enjoy student preferential policies; students over 24 need student certification

Tencent: 25 years old

5.3 Cloud host management

  • Manage the status of the cloud host through the Alibaba Cloud console

    • Start, stop, restart

    • Set instance password

    • Custom instance image

  • Security group management

Guess you like

Origin blog.csdn.net/u014748504/article/details/108489310