The first solution to Linux, but also for Linux, but rpm, tar.gz, Deb package is still very different, this difference can make the installation process will not go on. What format package should we download?RPM Package-can be installed directly on
Linux is a very important concept, it refers to the device (has The formatted partition) is attached to the directory that already exists. The Linux operating system sees all the devices as a file, consolidates all the resources into a large
Synchronizing with a known time serverThe code is as follows:Ntpdate time.nist.govWhere time.nist.gov is a time server.Delete local time and set time zone to ShanghaiCopy CodeThe code is as follows:
Unit Seven1 . Status of the processRun, stop, hibernate, zombie process (the process is closed but still occupies memory), end2. View process CommandsPs-a View The processes running in the shell (-a means that only the processes in the Shell's front
Third Week blog assignment1. Lists the user names of all logged-in users on the current system, note that the same user logs on multiple times, only once. W.H.O. | Cut-d '-f1| Sort-u2. Remove information about the user who last logged on to the
Basic Linux operation essay (i)First, create delete file1:) Create foldermkdir AA creates a folder of AAMkdir-p aa/bb/cc to create a hierarchical directory recursively aa/bb/cc1:) Create fileTouch index.html Update creation time if
Mount hard drive on bootCat/etc/fstab/DEV/SDA1/MNT/SDA1 ext3 defaults 0 0Mount the hard driveMount/dev/sdb5/home/disks/sdb5Un-mountUmount/home/disks/sdb5------------------------------------------Unzip the file. tar.xz Yum Intsall XZxz-d files.tar.xz
Basic architecture of Linux operating system I. Linux process Management
Process management includes: process scheduling, interrupt handling, signaling, process prioritization, process switching,Process state, process memory, and so on.
What
Brief introduction:
Iptables is a user-state module, which is mainly configured for rules;
NetFilter is the kernel module, which is responsible for filtering actions.
Instance:
Iptables–f
Iptables–a input–i
Linux shortcut launches Tomcat1. Script Path/etc/init.d/tomcatFirst execution: Vi/etc/init.d/tomcatPress A to edit, the following content according to your own situation (mainly to modify the/usr/local/tomcat6/bin/)After modifying the copy to the
Environment: Virtual Machine VMWARE10Here are a few things to watch out for:First, partition type :1, Primary partition: There can be up to four;2. Extended partition: Can only have one, and the primary partition plus the extended partition can only
Vim/etc/ssh/sshd_config # #编辑允许登陆的配置文件Systemctl Rstart sshd # #重起sshd服务Permitrootlogin No # #不允许root用户被远程登陆Allowusers Linux Westos # #允许那个用户可以被访问Compressed command compression parameter file name to be compressed after compression (path)TAR-CF
Vim/etc/ssh/sshd_config # #编辑允许登陆的配置文件Systemctl Rstart sshd # #重起sshd服务Permitrootlogin No # #不允许root用户被远程登陆Allowusers Linux Westos # #允许那个用户可以被访问Compressed command compression parameter file name to be compressed after compression (path)TAR-CF
Detailed configuration of sudo and its configuration file /etc/sudoers under Linux.1.sudo introduction sudo is commonly used under Linux to allow ordinary users to use superuser privileges of the tool , allowing the system administrator to allow
>>>>>unit 11. Line promptFor example: [[email protected] desktop]$Kiosk # #打开shell的用户@ # #分隔符Foundation0 # #主机名称Desktop # #工作目录名称$ # #身份提示符, #表示超级用户, $ represents a normal userNote: The command must be entered at the line prompt to execute2. Switch
Today to help students install Linux on the Win7, feel a tutorial is very good, markOriginal address: Win7 under the U disk installation Ubuntu14.04 Two system steps detailedFirst, pre-preparation1, more than 2G of a U disk (my system disk after the
First, the PrimerOpen Source AddressHttp://pan.baidu.com/s/1slCMspR. NET core Microsoft is still working, but as a commercial there is a distance, many development libraries are not yet available for. NET Core, so we haven't seen a large use case,At
Principles and Implementation of the Linux kernel notification Chain Mechanism
I. concept:
Most kernel subsystems are independent of each other, so a subsystem may be interested in the events generated by other subsystems. To meet this requirement,
How does apache enable gzip compression? Does apache enable gzip?
1. Locate/etc/httpd/conf/httpd. conf (in linux) and open
2. Find the deflate_Module and headers_Module modules in the file and remove the previous #
3. Add at the bottom of the
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