How to forget the root user password in Linux

GRUB: on the boot loader menu, type [e] to enter the editing mode. You will face a list of pilot projects. Find the following output sentence lines: & nbsp; kernel/vmlinuz-2.4.18-0.4roroot/dev/hda2 & nbsp; press the arrow key until this line is

Implement ftp vm in Linux

In Linux, we can use ftp service programs such as wu-FTP, tftp-server, proftpd, gssftp, and vsftp to build an FTP server. Wu-ftp (WashingtonUniversityFtp) is widely used in a variety of Linux releases and a variety of Unix (including IBMAIX, FreeBSD,

Create a user in ubuntu

Ubuntu new user experience 1. Add user (1) create a new user username # sudouseraddusername (2) set username password # sudopasswdusername2. add a user group to create a new group groupname # sudogroupaddgroup... UbuntuNew user experience 1. add a

Use PROMPT_COMMAND in Linux to implement audit

This system audit records users, times, and operations. Then, record the information to a file. 1. configure 1. add the following two lines of code at the end of the/etc/profile File: exportHISTORY_FILE/var/log/'date & amp; lsquo; + % Y %... This

Linux log module

The logging function is provided by the specific daemon syslog. if the software suite needs to be written to the log file managed by syslogd, the software package must support the write mode of syslogd login files. The log information is stored in

Installation of software in linux

The source code is a text file that needs to be compiled by the compiler and converted into an executable file. during the compilation process, the source code is large and sometimes needs to be divided into several parts for compilation into the

Linux startup process

1. BIOS: basic input/output system, which records the motherboard chip set and related settings, such as the communication frequency between the cpu and the interface, the search sequence of the startup device, and the interrupt information. After

Linux thread 1

1. Linux thread implementation threads are further abstracted based on processes. that is to say, a process is divided into two parts: thread set and resource set. A thread is a dynamic object in a process. it should be a group of independent

Linux temporary and permanent routes

You must use the third method to add permanent routes !! Remember one: use the route command to add the route using the route command to add, machine restart or Nic restart after the route becomes invalid, method: // add to the host route # routeadd-

Apache learning-Satisfy command

Satisfy Command: The Command uses SatisfyAll/Any. it is used in Directory and. htaccess. We know that there are two mechanisms in Apache access control: client restrictions and user authentication mechanisms. Explanation: client restrictions: & lt;

Set various terminals for bash coloring

In any user's home directory. add a line of PS1 & quot; \ [\ e [37; 40m \] [\ [\ e [32; 40m \] \ u \ [\ e [37; 40m \] @ \ h \ [\ e [35; 40m \] \ W \ [\ e [0m \] \ $ \ [\ e [33; 40m \] & quot; then exit and log on again to see the effect: This

Linux file search

1. locate --- & gt; search for the database generated in advance, fuzzy search, updatedb update the locate database-I: ignore the case of the file name-n: only show the first n rows of eg: locate-n3passwd2, find ---- & gt; real-time search, exact

Rational Use of KeepAlive configuration in Apache

In the Apache server, KeepAlive is a Boolean value. On indicates opening, and Off indicates disabling. this command exists in many other HTTPD servers. The KeepAlive configuration command determines whether to immediately close the TCP connection

Common commands in Linux

Sudosu enters the administrator mode, because sometimes the system prompts incorrect passwords when using su. Find. /-name & quot; Makefile & quot; search and list the file paths grep-nr & quot; test & quot; whose names are & quot; Makefile & quot;

Linux network client commands

1. elinks-dump displays eg: elinks-dumphttp: // www.google.cn-source in text mode. for example: elinks-sourcehttp: // www. google. cn2, wget download -- tries10 try to download several times-o save the connection...   1. elinks-Dump is displayed as

Sort, uniq text sorting

To be improved... sort: it is very efficient and powerful to implement the text sorting algorithm. the content of the original file is not modified. only the content output on the screen is modified. for example, sort/etc/fstab #-u removes duplicate

Summary of several special shell variables in linux

####################### Summarize several special shell variables: ######################################## ######################################## ##### http://hi.baidu.com/xece/modify/blo   ######################## Summary of several special

Linux shell Programming basics

This is a basic article on shell. The main content is the role of bash, the role of history, the pipeline operator, how to customize variables, and how to execute scripts. The next article will introduce some content such as if,, while, case and

Set up WEB servers in LINUX

The configuration time on my local machine is not long, but it took a long time to write a configuration document and share it with you. I hope you can use the LINUX release: Fedora14 and Apache.2.2 to install it! Still use the rpm Package

Vsftpd prompt: Noroutetohost troubleshooting

Vsftp cannot be connected, and Noroutetohost is displayed. Cause: iptables port 21 [root @ localhostsysconfig] # iptables -- listChainINPUT (policyACCEPT) targetprotoptsourcedestinationRH-Fir is not open...   Vsftp cannot be connected. the system

Total Pages: 2732 1 .... 2443 2444 2445 2446 2447 .... 2732 Go to: GO

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.