Get the App
  • The method of viewing Port in linux

    The method of viewing Port in linux

    First of all, let's open the command interface of the Linux to view the port, as shown in the figure: in order to get higher permissions (view all ports), the first way to switch root user login here is to use the lsof command, taking 80 as an example, as shown in the figure: if there is no output

    Shulou · 2022-06-03 03:35
  • Where is the configuration file for mysql in linux

    Where is the configuration file for mysql in linux

    On linux systems, the location of the configuration file is usually / etc/my.cnf or / etc/MySQL/my.cnf. We have seen some people try to modify the configuration file but it does not work because they are not modifying the file read by the server. For example, Debi

    Shulou · 2022-06-03 03:35
  • The method of executing multiple commands at the same time in linux Command Line

    The method of executing multiple commands at the same time in linux Command Line

    Separated by semicolons, indicating that the command will be executed regardless of whether it is executed successfully or not [root@localhost /] # date;date;date2019 05.03 Friday 09:08:37 CST2019 05.03

    Shulou · 2022-06-03 03:35
  • Configuration of apache server

    Configuration of apache server

    The main configuration file for Apache is / etc/httpd/conf/httpd.conf. It contains many configurations that do not need to be changed in the basic installation. In fact, you only need to make some changes to this file to get a simple Web site up and running. The file

    Shulou · 2022-06-03 03:35
  • The method of checking user's password in linux system

    The method of checking user's password in linux system

    Open the terminal, enter head-3 / etc/passwd, enter, and you can check the first three passwords. Open the terminal, enter cat / etc/shadow, enter, and you can see all the users and passwords. Open the terminal and type ls-l / etc/pass

    Shulou · 2022-06-03 03:35
  • The method of linux to check whether the mysql service is started

    The method of linux to check whether the mysql service is started

    Specific method: you can use the following command to check the startup status of mysql: # service mysqld status or # service mysql status if it is mysqld is stopped, that means

    Shulou · 2022-06-03 03:35
  • How to solve the problem that the ftp tool cannot connect to the linux server

    How to solve the problem that the ftp tool cannot connect to the linux server

    Reason: the ftp tool cannot connect to the Linux server and the file cannot be uploaded because your ftp server is not built (or started). Build process: 1, install vsftpd login Linux server, execute the following command, install vsftpd. Yum

    Shulou · 2022-06-03 03:35
  • The method of connecting Network in linux system

    The method of connecting Network in linux system

    Preparation: check the VMware server startup, five full open mode vmnet8 open mode configuration VMware switch ip address, here: network: VMnet8 (fixed) subnet ip:192.168.5.0 (fixed) subnet mask: 255.2

    Shulou · 2022-06-03 03:34
  • The method of opening Software in linux

    The method of opening Software in linux

    First create a folder to hold the script files you wrote. Find the path to the execution program you want to open. Take Firefox as an example. There is an execution program for Firefox under / usr/bin. Enter cd / usr/local/myShell to enter the folder you just created. And then

    Shulou · 2022-06-03 03:34
  • Linux .vimrc humanized configuration parameters (can be copied)

    Linux .vimrc humanized configuration parameters (can be copied)

    The following content is from set nocompatibleset history=100filetype onfiletype plugin onfiletype indent, "shell programming practice" published by the old boy.

    Shulou · 2022-06-03 03:34
  • The method of modifying and saving files in linux

    The method of modifying and saving files in linux

    First, open the command console to find the file you want to edit, execute the command ls to see how many files are below, I have an index.php file below, and then execute the command vi index.php. If you want to modify the contents of this file at this time, press the'I 'key on the keyboard, the most

    Shulou · 2022-06-03 03:34
  • The method of creating files and folders in linux

    The method of creating files and folders in linux

    First of all, let's talk about the command for touch to create files. Touch can be used to create binaries, which is very simple to use. Usage: touch+ file name, there must be a space between touch and file name. In the picture, first use the previously shared commands to see how many texts are under the / directory.

    Shulou · 2022-06-03 03:34
  • How to retrieve the root password in linux system

    How to retrieve the root password in linux system

    After rebooting the system, the GRUB interface appears on the bootloader menu. Use the up and down keys to select the system for which you forgot your password and type "e" to enter edit mode. Next you can see the picture shown in the following figure, and then you use the arrow keys to select the latest kernel (here is the second line, kern

    Shulou · 2022-06-03 03:34
  • Where is the host file in the linux system

    Where is the host file in the linux system

    Hosts is a system file without an extension, and its function is to establish an associated "database" between some commonly used URL domain names and their corresponding IP addresses. When a user enters a URL that needs to be logged in in the browser, the system will first automatically find the corresponding IP from the Hosts file.

    Shulou · 2022-06-03 03:34
  • How to use zip to decompress garbled codes in linux

    How to use zip to decompress garbled codes in linux

    Files compressed on windows are compressed in Chinese by default. Because its encoding is not declared in the zip file, the unzip on linux is generally decompressed with the default encoding, and the Chinese file name will be garbled. There are two ways to solve the problem: 1. Through unzi

    Shulou · 2022-06-03 03:34
  • How to modify hosts File in linux

    How to modify hosts File in linux

    The hosts file can be modified on the Linux through the command line or through the graphical interface, which we introduce in turn, first through the command line, taking the CentOS/RHEL distribution as an example. This version of the hosts file is in the / etc directory, and the command to open using the editor is: v

    Shulou · 2022-06-03 03:34
  • The method of shutting down Firewall by linux

    The method of shutting down Firewall by linux

    Firewall technology is a technology that helps computer networks build a relatively isolated protection barrier between their internal and external networks by organically combining all kinds of software and hardware equipment used for security management and screening, in order to protect the security of user data and information. The main function of firewall technology is to find and deal with the meter in time.

    Shulou · 2022-06-03 03:34
  • What is the terminal and shell in linux

    What is the terminal and shell in linux

    Shell: Shell refers to software (command parser) that "provides the user with an interface". When we use Linux, we do not deal directly with the system, but through the intermediate program of Shell. Why is it called shell? it's because it hides the underlying operating system.

    Shulou · 2022-06-03 03:34
  • The method of decompressing rar File in linux

    The method of decompressing rar File in linux

    Tool: linux virtual machine rarlinux decompression step: download the rarlinux installation package, upload the installation package to the virtual machine, extract the rarlinux, find the rar file in the virtual machine, and extract the command as follows: rar x 111.rar decompressed successfully above is lin.

    Shulou · 2022-06-03 03:34
  • File Rights Management in linux

    File Rights Management in linux

    The command is as follows: chmod-R 777 filename parameter-R means recursion, and 777 means to open all permissions. For example: chmod 777 test.sh add: if you add executable permissions to everyone: chmod asancx file name if you give it to the file

    Shulou · 2022-06-03 03:34