Basic principles of Linux:1, the file is relatively small, single function, a large system needs to combine a number of small programs.2, all documents.3, plain text configuration.CLI Interface: command-line interface. Provided by the shell, the
[email protected]:~/shell$ ls1.txt man.config man.config~ test.sh test.sh~It shows that there are five files below the/shell, now the size of each file is to be typed separately, what to do with du command.Think, the answer is below, with the mouse
The beginning of the script needs to use #!/bin/bash to start the script, in the script, it is best to use the # comment comments, develop good habitsIn the system, the default is a variable reply variableIn declare you can define the type of a
One, (Linux search for help, you must understand)The Manual Help Handbook consists of 8 chapters that represent different content.1. User commands (the Help option for the default view command, for normal users to view the Help documentation.) )2.
One. Using superviseis a function of daemon-tools, the daemon of the system. It can be restarted automatically when the process is hung out.Two-Installationwget http://cr.yp.to/daemontools/daemontools-0.76.tar.gzTar zxvf *.tar.gz && CD
Yum Install-y Samba Samba-client
Configure configuration files for SMBVim/etc/samba/smb.confModify Workgroup=workgroup
Example 1 (share a directory, anyone can access it without entering a password, but requires read-only)Change the
Install OpenCV on CentosTo get familiar with C ++ in linux, we are going to first configure the environment by porting the previously written project from windows to linux. This is tedious and has many errors. Record it now.System: Centos 6.5Last
Install VMware Workstation12 in CentOS7
Compared with virtualbox, VMware is inferior to virtualbox in terms of stability and compatibility due to the feature of closed-source, but because I used VMware as my previous virtual machines, I tried to
Notes for first-time CentOS Learning
1. Linux is case sensitive
2. All content in Linux is saved as files, including hardware
Hard Disk File/dev/sd [a-p]
CD files/dev/sr0
3. Linux does not rely on extensions to differentiate file types, but we often
Practical optimization after CentOS 7 Installation
1. Install nux-desktop software source
This is a software source provided by a netizen. Although it is provided by an individual, the software quality is good, as long as you pay attention to and
Install ZooKeeper in CentOS 6.7Environment: CentOS 6.7, jdk 1.7.0 _ 51, ZooKeeper 3.4.6 (optional) create a new user
Generally, I tend to install the daemon process, the program that provides external services, that is, the server-class Program,
How to connect XManager to centos
After reading a lot of information, it took several minutes to connect XManager to centos.
Step 1:Download the graphic interface GNOME firstYum groupinstall "Desktop"Yum groupinstall "X Window System"Yum
View memory usage in CentOSBackground
After MySQL was installed last time, tomcat + nginx was installed these days, and two small websites were run. then, continuous integration of git + jenkins can automatically publish the code on github in
Linux inter-process communication (IPC) programming practices (11) System V semaphores-implement a first-in-first-out shared memory shmfifo
MQ can be used to implement first-in-first-out (FIFO) of messages, but it is faster to implement
Monitoring iostat data using ShellIn performance testing, iostat monitoring data is too bad to display and looks very painful. For example, to display the appearance, write a shell script for transformation, as shown below:
#! /bin/bashinterval=1if [
Install the jdk of tar.gz.pdf under linux, and configure the environment variable, tar.gz jdk
Recently, to learn a technology that must be run in Linux, I began to learn how to use Linux.
It took one day to complete the setup of environment
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