How Linux frees Memory

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

Using Linux commands to modify IP information

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/

The usage of Linux under VI

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

Linux:jenkins Installation

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

Replace the Yum source with Linux

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

About Linux Soft Connect

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 Foundation Part1

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.

Linux simple commands

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

Linux process scheduling

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,

Linux system startup process

Post (power on Self Test)-->bios (Boot Sequence)-->mbr (bootloader,446)-->kernel-->initrd--> (ROOTFS)/sbin/init (/ Etc/inittab)Kernel design style:Redhat,suse Core: Dynamic load kernel module kernel:/lib/modules/"kernel version number command

Linux files Add permissions

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

Linux Kernel network parameter optimization

Additional content under/ETC/SYSCTL.CNFNet.core.netdev_max_backlog =32768Net.core.somaxconn=32768Net.core.wmem_default=8388608Net.core.rmem_default=8388608Net.core.rmem_max=16777216Net.core.wmem_max=16777216Net.ipv4.ip_local_port_range=1024x768 65000

Using Nginx for load balancing under Linux

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

Linux Learning Notes

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.

Total Pages: 5467 1 .... 5463 5464 5465 5466 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.