Set a fixed IP address in ubuntu

First, set IPsudo gedit/etc/network/interface to delete the content and add the content auto loiface lo inet loopback auto reset eth0 inet staticaddress into 255.255.255.255.0network 192.168.1.0broadcast 192.168.1.255gateway 192.168.1.1 to save and

Solve the Problem of vi code highlighting in secureCRT

Solve the Problem of vi code highlighting in secureCRTWhen you use the secureCRT terminal to connect to the server, you can use vi to edit the code. The displayed color is black and white, and it looks gray. After searching, change the vi ~ /. The

Waitpid and wait usage in linux

Wait (waiting for the sub-process to be interrupted or terminated)Header file # include # include define the pid_t wait (int * status) function. Function Description: wait () temporarily stops the execution of the current process until a signal

Solution to crontab prompt command not found

Recently, crontab is used to execute some commands: regularly synchronize system time with hardware time. Because I always find that the time on my linux server will slow down, and I finally want to synchronize this method. At the beginning, I run

No color display solution for the vi Editor

In linux, you can use vi to edit and modify the file configuration without the color display file content. In particular, some keywords cannot be displayed in color, causing great inconvenience during the configuration service process. Here is a

Linux batch set user Disk Quota

Setting rules: 1. Each user can store up to 20 mb of files, and can create up to 200 files. 2. warn users when creating files larger than 100 mb and more than files. 3. Because some users have exceeded the above restrictions, we must first notify

Centos vi command usage

The vi editor is a standard editor for all Unix and Linux systems. It is not inferior to any of the latest text editors. Here we just briefly introduce its usage and a few instructions. The vi editor is identical for any version of Unix and Linux

Common rpm commands in linux

Rpm-qpl xxxxxx. rpm 1. You can use the program rpm to install the rpm package rmp package. Run the following command rpm-I your-package.rpm where the your-package.rpm is the file name of the rpm package you want to install, typically placed under

Linux shutdown commands and differences

Recently, the customer's SUSE 10 machine has been unable to restart and stuck on the restart interface. neither init 0 nor shutdown-h now works. in the end, halt can be used to shut down again. in linux, some common shutdown/restart Commands include

One linux Command per day

One linux Command a day is similar to cat, but it is displayed on pages. More -- help can be used to view command parameters. The operations on files opened by more pages are similar to those of vi, so we will introduce them in section vi. More-n

Command for viewing CPU, memory, and hard disk information in Linux

In the Linux desktop version, it is really convenient to view these things and you can use them with graphical tools. However, there is no graphical interface to operate on Linux server or remote ssh connection. If we need to understand this

Putty remote connection to Linux Server garbled Solution

Environment: VirtualBox4.1 + RedHat Linux 6 + Putty0.62 problem: Garbled code occurs when Putty remotely connects to the Linux server, as shown in:Solution: 1. First execute locale-a to view the character encoding supported by the current system; 2.

Service Management-ntp

Service Management-ntp-related knowledge what is the Time synchronization server Network Time Protocol (NTP) is a Protocol used to synchronize computer Time, it synchronizes computers to their servers or clock sources (such as quartzels, GPS, and so

View system usage in ubuntu linux

Ubuntu linux to view the use of the system king @ king-E430 :~ $ Df-lhFilesystem Size Used Avail Use % Mounted on/dev/sda8 51G 12G 37G 24%/udev 2.8G 4.0 K 2.8G 1%/devtmpfs 1.1G 948 K 1.1G 1% /runnone 5.0 M 0 5.0 M 0%/run/locknone 2.8G 152 K 2.8G

One line of shell code to solve the problem

One line of shell code to Solve the Problem 1. find at least one line of xml files containing the string mysql, and sort the C code find in descending order of the number of occurrences. -type f-iname "*. xMl "| xargs grep-c mysql | grep-v": 0 $ "|

Ubuntu desktop uses root login and sound problems, displays Chinese garbled characters in windows text, memory off swap, brightness, and install QQ

Ubuntu desktop uses root login and sound problems, displays Chinese garbled characters in windows text, memory off swap, brightness, installs QQ to edit sudo gedit/etc/lightdm. conf [SeatDefaults] greeter-session = unity-greeteruser-session =

FastDFS_v4.06 + nginx-1.4.2 configuration details

FastDFS_v4.06 + nginx-1.4.2 configuration details during the past few days to play FastDFS, while amazed at the large cattle while also sincerely thanks to the sharing of fish big. Some simple records have been made for the configuration of Nginx +

How to deal with low wireless Internet access speed in ubuntu

Many people may experience extremely slow wireless network speeds after installing the ubuntu system. Even if many web pages cannot be opened, even the UNICOM domain name prompts will appear when you open the website, you only need to execute the

Linux kill pid Process

In linux, the kill pid process memcached startup command references memcached-d-m 10-u root-l 192.168.0.122-p 11200-c 256-P/tmp/memcached. the pid-d option is to start a daemon.-m indicates the amount of memory allocated to Memcache. The unit is MB.

SVN + website server synchronously updated

SVN + Site Server sync update add tmp to save the update record to go To the hooks directory to copy the post-commit.tmpl file, the new file name is called post-commit without a suffix. Open the file, comment out all the content in the file, and add

Total Pages: 5467 1 .... 4607 4608 4609 4610 4611 .... 5467 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.