本站即日起正式部署SSL证书启用https安全连接, 联系站长:416326801#qq.com(#改成@)

Latest from the blog

win7和CentOS双系统设置默认启动

标签: Linux CentOS

默认启动系统default=0

选择停留时间timeout=3

vi /boot/grub/grub.conf

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You do not have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /, eg.
#          root (hd0,7)
#          kernel /boot/vmlinuz-version ro root=/dev/sda8
#          initrd /boot/initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=3
splashimage=(hd0,7)/boot/grub/splash.xpm.gz
hiddenmenu
title CentOS 6 (2.6.32-754.el6.x86_64)
	root (hd0,7)
	kernel /boot/vmlinuz-2.6.32-754.el6.x86_64 ro root=UUID=4511068a-612d-402c-9472-55dbab5a9d49 nomodeset rd_NO_LUKS  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_MD crashkernel=128M LANG=zh_CN.UTF-8 rd_NO_LVM rd_NO_DM rhgb quiet
	initrd /boot/initramfs-2.6.32-754.el6.x86_64.img
title Windows 7
	rootnoverify (hd0,0)
	chainloader +1

Centos设置桌面或命令行启动

标签: Linux CentOS

3命令行启动

5图形界面启动

vi /etc/inittab 

# Default runlevel. The runlevels used are:
#   0 - halt (Do NOT set initdefault to this)
#   1 - Single user mode
#   2 - Multiuser, without NFS (The same as 3, if you do not have networking)
#   3 - Full multiuser mode
#   4 - unused
#   5 - X11
#   6 - reboot (Do NOT set initdefault to this)
# 
id:5:initdefault:

Linux下Netabeans字体锯齿

标签: Linux Netbeans

vi /usr/local/netbeans-8.2/etc/netbeans.conf
修改以下内容,增加红色部分

netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dsun.java2d.dpiaware=true -J-Dsun.zip.disableMemoryMapping=true  -J-Dawt.useSystemAAFontSettings=on --fontsize 12 "

1 2 3 4 5 6 7 8 ... Next »... Last »