Category:Linux

  • Centos7 reset password

    Time:2022-5-5

    This article is aimed at CentOS 7 and later versions. The previous version is not applicable, and only refers to the modification of root password during startup. The operation of changing the password itself is not complicated, but the events and commands used in the process are worth studying.   Abbreviated version: Press the start […]

  • Installing GD under Linux

    Time:2022-5-5

    Before installing Gd, you need to install jpeg-6b, libpng, zlib and freetype. The following is the download URL: http://www.libgd.org/DownloadsGD Download ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gzJPEG Download http://www.libpng.org/pub/png/libpng.htmlPng Download http://www.zlib.net/zlib-1.2.3.tar.gzZlib Download http://www.freetype.org/Freetype Download 1.installzlib tar zxvf zlib-1.2.3.tar.gz cd zlib-1.2.3 ./configure make make install 2.installlibpng tar zxvf libpng-1.2.29.tar.gz cd libpng-1.2.29 cd scripts/ mv makefile.linux ../makefile cd .. make make install Note […]

  • Tutorial on installing Linux kernel header files on Linux systems

    Time:2022-5-5

    When you are compiling a device driver module, you need to install the kernel header file in the system. The kernel header file is also required when you compile user space programs directly linked to the kernel. When you install the kernel header file in these cases, you must ensure that the kernel header file […]

  • Shell script to start PHP built-in fastcgi server

    Time:2022-5-5

    The working platform was updated from Ubuntu 9.10 karmic to 10.04 lucid a few days ago, because the official source of lucid comes with PHP5 3.2, previously useddotdeb I can’t use the source of. I’ve always liked this source. It not only provides PHP5 3 and PHP5 FPM is a very practical fcgi process manager, […]

  • 1. Build NTP time server

    Time:2022-5-4

    NTP server time NTP server is used for time synchronization of LAN servers, which can ensure that the time of all servers in LAN is consistent with that of time server. Some applications that require high real-time performance of time must unify the time. There are also many time servers on the Internet, such asntpdate […]

  • Configuring Apache virtual host instance for Linux system

    Time:2022-5-4

    installapache,php: yum install httpd php Suppose the IP address of the VPS is 58.130.17.168, and there are two domain names pointing to the IP address, domain1.1 com, domain2. com, Modify / etc / httpd / conf / httpd Conf, add at the end of the file: ServerName 58.130.17.168 NameVirtualHost 58.130.17.168 <VirtualHost 58.130.17.168>         ServerName domain1.com […]

  • Method of enabling Intel rapid start in Linux system

    Time:2022-5-4

    Intel rapid start is a technology developed by Intel to help notebook computers save power and recover quickly. It is different from traditional sleep and hibernate. In comparison, it is similar to hybrid sleep. Intel said that this technology should first be supported by the motherboard, then SSD, and finally windows. But in fact, SSD […]

  • Putty’s method of realizing automatic login to remote Linux host

    Time:2022-5-4

    Due to work needs, we often need to access the remote Ubuntu server from the windows host. It’s very troublesome to enter the account and old password every time, so we can automatically log in to the remote host after simple setting with reference to the online tutorial, which is very convenient. Although putty also […]

  • Git introduction to mastery

    Time:2022-5-3

    Git introduction to mastery I What is git 1.1 introduction to Git 1.2 advantages of GIT II The difference between GIT and SVN III Git download and installation 3.1 download Git IV Git structure V GIT and code hosting Center 5.1 code hosting Center 5.2 local library and remote library 5.3 cooperation process within the […]

  • [Linux exercise] simulate a simple shell

    Time:2022-5-3

    Article catalogue 1、 Foreword 2、 Process program replacement 1. Replacement principle 2. Substitution function 3、 Simulate a simple shell 1.gethostname 2. Simulation Implementation Thank you for reading. Please criticize and correct any mistakes 1、 Foreword Shell is a command-line interpreter. Its function is to give the command to bash to execute, and Bash gives the […]

  • Alibaba cloud CentOS Yum reports an error – status code: 404 for https://mirrors.aliyun.com/centos/centos/8/AppStream/x86_6

    Time:2022-5-3

    https://developer.aliyun.com/mirror/centos”https://mirrors.aliyun.com/centos/”>https://mirrors.aliyun.com/centos/ Modify the error file in the directory / etc / yum repos. D look below Modify baseurl Alibaba cloud warehouse data For example, this one doesn’t Then I put this representing 8“

  • Interviewer: what is the principle of Linux zero copy?

    Time:2022-5-3

    1. PrefacePeople like da Bai, who is a contractor, know that if they don’t understand the underlying technology, it’s like a castle in the air. There’s no hope to face Ali P10 in this way. Thinking of this, I began to panic, so today I will learn an underlying technology point – zero copy. Everything […]