Under Linux, we don't typically need to free up memory because the system has managed the memory well. But there are exceptions, sometimes memory is cached, causing the system to use swap space to affect performance, this time need to perform free
Linux command line modifies IP, gateway, DNS methods
Mode one:
Ifconfig eth0 192.168.1.18 netmask 255.255.255.0
Description: This method can make the change immediately effective, reboot will revert to the original IP
Mode two:
Vi/etc/sysconfig/
Introduction of BASIC commands
----1. Cursor command
K, J, H, l--up, down, left, right cursor move command. Although you can use the 4 cursor keys to the right of the keyboard in Linux, it is useful to remember these 4 commands. These 4 keys are
1, the official website download Jenkins.war Package 2, executes the command: Mv/opt/jenkins.war/opt/apache-tomcat-7.0.77/webapps 3, launches the Tomcat server, executes the start command under the Tomcat/bin directory: ./startup.sh4. Input
Due to the fact that the CentOS source is not very useful, it is intended to be replaced by 163 and the operation record is as follows:wget Http://mirrors.163.com/.help/CentOS6-Base-163.repo #下载163yum源MV Centos-base.repo Centos-base.repo.back
Create directory under folder: My, new file in my directory 123.txtmkdir my Touch my/123. txtTo establish a soft connection:Ln my haha-sRM-RF delete hahaRM -123. txt still existsRM-RF Delete haha/rm -rf haha/#haha, my is still there, my is
Linux Basic Part OneI. INTRODUCTION of Linux1. Mastering the definition of Linux: Linux is a free-to-use and free-spread UNIX-like operating system, a POSIX and UNIX-based multi-user, multitasking, multi-threaded and multi-CPU operating system.2.
RZ upload file sz download file date display Day Cal display Calendar Shutdown-h now immediately shut down the time is equivalent to 0 init 0 shutdown shutdown-h +10 10 minutes after shutdown Shutdown-r now restart chmod Change permissions
Preemption is not to move non-running processes out of the dispatch queue. task_running: Running or in ready state: The ready state refers to all the resources that the process has requested outside of the CPU, so-called: everything is prepared,
chmod [who] [+ | - | =] [mode] filename? The meaning of the options in the command is: The action object who is either or a combination of the following letters: U means "user", that is, the owner of the file or directory. G means "same group
Using Nginx for load balancing under LinuxPrerequisites:1. Install the JDK.2. Install Tomcat and Nginx (refer to my first two articles)After satisfying the precondition, we should use Nginx to realize load balance, mainly by configuring Nginx
1 Linux Development steps:2 3 1. Enter VI Hello.java4 2. Enter i[into insert mode]5 3. Enter esc[into command mode]6 4. Input: q!"Do not save direct exit": Wq "Exit and save"7 5. Enter LS-L "View detailed list"8 5. Compile javac Hello.java file9 6.
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