var/log/xorg.0.log, and the load is no problem. It is possible to compile xorg without enabling tslib. See in the xorg.conf, the default is to use the Evdev driver, Google has a half-day its calibration method, seemingly xinput-calibrator is the right path, compile, copy to file system, run in the serial terminal display=:0 xinput_ Calibrator, the calibration window will appear, the calibration will be OK, but it seems like this need to recalibrate after each boot, no recalibration method, run
# user parameters and passwords. Password=oldboy123# Password parameters and password. [Email protected]~]# MySQL# you don't have to enter a password to log into the database at this time. Welcometo the MySQL Monitor.Commands Endwith; or \g.
Yourmysql Connection ID is 8
serverversion:5.6.34 Source distribution
... Omit several lines
...Type ' help ', ' or ' \h ' for help. Type ' \c ' to clearthe the current input statement.
Mysql>The way to know that there are tigers on the Hill:[[Email protecte
variable that is only valid for code snippets within a function locally a=1title: Bash xxxx.SHInput-T5represents a triangle with 5 lines of paint-L7represents a draw slash 7 lines #!/bin/Bashtriangle () { forXinch$(seq 1$1) Do forYinch$(seq 1$(($1-$x))) Do Echo-N" " Done forZinch$(seq 1$((2* $x-1))) Do Echo-N"" DoneEcho Done}line () { forIinch$(seq 1$1) Do forXinch$(seq 1$i) Do Echo-N" " DoneEcho-
follows:Server{Listen 80;server_name test.com test1.com test2.com;Index index.html index.htm index.php;root/data/wwwroot/test.com;if ($host! = ' test.com ') {Rewrite ^/(. *) $ http://test.com/$1 permanent;}}
Test results:Knowledge Points:
server_name support to write multiple domain names, which is different from httpd, httpd can only be done by the server alias to do this.
Permanent is permanently redirected, the status code is 301, and if written as redirect, the status code is 30
we process 4 times, where one of the instantiated related built-in variables is Gl_invocationid, which represents the call value of the geometry shader request (invocation) Assignment ( Invocation), can also be simply understood as the first few calls, through Gl_invocation to give Gl_viewportindex assignment to which viewport, and Model_matrix is the viewport rendering matrix, So the process of this geometry shader is to set the viewport index first, and then use the viewport's matrix to trans
11.18 Apache user authenticationUser authentication for HTTPDvim /usr/local/apache2.4/conf/extra/httpd-vhosts.conf //把111.com那个虚拟主机编辑成如下内容/usr/local/apache2.4/bin/htpasswd-c-m/data/.htpasswd amingReload Configuration/usr/local/apache2.4/bin/apachectl-t/usr/local/apache2.4/bin/apachectl Graceful绑定hosts,浏览器测试curl -x127.0.0.1:80 111.com -I //状态码为401curl -x127.0.0.1:80 -uaming:passwd 111.com -I //状态码为200User authentication for HTTPDYou can also authenticate against a single fileDocumentRoot "/da
Tags:. com image logon 9.png alt cannot command log pen, enter command: Apt-get install git prompt permission is not enoughWorkaround, add sudo before the commandsudo apt-get install gitsudo is a Linux system Management Directive, a tool that allows the system administrator to let ordinary users perform some or all of the root commands, such as HALT,REBOOT,SU, and so on. This not only reduces the login and administration time of the root user, but als
This article introduces several useful tools for Linux operations, hoping to help Linux administrators.1. View the process usage bandwidth-nethogsNethogs is a network traffic monitoring tool under a terminal that can visually display the bandwidth consumed by each process.Download: http://sourceforge.net/projects/nethogs/files/nethogs/0.8/nethogs-0.8.0.tar.gz/download
[[Email protected] ~] #yum-y i
Common Linux commands (13)-head
The head and tail are just as easy to understand as their names. They are used to display a certain number of text blocks at the beginning or end, and the head is used to display the beginning of the file to the standard output, and tail takes it for granted that it is the end of the file.
1.Command Format:
Head [parameters]... [file]...
2.Command function:
The head command
Source Change
The default source speed of Linux Mint 13 is not fast. We recommend that you replace it.
Backup:
/etc/apt/sources.list /etc/apt/sources.list_backup
Open sources. list:
/etc/apt/sources.list
Select an appropriate source list, replace all the content in the file, and save the edited file.
Update source list:
Recommended source list:
Network yiyuan:
deb http://mirrors.163.com/ubuntu/ raring ma
option is not needed, just write the variable in the URL.Like what:Curl http://www.yahoo.com/login.cgi?user=nickpassword=12345The option for Post mode is-DFor example, curl-d "user=nickpassword=12345" http://www.yahoo.com/login.cgiis equivalent to issuing a login request to this site ~~~~~In the end to use the Get mode or post mode, the opposite server to see the program settings.It is important to note that file uploads on files in post mode, such asSuch an HTTP form, which we want to emulate
The less tool is also a tool for paging through files or other output, which is a very powerful tool for Linux to view the contents of a file. The usage of less is more resilient than more. In more, we have no way to turn front, can only look back, but if use less, you can use [PageUp] [PageDown] and other key functions to go to look at the file, more easily used to view the contents of a file! In addition, in less you can have more search function, n
1 I want to turn off the machine immediately!$shutdown-H now2 I want to restart now$shutdown-R Now3 I want to shut down on time 23:30 minutes.$shutdown-H 23:304 I want to shut down in 15 minutes.$shutdown-H +155 Summary, you can see, if you want to let shutdown work, you have to tell shutdown command a time, whether it is now, or 23:30, or +15.6 I want a prank!Mischief is to scare the user. This feature is actually very practical, if you are an administrator, you can fully use the "prank" to rem
(1) Process management1. Determine the server health status2. View the processA. Viewing all processes in the system: PSExample: PS aux (using BSD OS command format)A show all foreground processesX Show all background processesU shows which user generatedPs-le (using the Linux Standard command format)-L display more detailed information-E Show All processesResult descriptionVSZ: Occupies virtual memory size kbRSS: Occupies actual physical memory size
-f Test.logPING 192.168.120.204 (192.168.120.204) bytes of data.Bytes from 192.168.120.204:icmp_seq=1 ttl=64 time=0.038 msBytes from 192.168.120.204:icmp_seq=2 ttl=64 time=0.036 msBytes from 192.168.120.204:icmp_seq=3 ttl=64 time=0.033 msBytes from 192.168.120.204:icmp_seq=4 ttl=64 time=0.027 msBytes from 192.168.120.204:icmp_seq=5 ttl=64 time=0.032 msBytes from 192.168.120.204:icmp_seq=6 ttl=64 time=0.026 msBytes from 192.168.120.204:icmp_seq=7 ttl=64 time=0.030 msBytes from 192.168.120.204:icm
Step 1: Installationsudo apt-get install okularStep 2: NotesPress the F6 shortcut to open the Comment feature and you'll find it's amazing.Step 3: Chinese configurationIf the Chinese display after the installation is a problem, you can try as follows, if there is no problem can be skipped.Enter in the terminal.sudo apt-get install poppler-dataIf not yet, enter againsudo apt-get install poppler-utilsIf still not, it may be because some PDF files do not explicitly indicate the font, the system wil
fast as before the character "^" printing speed is much slower, indicating that there are many times the program in the Implementation of INC byte [gs:0] The DISP_STR is not executed afterwards, which also shows that interrupt re-entry does occur:Well, we've got a way to solve the problem of interrupt re-entry, so comment out the words of the print character and the delay:hwint00:; Interrupt routine for IRQ 0 (the clock). Subesp, 4pushad; '. Pushds; | pushes; | Save original register value PU
Tags: vim linux text editorVim is an upgraded version of VI, which is displayed according to the text attributes, with the following details:General mode:1. Cursor Positioning:Move left and right one character, H LMove one character up or down, K JLeft and right down, around on both sides, down in the middle so rememberCursor positioned at the beginning of shift+6 ^Cursor positioning line End shift+4 that is $Cursor positioned to the first line of tex
the portion of the file to be mapped.Addr: An address in a virtual space that represents a virtual area where a spare is located from this address.Prot: This parameter specifies access rights to the pages included in the virtual area. Possible signs are Prot_read, Prot_write, Prot_exec and Prot_none. The first 3 marks are the same as those of the Mark Vm_read, Vm_write and Vm_exec. Prot_none indicates that the process does not have any of the above 3 access permissions.Flag: This parameter spec
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.