Temporarily modify IP address, gateway, host name, DNS, immediately effective, no reboot (failure after reboot)
1. Modify Host Name
The code is as follows:
#hostname Slyar
2. Modify IP address (eth0 is the name of the network
Creating partitions or new file systems in Linux usually means one thing: Install the Gnome Parted Partition editor (GParted). This is the only way for most Linux users. However, have you ever considered creating these partitions and filesystems at
You may have heard or encountered something like this: A system administrator accidentally entered the "Chmod-r 777/" so that the great tragedy caused the entire system has been seriously damaged. In day-to-day management, we have a number of tools
Shared memory-related knowledge
Shared memory is the common use of the same piece of physical memory space between multiple processes, and it is achieved by mapping the same piece of physical memory to the virtual space of different processes.
0X00 Linux File directory structure
We are in the Windows environment of the file directory structure is probably several letter, C disk D disk E ... But under Linux is a tree diagram (in fact, Windows is also a tree diagram inside). Linux the next
mkdir commands that we use a lot more when we operate Linux operations and Web deployments, primarily to create a directory folder that you specify. For example, Chiang Kai-shek in the previous blog article mentioned in the download data hard disk,
Although you have jail me into a specific environment through namespace, the processes I use in the CPU, memory, disk, and so on, can actually be arbitrary. So, we want to limit or control the resources used in the process. That's why Linux cgroup
1. Download Awstats and Cronolog installation packages to the following websites:
http://sourceforge.net/projects/awstats/
http://www.cronolog.org
2, decompression and installation files
1) The tar xzvf awstats-version.tgz are as follows:
Data
20 Linux Command interview questions and answers below:Q: 1 How do I see the running level of the current Linux server? A: The ' who-r ' and ' runlevel ' commands can be used to view the running level of the current Linux server. Q: 2 How to view
Manage your Evernote record notes on the Linux command line. If you've never heard of it, Evernote has a dedicated, user-friendly online service that can sync notes between different devices. In addition to providing a fancy web-based api,evernote,
RPM Execution Installation package
Binary package (Binary) as well as source code package (sources) two. The binary package can be installed directly on the computer, and the source code package will be automatically compiled and installed by RPM.
First, Linux system
The code is as follows
Copy Code
#/bin/bash Count=0Tmp1=/tmp/.tmp1Tmp2=/tmp/.tmp2> $tmp 1> $tmp 2Fstab_file=/etc/fstab #check lock file, one time is let the script run one timelockfile=/tmp/.$
SSH login remote server, the speed is very slow, through the online query, found that there is a parameter-V can output a specific message to display the connection. So the connection plus this parameter connection
[FENG@FSC ~]$ ssh-v
List of required equipment:
A free mainframe.A router that has already been brushed OpenWrtA wireA 2G USB drive.Before you do this, make sure you have a router that has brushed the openwrt, then power the router and connect the router via a network
All socket communication is through the socket interface, any family communication including UNIX domain sockets to go, so as long as the intercept socket read and write a few syscall can understand the UNIX domain socket sent and received.The
Nmon is a tool for collecting performance data and analysis of Aix or Linux hosts and is easy to use. There are two main, one is the Nmon collection Data tool, the general name is nmon_**, for example nmon_aix5.3, another is the analysis result tool,
Many Linux users encounter the dilemma of installing the operating system: how to accurately evaluate and allocate the capacity of each hard disk partition, if the initial evaluation is not accurate, once the system partition is not enough, you may
The content originates from the people's post and Telecommunications press "Linux command Application big dictionary"tell 729 commands, 1935 examplesLearn about the Linux system's reference books, desk book, encountered the command or command not
Cross-platform developer experienceGuideAndreia Gaita delivered a speech entitled cross-platform developers self-white at the OSCON open-source conference. She has been engaged in open-source work for a long time and is committed to creating Mono
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