linuxubuntubug锦集(⼀)
⼀、liunx下安装软件报错requiers compiler and library support for iso&n
requiers compiler and library support for iso c 2011 standar
error: this support must be enabled with the -std=c 11 or -st
⽤下⾯的命令检查你的g ++编译器的版本:
⼆、centos7 ⽆法在线播放⾳乐
需要下载adobeflash 下载完后rpm 安装就⾏
2.如果mp3⽆法播放,按着提⽰安装软件即可
三、vmware上的linux 可以ping通windows,但是windowsping不同linux,并且也不再⼀个⽹段
1.这时候是因为你⽤的nat模式,只需要重新改⼀下桥接模式就⾏,这样本机windows和VMware上linux就在同⼀个⽹段了,⽽且可以互相ping
三、ubuntu14没有外接⾳箱没有声⾳(只有在设置⾥点击模拟输出⾳频的时候才能有声⾳)
转载
四 ubuntu14上⾃带的输⼊发有问题,输⼊汉字不准确
解决办法:
这时候 我们回到桌⾯ 按“ctrl”+“Alt”+“T”,打开系统终端,在终端⾥⾯输⼊ibus-daemon -drx并回车
五。ubuntu14挂在硬盘报错:
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
解决:django无跳转操作mysql增删改查
下⾯是⽤parted⼯具对/dev/sda做GPT分区的过程:centos和ubuntu
root@node01:/mnt# parted /dev/sda
GNU Parted 2.3
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) mklabel gpt与event有关的短语
Warning: The existing disk label on /dev/sda will be destroyed and all data on this disk will be lost. Do you want to continue?
html按钮怎么写Yes/No? yes
(parted) print
Model: DELL PERC 6/i Adapter (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
(parted)mkpart primary 0KB 500GB
Warning: You requested a partition from 0.00B to 500GB.
The closest location we can manage is 17.4kB to 500GB.
Is this still acceptable to you?
Yes/No? yes
Warning: The resulting partition is not properly aligned for best performance.
Ignore/Cancel? Ignore
(parted) print
Model: DELL PERC 6/i Adapter (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 17.4kB 500GB 500GB primary
(parted)quit
Information: You may need to update /etc/fstab.
root@node01:/#fdisk -l
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sda: 499.6 GB, 499558383616 bytes
255 heads, 63 sectors/track, 60734 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 1 60735 487849983+ ee GPT
root@node01:/#4 /dev/sda1
mke2fs 1.41.12 (17-May-2010)
⽂件系统标签=
操作系统:Linux
块⼤⼩=4096 (log=2)
分块⼤⼩=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
30490624 inodes, 121962487 blocks
6098124 blocks (5.00%) reserved for the super user
第⼀个数据块=0
Maximum filesystem blocks=4294967296
3722 block groups
32768 blocks per group, 32768 fragments per group停止内战共同抗日口号是什么运动
8192 inodes per group
matlab的plot命令Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
102400000
正在写⼊inode表: 完成
Creating journal (32768 blocks): 完成
Writing superblocks and filesystem accounting information: 完成
This filesystem will be automatically checked every 24 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
root@node01:/#mount /dev/sda1 /export/glusterfs01/
root@node01:/# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/node01-root
6.8G 987M 5.5G 16% /
none 7.9G 208K 7.9G 1% /dev
none 7.9G 0 7.9G 0% /dev/shm
none 7.9G 32K 7.9G 1% /var/run
none 7.9G 0 7.9G 0% /var/lock
/
dev/sdb1 228M 21M 196M 10% /boot
/dev/sda1 458G 198M 435G 1% /export/glusterfs01
root@node01:/#vi /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
/
dev/mapper/node01-root / ext4 errors=remount-ro 0 1
# /boot was on /dev/sdb1 during installation
UUID=c21707ff-ba0f-43ee-819a-8e72fa0f8500 /boot ext2 defaults 0 2
/dev/mapper/node01-swap_1 none swap sw 0 0
/dev/sda1 /export/glusterfs01 ext4 defaults 0 2
上⾯解决办法链接:百度搜“”LINUX⼤于2T分区,fdisk⼯具不⽀持GPT,强⼤分区⼯具parted⽀持1T以上“”
----------------------------------------------------------------------------------------------------------------------------------------------------------22.最近虚拟机上安装ipvsadm,做配置时报错错,:Memory allocation problem
显⽰空间不⾜:
解决⽅法:sudo apt autoremove --purge snapd
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论