on.Timeout=x time to stay in the Grub menu, in secondsTitle Xxx,xxx is the name of the operating system you want to boot, you can modify it yourself Root (hdx,y) x and Y both represent a numeric value, and X is the hard disk on which the root partition of Linux is. If you have only one hard drive. That's hd0. If one of your Linux distributions is installed on theTwo drives, this x, is 1. Y is the area in which Linux is installed on your behalf. The v
name root (hdx, Y) displayed in the boot menu list) it is used to specify the location of your boot partition. If you do not divide the boot partition (in this example, there is no partition for boot), you can point to the root partition. hdx is the hard disk of Linux, hd0 is the first hard disk, hd1 is the second disk, and so on. Y is the partition location, starting from 0, that is, it is equal to the pa
syntax is the same as that in Linux;
A and B are A little different. The method of A is to enable the system to see all the features in menul. lst system; B, you must press the mygrub we just filled in before you can see in menu. the system mentioned by lst;
3. Configure grub;
In c: ootgrubmenu. in the lst process, we only use the Linux wingrub to view the partition interface. Others can be written in Notepad. c: ootgrub is hidden, we can see it by adding c: ootgrub to the browser;
0] Open wing
installation interface comes out, press [F5] to enter the Linux rescue mode. (You can also enter the "Linux single root=/dev/hdxx initrd=" comment after the boot: prompt appears without entering the rescue mode): Hdxx for your Linux system area, such as my Redhat9.0 storage with the 4th partition of the first hard drive,/DEV/HDA4) 3. Go to Linux After the rescue mode need to do some keyboard and a few simple configuration (press OK), after the [Continue] ... 4. The following prompt appear
@ rocrocket programming] $ sort-n-k 2-T: facebook.txtApple: 10: 2.5Orange: 20: 3.4Banana: 30: 5.5Pear: 90:2.3
We use the colon as the delimiter and sort the values in ascending order for the second column. The result is satisfactory.
7. Other common sort options
-F converts lowercase letters to uppercase letters for comparison, that is, the case is ignored.
-C checks whether the file is sorted out. If the file is in disordered order, information about the first unordered row is output, and 1 is
supports advanced features such as bandwidth control, Port Mirroring, Port VLAN, IEEE 802.1X authentication, UPnP, DDNS, VPN Pass-through, firewall, and system security logs. The configuration interface of this vro is a friendly Chinese interface, which is easy to configure and can be upgraded online.
Product reviews: TP-LINK is a well-known local brand, product cost-effective advantage is more prominent, this dual WAN port router can be connected to different ISP, support load balancing strate
values in the dataName or index.name can rename the dataThe Dataframe data frame, also a data structure, is similar to the one in Rdata={' year ': [2000,2001,2002,2003],' Income ': [3000,3500,4500,6000]}DATA=PD. DataFrame (data)Print (data)The result is:Income year0 3000 20001 3500 20012 4500 20023 6000 2003DATA1=PD. DataFrame (data,columns=[' year ', ' income ', ' outcome '),Index=[' A ', ' B ', ' C ', ' d '])Print (DATA1)The result is:Year Income o
determine the null value ();
select * from employee where isnull(sal); select * from employee where !isnull(sal);
5: between min and max ps in the interval (between): Here is a closed interval
select * from employee where sal between 4500 and 5000;
6: Not in the interval
select * from employee where sal not between 4500 and 5000;-- Null is not included
7: and or
Select * from employee where sal not betwe
troubleshooting needs to collect what information
Server information:
1. Machine model
2, Machine serial number (s/n: such as: NC00075534)
3, Bios version
4, whether to increase other equipment, such as network card, SCSI card, memory, CPU
5, how to configure the hard disk, whether to do array, array level
6, install what operating system and version (Winnt 4, Netware, Sco, others)
Fault information:
1, on the post, the screen displays the exception information
2, the status of the se
Transferred from: http://time-track.cn/postgresql-window-function.htmlPostgreSQL provides the properties of the window function. The window function is also the data that computes some rowset (a collection of multiple rows, which we call window frame), somewhat similar to the aggregation function (aggregate functions). Unlike regular aggregation functions, however, window functions do not merge rows that participate in the calculation into one line of output, but rather retain their original app
correlation, the correlation is not causal, so the correlation coefficients of the a->b or B->a two rules are the same, in addition lift (A,B) =p (a B)/(P (a) *p (B)) =p (a) *p (b| A)/(P (a) *p (B)) =p (b| A)/P (b) =confidence (a->b)/support (b) =confidence (B->a)/support (a).
Chi-Square coefficient
Chi-Square distribution is an important distribution in mathematical statistics, and we can determine whether two variables are correlated by using chi-square coefficients. Definition of chi-squar
item, 1 indicates the second item, and so on."Timeout = x" (X is a number) is the timeout time, and the Unit is wonderful. That is, after the boot menu is displayed, if you do not select within x seconds, grub starts the default item."Splashimage = xxxxxx", which is the background image of the boot menu. Ignore it first.The following example describes other common items:Title Red Hat 8.0Root (hd1, 6)Kernel/boot/vmlinuz-2.4.18-14 Ro root =/dev/hdb7Initrd/boot/initrd-2.4.18-14.img"Red Hat 8.0" is
. Two devices can be mounted on each slot.Disks. These disks can be hard disks or optical drives. So how does Linux consider these devices? InIn Linux, these devices are marked with/dev/hdx. The master disk on ide0 is/dev/hda, And the slave disk isHDB, and so on. If you can have multiple ide slots, you can continue to hde hdf. In short, each Hard DiskAll devices connected online are considered as A/dev/hdx
Solution to the problem that the USB flash drive cannot be started after Centos is installed
1. Switch to the root user
# Su -- root
2. Go to grub Mode
# Grub
3. Follow these steps:
Grub> find/boot/grub/stage1 or find/grub/stage1
It usually returns something like (hd0, 5). Remember it.
Grub> quit
4. Edit grub. conf.
# Vim/boot/grub. conf
Replace all (hdx, y) in this file with the value obtained in step 1.
5. re-enter grub mode and perform
the first item, 1 indicates the second item, and so on."Timeout = x" (x is a number) is the timeout time, and the Unit is wonderful. That is, after the boot menu is displayed, if you do not select within x seconds, grub starts the default item."Splashimage = xxxxxx", which is the background image of the boot menu. Ignore it first.The following example describes other common items:Title Red Hat 8.0Root (hd1, 6)Kernel/boot/vmlinuz-2.4.18-14 ro root =/dev/hdb7Initrd/boot/initrd-2.4.18-14.img"Red H
choose to start Windows, check grub. whether the configuration of conf in Windows contains root (hdX, Y) (or rootnoverify (hdX, Y) and chainloader (hdX, Y) + 1.
6. Grub error 18
Kernel (hd1, 4)/bzImage root =/dev/hdb7
Error 18: Selected cylinder exceeds max supported by BIOS
Solution:
This error often occurs when the old hardware and the new hard disk are c
go. At this point we have to use GRUB Shell ROM! The entire installation and the Grub shell action is very simple, if you are interested in research, you can use info grub to consult ~ Bird Brother here only a few useful commands.
Use "root (hdx,x)" To select the partition code containing the GRUB directory;
Use "Find/boot/grub/stage1" to see if you can find the installation information file;
Use "Find/boot/vmlinuz" to see if you can
partition 4G Extended partition cannot be formatted, it can only be partitioned into logical partitions
Remaining space (can be partitioned three, four occupy) 2G
In the extended partition, create two logical partitions each 2G, formatted as d:e: disk.
So what does Linux look like? Note I mentioned that partitions are the same for any operating system, although Linux does not agree with C D e disks, but these partitions are the same. So Linux under look is also partition one, partition two thin
determine the null value ();Select * from employee where isnull (sal );Select * from employee where! Isnull (sal );5: between min and max ps in the interval (between): Here is a closed intervalSelect * from employee where sal between 4500 and 5000;6: Not in the intervalSelect * from employee where sal not between 4500 and 5000; -- null is not included7: and orSelect * from employee where sal not between
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.