在语言选择界面选择英文,然后按 F6,再按 ESC,在最下边的命令行里,把结尾的 quiet 替换成 all_generic_ide,回车就可以正常安装了。可以在接下来的语言选择界面再次选择中文。
Read More →0:表示键盘输入(stdin)1:表示标准输出(stdout),系统默认是1 2:表示错误输出(stderr)command >/dev/null 2>&1 & == command 1>/dev/null 2>&1 &1)command:表示shell命令或者为一个可执行程序2)>:表示重定向到哪里 3)/dev/null:表示Linux的空设备文件 4)2:表示标准错误输出5)&1:&表示等同于的意思,2>&1,表示2的输出重定向等于于16)&:表示
Read More →今天装了一台 Ubuntu 16.04 的虚拟机,发现网卡名从 eth 变成 ens 了,通过命令查看发现是被系统重命名了# dmesg |grep eth [ 2.244937] virtio_net virtio0 ens3: renamed from eth0 [ 2.249486] virtio_net virtio1 ens4: renamed from eth1于是 google 了一下怎么变回 eth,终于找到解决办法vi /etc/default/grub把GRUB_CMDLINE_LINUX=""改成GRUB_CMDLINE_LINUX="net.ifname
Read More →用户列表文件 /etc/passwd用户组列表文件 /etc/group查看系统中有哪些用户cut -d : -f 1 /etc/passwd查看可以登录系统的用户cat /etc/passwd | grep -v /sbin/nologin | cut -d : -f 1
Read More →command1 & command2 & command3表示三个命令同时执行command1; command2; command3表示不管前面命令执行成功没有,后面的命令继续执行command1 && command2 && command3表示只有前面命令执行成功,后面命令才继续执行
Read More →nbd的增加分区的功能默认是关闭的,需要指定max_part这个参数。这个参数指定了一个nbd设备可以有多少个分区。rmmod nbd modprobe nbd max_part=8然后就可以进行挂载qemu-nbd -c /dev/nbd0 -f qcow2 ./Data.qcow2可以用 fdisk 命令看到已经挂载fdisk -l最后 mount 就可以访问了mount /dev/nbd0p1 /media/vdisk如果需要断开,先 umount 然后取消挂载umount /media/vdisk取消挂载qemu-nbd -d /dev/nbd0
Read More →查看所有程序wmic process get caption,commandline /value查看某一个进程的命令行参数wmic process where caption="svchost.exe" get caption,commandline /value
Read More →安装 sambaapt-get install samba添加系统账号groupadd share useradd share -g share -s /sbin/nologin -d /dev/null useradd luobo -g share -s /sbin/nologin -d /dev/null useradd tudou -g share -s /sbin/nologin -d /dev/null创建共享目录mkdir -p /media/Data/Share/luobo mkdir -p /media/Data/Share/tudou/media更改目录属性chown
Read More →<style type="text/css"> ul {width:300px; margin:50px auto;} li {width:300px; line-height:25px; text-overflow:ellipsis; white-space:nowrap; overflow:hidden;} a {color:#03c; font-size:13px;} a:hover {color:#000;} </style> <ul> <li>CSS实战精萃 - Pro CSS Techniques</
Read More →