AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-687

kit.yang's questions

Martin Hope
kit.yang
Asked: 2011-04-20 05:30:44 +0800 CST

无法使用 dhcp 获取 ipv6 地址

  • 4

我可以使用dhcp获取ipv4地址,但无法获取ipv6地址。

dhcp 服务器也支持 ipv6 服务。
ifconfig eth0

eth0      Link encap:Ethernet  HWaddr: 00:21:85:d3:a3:36  
          inet addr:10.16.31.183  broadcast:10.16.31.255  netmask:255.255.255.0
          inet6 addr: fe80::221:85ff:fed3:a336/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

关于ipv6的其他配置:

$ cd /proc/sys/net/ipv6/conf/all
$ grep "" disable_ipv6 forwarding autoconf 
disable_ipv6:0
forwarding:1
autoconf:1

有什么办法可以解决这个问题吗?

networking
  • 2 个回答
  • 12264 Views
Martin Hope
kit.yang
Asked: 2011-02-24 20:47:57 +0800 CST

java-6-openjdk的恼人配置

  • 1

我想将 java 环境更改为 java-6-openjdk。
/etc/环境:

PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
JAVA_HOME=/usr/lib/jvm/java-6-openjdk/
CLASSPATH=.:$CLASSPATH:$JAVA_HOME/lib

爪哇版本:

java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.5) (6b20-1.9.5-0ubuntu1~10.04.1)
OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)

javac-版本:javac 1.6.0_20

但是在 shell 中:结果是/usr/lib/jvm/java-6-sun-1.6.0.22
而结果是/usr/lib/jvm/java-6-sun-1.6.0.22/lib。echo $JAVA_HOME$CLASSPATH

如何找到 由位置设置$JAVA_HOME&$CLASSPATH值的其他文件java-6-sun-1.6.0.22?

configuration
  • 2 个回答
  • 6744 Views
Martin Hope
kit.yang
Asked: 2011-02-22 00:23:47 +0800 CST

DNS 服务器配置自动更改

  • 1

默认 DNS 服务器运行速度太慢,因此我通过添加名称服务器更改了配置。

/etc/resolv.conf :

nameserver 202.102.192.68
nameserver 210.45.240.99
domain ***edu.cn
search ***edu.cn

但是文件会在一段时间后自动更改回默认值。
有什么方法可以解决这个问题吗?
谢谢!

10.04
  • 3 个回答
  • 7313 Views
Martin Hope
kit.yang
Asked: 2010-11-09 19:11:14 +0800 CST

添加太多壁纸后窗帘崩溃

  • 2

添加太多壁纸后,壁纸管理工具Drapes崩溃。Drapes无法启动。我想修改或清理记录添加壁纸路径的文件,但我找不到使用locate drapes.

  1. 如何修复这个问题。
  2. 如何通过删除窗帘的配置文件或环境来卸载它。

感谢任何建议。

10.04 gnome wallpaper
  • 1 个回答
  • 155 Views
Martin Hope
kit.yang
Asked: 2010-11-05 07:28:16 +0800 CST

玩OpenGL游戏后分辨率卡住了

  • 3

我以前用“-opengl”选项启动游戏,冰封王座(使用wine)。当我进入游戏时,分辨率会改变,退出游戏后会恢复。

但这一次出现了问题。虽然我重新启动了几次计算机,但分辨率无法恢复。Ubuntu 窗格和登录窗口都非常出色。 nvidia-settings还检测到分辨率是“1024 x 768”,但是用这个工具好像没用。截图-NVIDIA X 服务器设置: 英伟达设置

xrandr的结果:

   Screen 0: minimum 320 x 240, current 1024 x 768, maximum 1024 x 768
   default connected 1024x768+0+0 0mm x 0mm


   1024x768       50.0* 
   800x600        51.0     52.0     53.0  
   680x384        54.0     55.0  
   640x480        56.0  
   576x432        57.0  
   512x384        58.0  
   400x300        59.0     60.0     61.0  
   320x240        62.0  

/etc/X11/xorg.conf 的配置:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildd@yellow)  Fri Apr  9 11:51:21 UTC 2010


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"

    # HorizSync source: builtin, VertRefresh source: builtin
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "CRT-0"
    HorizSync       28.0 - 55.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "Entry Graphics"
EndSection

Section "Screen"

# Removed Option "metamodes" "1024x768 +0+0"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "TwinViewXineramaInfoOrder" "CRT-0"
    Option         "metamodes" "1024x768_60 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
10.04 nvidia games resolution opengl
  • 1 个回答
  • 1499 Views
Martin Hope
kit.yang
Asked: 2010-10-23 16:21:51 +0800 CST

gnome的最佳视频捕获软件[重复]

  • 3
这个问题在这里已经有了答案:
11年前关闭。

可能重复:
如何创建截屏视频?

我一直在寻找一种工具来记录我的桌面。有人向我推荐RecordItNow。但我发现它是为 KDE 制作的,工具有时会崩溃。

谁能推荐一个更适合GNOME的应用程序以视频的形式录制屏幕。

似乎如果我选择桌面进行输出,将没有文件转换。所以我使用 bash 脚本更改了一些内容。

#!/bin/bash

VIDEO=$(zenity --file-selection)
mencoder ${VIDEO}  -o ./output.avi -oac lavc -lavcopts acodec=libfaac:abitrate=128 ovc lavc -lavcopts vcodec=mpeg4:vbitrate=4000

错误:Audio LAVC, couldn't find encoder for codec libfaac.

已完成的错误:

MEncoder SVN-r1.0~rc3+svn20090426-4.4.3 (C) 2000-2009 MPlayer Team
success: format: 0  data: 0x0 - 0xdf2a8e
[Ogg] stream 1: video (Theora v3.2.1), -vid 0
[Ogg] stream 2: audio (Vorbis), -aid 0
Ogg file format detected.
VIDEO:  [theo]  1440x896  24bpp  15.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:18  fourcc:0x6F656874  size:1440x896  fps:15.000  ftime:=0.0667
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 22050 Hz, 1 ch, s16le, 90.0 kbit/25.51% (ratio: 11248->44100)
Selected audio codec: [ffvorbis] afm: ffmpeg (FFmpeg Vorbis)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
VDecoder init failed :(
Opening video decoder: [theora] Theora/VP3
VDec: vo config request - 1440 x 896 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.61:1 - prescaling to correct movie aspect.
videocodec: libavcodec (1440x896 fourcc=34504d46 [FMP4])
Selected video codec: [theora] vfm: theora (Theora (free, reworked VP3))
==========================================================================

Exiting...
Ogg stream 0 is of an unknown type
[theora @ 0x24e8800]Missing extradata!
Could not open codec.
Audio LAVC, couldn't find encoder for codec libfaac.

有一个名为 的输出文件output.avi,但是不能播放ogv。可以更改输出格式吗?

gnome video
  • 3 个回答
  • 3928 Views
Martin Hope
kit.yang
Asked: 2010-10-17 17:50:26 +0800 CST

关于虚拟机的架构

  • 4

系统信息:

Ubuntu SMP Thu Sep 16 16:05:42 UTC 2010 x86_64 GNU/Linux

虚拟游行:

VirtualBox 3.1.6_OSE r59338 linux.amd64

我想在Virtual Box中安装一个带有x86-64的虚拟系统,但似乎不可能做到这一点。

虚拟机提示我它只检测到 i686 CPU。

主机架构与客户端虚拟操作系统架构之间是否存在联系?

kvm-ok结果:

INFO: Your CPU supports KVM extensions
INFO: /dev/kvm does not exist
HINT: sudo modprobe kvm_amd
KVM acceleration can NOT be used

sudo modprobe kvm_amd结果

FATAL: Error inserting kvm_amd (/lib/modules/2.6.32-24-server/kernel/arch/x86/kvm/kvm-amd.ko): Operation not supported

kvm-ok再次:

INFO: Your CPU supports KVM extensions
INFO: KVM is disabled by your BIOS
HINT: Enter your BIOS setup and enable Virtualization Technology (VT),  and then hard poweroff/poweron your system
KVM acceleration can NOT be used

但是另一个问题发生了,VirtualBox 显示了一个错误窗口:

VT-x/AMD-V hardware-acceleration has been enabled,but it is in the ineffective status. So the VirtualBox won't detect the CPU of 64bit,and fail to start.Please confirm the  support has been enabled.

如何检查 CPU 是否支持该VT-x/AMD-V技术?并在 BIOS 中启动它?但是另一个虚拟操作系统(32 位)也启用了该技术,并且运行良好。

virtualbox server virtualization
  • 2 个回答
  • 1991 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve