First look at the format of the configuration file:[[emailprotected]~]#uname-r2.6.32-642.el6.x86_64[[emailprotected]~]# cat/boot/grub/grub.conf#notethatyoudonothaveto Rerungrubaftermakingchangestothisfile#notice:you havea/bootpartition.Thismeansthat# allkernelandinitrdpathsarerelative to/boot/,eg.#root (hd0,0) # kernel/vmlinuz-versionroroot=/ Dev/sda2#initrd/initrd-[generic-]version.img #boot =/dev/sdadefault=0timeout=5splashimage= (hd0,0)/grub/splash
Self-made Linux systems:1. Partitioning and creating the file system[Email protected] ~]# Fdisk/dev/sdbDivided into two necessary partitions/DEV/SDB1 corresponding/boot/dev/sdb2 corresponding to the root/To create a file system:[Email protected] ~]# mkfs.ext4/dev/sdb1[[email protected] ~]# MKFS.EXT4/DEV/SDB22. Create mount point and Mount Boot[Email protected] ~]# mkdir/mnt/boot[[email protected] ~]# mount/dev/sdb1/mnt/boot3. Install grub to generate grub files[Email protected] ~]# Grub-install-
file system for the newly created partition MKFS.EXT4/DEV/SDB13. Mount BootMkdir/mnt/boot Sub-directory must be bootMount/dev/sdb1/mnt/boot4. Installing GrubGrub-install--root-directory=/mnt/dev/sdb5. Copy kernel and Initramfs filescp/boot/vmlinuz-2.6.32-642.el6.x86_64/mnt/boot/Cp/boot/initramfs-2.6.32-642.el6.x86_64.img/mnt/boot6. Create grub.conf write kernel menu informationVim/mnt/boot/grub.confTitle Y
--- CCNP_SWITCH_Lab_ManuaHttp://bbs.hh010.com/thread-95795-1-1.html
New official lab manual of Cisco Network college --- CCNP_TSHOOT_Lab_ManualHttp://bbs.hh010.com/thread-95796-1-1.html
Experiment Simulation Software GNS3Http://bbs.hh010.com/forum.php? Mod = viewthread tid = 46198 highlight = GNS3
GNS3 + 0.7.2 user manual pdfHttp://bbs.hh010.com/forum.php? Mod = viewthread tid = 47955.
Download the GNS3 simulation software for IOSHttp://bbs.hh010.com/forum-ios-1.html
Number of questions and
the grub boot menu (because grub can access and see the root password)
[Root @ localhost ~] #/Sbin/grub-md5-crypt Password: Retype password: $1 $ kpiKh/$ .. jTvOdnHGnMsqqs5OWlM/[root @ localhost ~] # Vi/etc/grub. conf [root @ localhost ~] # Cat/etc/grub. conf # grub. conf generated by anaconda # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a/boot partition. this means that # all kernel and initrd paths are relative to/boot/, eg. # root (hd0, 0) #
multu (auto) is the first DSL configuration item );Click Configure (a table is displayed, so that the input information is not written as mentioned below), where:Description: you can name it at will, for example, ADSL.VPI and VCI: Enter the two you just noted!User name: Your account number (generally the phone number)Password: PasswordClick Configure;Click Save config;Click confirm at the end, and click OK in the displayed dialog box. Wait for a while until done appears.
Wait a few seconds afte
/grub.conf1 Computer Demo[[Email protected] tmp]# sed ' s/^[[:space:]]\+//'/etc/grub.conf# grub.conf generated by Anaconda## Note that you don't have the to rerun grub after making changes to the This file# notice:you has a/boot partition. This means# all kernel and INITRD paths is relative to/boot/, eg.# root (hd0,0)# kernel/vmlinuz-version RO root=/dev/sda2# initrd/initrd-[generic-]version.img#boot =/DEV/SDADefault=0Timeout=5Splashimage= (hd0,0)/grub/splash.xpm.gzHiddenmenuTitle CentOS 6 (2.6.
Full text reprint to: http://www.cnblogs.com/testyao/p/5658200.htmlPython3 htmltestrunner.py importerror:no module named ' Stringio ' solution:1. The reason is that the official website is Python2 Grammar written, crossing manually changed the official website htmltestrunner.py to Python3 syntax:Reference: http://bbs.chinaunix.net/thread-4154743-1-1.html: http://tungwaiyip.info/software/HTMLTestRunner.htmlModified: Http://pan.baidu.com/s/1dEZQ0pz (lazy people directly download it)2. Revision Sum
When replying to the selenium2+python2.7 of the god of the worm, it was found that the Htmltestrunner module used to generate Htmltestrunner's test report was Python2 syntax. And I am more accustomed to Python3. And I also use the Python3.4 environment, in the Internet to find a lot of information, modified the next htmltestrunner.pyReference:http://bbs.chinaunix.net/thread-4154743-1-1.html:http://tungwaiyip.info/software/HTMLTestRunner.htmlModified:http://pan.baidu.com/s/1tp3Ts?To Modify a roll
When replying to the selenium2+python2.7 of the god of the worm, it was found that the Htmltestrunner module used to generate Htmltestrunner's test report was Python2 syntax. And I am more accustomed to Python3. And I also use the Python3.4 environment, in the Internet to find a lot of information, modified the next htmltestrunner.pyReference: http://bbs.chinaunix.net/thread-4154743-1-1.html: http://tungwaiyip.info/software/HTMLTestRunner.htmlModified: Http://pan.baidu.com/s/1tp3Ts?To Modify a r
; ALTER DATABASE Mount; 5. Restore ArchivelogRman> crosscheck Archivelog All; "Meaning See"Rman> crosscheck Backup of Archivelog all;rman> Delete expired Archivelog all;Rman> list Backup of Archivelog all;rman> Restore Archivelog from sequence=642; Note: This 642 refers to restoring archivelog, starting with a 4620 backup from sequence.BS keyword size device type elapsed time completed------- ---------- ---
://blog.csdn.net/myhaspl/Print U "python data analysis \ n"Import Pandas as PDImport NumPy as NP#构造商品销量数据MYDF = PD. DataFrame ({u ' product area code ': [1,1,3,2,4,3],u ' Product A ': Np.random.randint (0,1000,size=6), U ' product B ': Np.random.randint (0,1000, size=6), U ' product C ': Np.random.randint (0,1000,size=6)})allsales=mydf.values[:,1]+mydf.values[:,2]+mydf.values[:,3]#插入一列Mydf.insert (0,u ' total sales ', PD. Series (Allsales))Print MYDF#删除列Mynewdf=mydf.drop ([u ' total Sales '],axi
files in the partition must have a drive file system driver module, The 1.5 stage is to do this thing.
2nd stage: On the disk-enabled/boot partition (/boot/grub/), select the kernel version interface at startup, and the configuration file is responsible for phase 2nd.
Function:
Provides a boot menu, and provides an interactive interface
Load the user-selected kernel or operating system
Provides a protection mechanism for menus
Grub configuration file (/boot/grub/g
When replying to the selenium2+python2.7 of the god of the worm, it was found that the Htmltestrunner module used to generate Htmltestrunner's test report was Python2 syntax. And I am more accustomed to Python3. And I also use the Python3.4 environment, in the Internet to find a lot of information, modified the next htmltestrunner.pyReference: http://bbs.chinaunix.net/thread-4154743-1-1.html: http://tungwaiyip.info/software/HTMLTestRunner.htmlHtmltestrunner:http://pan.baidu.com/s/1tp3ts after mo
selected kernel 1, s, s or single can be added;(3) In the kernel line, type "B" commandGRUB InstallationTo install Grub:(1) Grub-installInstall Grub Stage1 and stage1_5 to/dev/disk disk and copy grub-related files to the Dir/boot directoryGrub-install--root-directory=dir/dev/disk(2) Grubgrub> Root (hd#,#)grub> Setup (hd#)Self-made Linux systemPartitioning and creating file systemsFdisk/dev/sdbDivided into two necessary partitions/DEV/SDB1 corresponds to/boot/dev/sdb2 corresponding root/MKFS.EXT
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.