Ubuntu 7.10(Gutsy Gibbon) Setup

ubuntu22.04安装中文输入法 方案一:安装 Fcitx5(推荐,体验更佳)Fcitx5 相比旧版响应更快,对 GTK/Qt 应用兼容性好,适合日常办公和开发。注:如需支持 GTK2 老旧程序,可额外加上 fcitx5-frontend-gtk2。执行后注销并重新登录(或重启),确保框架生效。配置中文输入法重新登录后,右上角托盘会出现键盘图标。右键点击图标选择“配置”(或运行 fcitx5-configtool):在“输入法”选项卡中,点击“+”号。取消勾选“仅显示当前语言”,搜索并添加 Pinyin。 阅读详情
Ubuntu 7.10(Gutsy Gibbon) Setup

A. A very simple Boot Setup

1. Open GRUB configuration file, /boot/grub/menu.lst. Remember take a backup before change.

2. Some kernel arguments in menu.lst
Parameter
Function
splash
boot with a startup image
quiet
keep boot message from displaying
vga=xxxsetup console frame buffer, detail in section B.
vga=normal, keep normal frame buffer
vga=ask, ask you which mode to choose when boot.
*This argument is not supported by default setup of Ubuntu 7.10.



B. Setup Console Frame buffer

If you suffer from 80x25 console and you want a higher resolution, look here:

This guide of setup Console Framebuffer comes from http://www.savvyadmin.com/2007/12/25/console-framebuffer-in-ubuntu

1. Ensure the initrd image includes framebuffer support by adding "fbcon" and "vesafb" to /etc/initramfs-tools/modules.

$ echo "vesafb" | sudo tee -a /etc/initramfs-tools/modules
$ echo "fbcon" | sudo tee -a /etc/initramfs-tools/modules

2. Remove (or comment out) "vesafb" from blacklisted modules in /etc/modprobe.d/blacklist-framebuffer.

#blacklist vesafb

3. Add the desired framebuffer variable to the default kernel options section in /boot/grub/menu.lst. For 1024x768, the string should look like the following.

# defoptions=quiet splash vga=791

Colour depth

640x480

800x600

1024x768

1280x1024

1400x1050

1600x1200

8 (256)

769

771

773

775



15 (32K)

784

787

790

793



16 (65K)

785

788

791

794

834

884

24 (16M)

786

789

792

795




4. Update GRUB.

$ sudo update-grub

5. If Usplash is configured for a higher resolution than your framebuffer, it will appear off-centered. So adjust /etc/usplash.conf to use the same resolution.

xres=1024
yres=768


6. Update initramfs to rebuild the initrd image.

$ sudo update-initramfs -u


C. Chinese Font Support

1. Install Chinese Language Pack.

$ sudo apt-get install language-pack-zh language-support-zh language-pack-gnome-zh

2. Install Windows fonts, e.g. Simsun, Tahoma, Verdana, Courier New...

$ sudo mkdir /usr/share/fonts/winfont
$ sudo cp (Windows Fonts) /usr/share/fonts/winfont
$ cd /usr/share/fonts/winfont
$ sudo mkfontscale
$ sudo mkfontdir
$ sudo fc-cache

3. Install Chinese X11 font support (needs test whether this is required after last step)

$ apt-get install xfonts-intl-chinese xfonts-intl-chinese-big

4. Setup preferred fonts by editing /etc/fonts/language-selector.conf
Here is a part of my own setup, the fonts before SimSun is used for other languages.

    <alias>
        <family>serif</family>
        <prefer>
            <family>Bitstream Vera Serif</family>
            <family>DejaVu Serif</family>
            <family>SimSun</family>
        </prefer>
    </alias>
    <alias>
        <family>sans-serif</family>
        <prefer>
            <family>Bitstream Vera Sans</family>
            <family>DejaVu Sans</family>
            <family>SimSun</family>
        </prefer>
    </alias>
    <alias>
        <family>monospace</family>
        <prefer>
            <family>Bitstream Vera Sans Mono</family>
            <family>DejaVu Sans Mono</family>
            <family>SimSun</family>
        </prefer>
    </alias>


5. Setup fonts for GNOME, open menu Menu System -> Preference -> Appearence -> Fonts.

Application/Document/Desktop font: Tahoma(10)
Window Title font: Tahoma Bold(10)
Fixed Width font: Courier New(10)

Rendering: Monochrome

6. Restart X(Ctrl + Alt + Backspace) to make all setup take effect.

D. Install a Compact theme for GNOME

The GNOME theme always takes too much space for any single control. Not as compact as Windows, especially on small screens.
It is obviously take up too much space and leave working area too small.
After hunting around, I found a very compact GNOME theme.


Thanks Martin Ankerl's great work!


E. Install & Setup Firewall - GuardDog

1. Install GuardDog

$ sudo apt-get install guarddog

2. Open GuardDog, it may report missing file when open it for the first time, leave it.

$ gksudo guarddog

3. GuardDog default has no rule, you must know exactly which rules you need, here is some guide.

Open tab Protocol, select Internet Zone, generally we need protocols like: DNS, HTTP, HTTPS, FTP for internet connection; POP3, SMTP for mail client; NTP to synchronize time; SSH for secure remote control; Jabber, MSN for IM; etc.
Open tab Advanced, check 'Enable DHCP on Interfaces'.

4. Add New Protocol for QQ(the most widely used IM client in China)

Open tab Advanced, press new protocol to create a new one, Name: QQ, Type: UDP, Ports: 4000-8000.
Open tab Protocol, enable QQ protocol.

5. Press apply to take effect


F. Install IME - SCIM

1. To install the languages you plan to use along with their input method engines go to:


System -> Administration -> Language Support


and select the languages you need.


2. If you want scim to work with programs that use Qt you need to install scim-qtimm:


$ sudo apt-get install scim-qtimm
$ sudo gedit /etc/X11/xinit/xinput.d/scim

Find:

GTK_IM_MODULE=”scim”
QT_IM_MODULE=”scim”

Replace with:

GTK_IM_MODULE=”xim”
QT_IM_MODULE=”xim”


3. Set scim as default input method


$ im-switch -s scim

4. To enable the new configuration by press 'Ctrl + Alt + Backspace'.


G. Play Real media

1. Download and install.

$ wget http://www.debian-multimedia.org/pool/main/r/realplay/realplayer_10.0.9-0.1_i386.deb
$ sudo dpkg -i realplayer_10.0.9-0.1_i386.deb
$ sudo dpkg -r realplayer


2. If RealPlayer freezes or playback is jerky, you should install alsa-oss and setup RealPlayer

$ sudo apt-get install alsa-oss

If failed to install alsa-oss, reboot as recovery mode and install(run dhclient to get an ip)

$ sudo gedit /usr/bin/realplay  or  $ sudo gedit /usr/bin/realplayer  or  $ sudo gedit /opt/RealPlayer

Find lines:
if [ -n "$LD_PRELOAD" ]; then
echo "Warning: LD_PRELOAD=/"$LD_PRELOAD/""
fi

and add these after them:

LD_PRELOAD="$LDPRELOAD:/usr/lib/libaoss.so"
export LD_PRELOAD

H. Using the Desktop / LiveCD and Overwriting the Windows bootloader

Using the Desktop/LiveCD and Overwriting the Windows bootloader


Boot from a Live CD and open a terminal. You'll need to run a few commands as root so you can use sudo -i to get a root shell and run them normally instead of using sudo on each of them. Be extra careful when running a root shell, especially for typos !

We'll need to find which partition your Ubuntu system is installed on. Type the command fdisk -l. It will output a list of all your partitions, for example :

$ sudo fdisk -l 

Disk /dev/hda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 1 8 64228+ 83 Linux
/dev/hda2 9 1224 9767520 83 Linux
/dev/hda3 * 1225 2440 9767520 a5 FreeBSD
/dev/hda4 2441 14593 97618972+ 5 Extended
/dev/hda5 14532 14593 498015 82 Linux swap / Solaris
/dev/hda6 2441 14530 97112862 83 Linux

Partition table entries are not in disk order

Here I have three Linux partitions. /dev/hda2 is my root partition, /dev/hda1 is my /boot partition and /dev/hda6 is my /home partitoins. If you only have one, obviously this is the one your Ubuntu system is installed on. If you have more than one and you don't know which one your Ubuntu is installed on, we'll look for it later. First, create a mountpoint for your partition, for example :


$ mkdir /mnt/root


Then mount your partition in it. If you don't know which one it is, then mount any of them, we'll se if it's the correct one.


$ mount -t ext3 /dev/hda2 /mnt/root


Of course, replace /dev/hda2 with the correct name of your partition. You can check if it's the correct one by running ls /mnt/root, which should output something like this :

bin    dev      home        lib    mnt   root     srv  usr 
boot etc initrd lib64 opt sbin sys var
cdrom initrd.img media proc selinux tmp vmlinuz

If what you have looks not at all like this, you didn't mount the correct partition. Do umount /mnt/root to unmount it and try another one. You also need to mount your /boot partition if you made one, like this :


$ mount -t ext3 /dev/hda1 /mnt/root/boot


To make sure it was the correct one, run ls /mnt/root/boot, which sould output something like this :

config-2.6.18-3-686      initrd.img-2.6.18-3-686.bak  System.map-2.6.18-3-686 
grub lost+found vmlinuz-2.6.18-3-686
initrd.img-2.6.18-3-686 memtest86+.bin

Once again, if what you have doesn't fit, unmount it and try another partition.

Now that everything is mounted, we just need to reinstall GRUB :


$ grub-install --root-directory=/mnt/root /dev/hda


If you got BIOS warnings try:


$ grub-install --root-directory=/mnt/root /dev/hda --recheck


Of course, replace /dev/hda with the location you want to install GRUB on. If all went well, you should see something like this :


Installation finished. No error reported.

This is the contents of the device map /boot/grub/device.map.

Check if this is correct or not. If any of the lines is incorrect,

fix it and re-run the script `grub-install'.


(hd0) /dev/hda

Now you can reboot and the GRUB menu should appear. If you see a warning message regarding XFS filesystem, you can ignore it. 
 
第 1 步:基础类型与枚举 Enums.cs(约 55 行)依赖:无(只完成后:编译通过,后续所有文件都能用这三个枚举。 阅读详情

相关推荐

RAG项目简历包装指南:从“流水线工人”到“问题解决者”的跃迁(附代码与思路)

本文代码已在Python 3.11 + CUDA 12.3环境测试,部分功能需LangChain 0.2+支持。

Conan_0728的博客 1885

Ubuntu26.04环境中如何记录并查看终端命令行的输入输出

在Ubuntu 26.4系统环境中,有时候我们需要记录终端命令行的输入输出信息,防止系统关机或者重启后这些信息找不到了,以便我们后期查看这些终端命令行的相关输入以及打印输出。~/terminal-logs/$(date +%Y%m%d-%H%M%S).log:在~/terminal-logs目录下创建带时间的日志文件。(2)如果只想输出“关键字”的信息使用grep命令。(1)如果想查看全部信息,使用cat命令。-a:追加内容,不覆盖前面又有信息。-n:的意思是显示行号信息。-f:flush刷盘。

duanjianbo3330的专栏 86

别再只盯着DDR5了!聊聊3D DRAM:它凭什么能解决AI算力的内存墙难题?

本文深入探讨了3D DRAM技术如何突破AI算力的内存墙限制。通过立体堆叠架构,3D DRAM在存储密度、带宽和延迟方面实现显著提升,有效解决AI训练和推理中的内存瓶颈问题。文章还分析了三星、SK海力士等巨头的技术路线图,并指出商业化面临的挑战与机遇。

weixin_42685438的博客 189

Ubuntu Linux中安装WorkBuddy

使用Electron打包的桌面程序,在Linux下经常会遇到这个问题,在运行命令的后面加个。这时候有个常见的小坑,直接打开是不行的,我们可以看下他默认图标怎么启动程序的。就可以了,登录后也是正常的。我们先彻底修复一下,在desktop里面修改一下。直接通过dpkg安装即可,如果安装失败少什么依赖,可以执行。

逸鹏说道 543

【系统架构设计师】论文模板样例:论软件系统架构风格

本人于年月参与项目,该系统为*,在该项目组中我担任系统架构师岗位,主要负责系统整体架构设计。本文以该车联网项目为例,主要讨论了软件架构风格在该项目中的具体应用。底层架构风格我们采用了虚拟机风格中的解释器,因该公交共有几十种不同的数据协议,使用解释器风格可以满足整车数据协议兼容性需求;中间层关于应用层的数据流转采用了独立构件风格中的隐式调用,以减低系统间耦合度、简化软件架构,提高可修改性方面的架构属性;应用系统层采用了B/S的架构风格,统一解决公交行业性难题“实施推广难、维护难”问题。

数据知道的博客 9928

十五、SAP-物料需求计划(MRP)

业务逻辑、功能讲解、图文解析、章节总结

m0_72403327的博客 1094

Ubuntu26.04终端命令行前缀提示信息如何加色显示

不知道大家有没有这样的苦闹,使用Ubuntu 26.04自己的终端命令行或者使用xshell等远程ssh软件,前缀提示信息“root@DESKTOP-2K99PJP:~#”和命令行的输出信息都是一种颜色白色的,不是很明显,如果终端命令行输出信息特别多的时候,往回翻找我们从哪里输入的特别费劲,尤其是查看日志信息等有几百上千行的信息打印的时候。因此需要有一个办法能够高亮终端命令行的前缀提示信息,以下分了2种操作分别对应root用户和普通用户。(1)root用户终端命令行提示信息增加高亮显示。

duanjianbo3330的专栏 250

从点云到舱口尺寸:船甲板舱口检测的算法实现

本文提出了一种从船甲板激光扫描点云中自动检测舱口尺寸的算法。通过数据预处理(降采样、去噪、平面分割)后,采用甲板投影轮廓法将3D点云转换为2D图像,利用双次闭运算解决扫描碎片化问题,通过轮廓树检测内轮廓识别舱口。算法最终能稳定检测出三个主要舱口的长宽尺寸、面积和位置信息,矩形度超过0.89。该方法克服了扫描稀疏和围壁结构复杂的问题,参数可调性强,适用于工程实践。关键创新点在于将舱口识别转化为图像中的"洞"检测,而非直接处理3D几何特征。

点云兔子的博客 147

Ubuntu 下网络请求异常排查:本地端口冲突与环境变量配置(Sign-in could not be completed)

本文介绍 Ubuntu 环境下网络请求异常的排查方法,重点分析本地端口占用、后台进程残留及环境变量配置问题,并通过 ss、curl、ps 等命令检查网络连接,结合用户会话和桌面应用配置,提供一套完整的 Linux 网络故障排查思路。

m0_73177436的博客 283

YOLOv13添加WDBB模块,map提升5.34!!,召回率提升6.55,准确率提升3.23

本文提出了一种基于YOLOv13改进的目标检测模型,通过引入WDBB模块显著提升了检测性能。实验结果表明,添加WDBB模块后,mAP提升11.34,召回率提升14.55,准确率提升3.23。文章详细介绍了模型移植方法,包括创建新的yaml配置文件、修改tasks.py和__init__.py文件,以及实现rep_block.py中的核心转换函数。改进后的模型通过深度卷积、通道注意力等模块优化了特征提取能力,同时保持了轻量化的特点。该工作为YOLO系列模型的性能提升提供了新的思路和技术实现。

FJN110的博客 2624

IEM模型,地表粗糙度模拟

利用微波反演土壤水分时候,利用IEM模型可以实现对随机地表的模拟

什么是 Redis 以及如何在系统(Ubuntu、Debian、AlmaLinux、Rocky 或 CentOS)上安装它

Redis是基于内存的高速数据存储系统,广泛用于缓存、会话管理和任务队列。在Ubuntu/Debian上用apt安装,AlmaLinux/Rocky/CentOS上用dnf安装,均通过systemctl enable --now redis-server启动并设为开机自启。使用redis-cli测试ping响应及set/get操作验证功能。务必配置bind 127.0.0.1和requirepass密码以保障安全,避免暴露于公网。适用于WordPress、Laravel等应用加速。

csdn_aspnet的专栏,请点击博客主页右上角三个点中的私信联系 308

文档:亲测可用解决vnc灰屏,黑屏,鼠标大黑叉情况

主要解决vnc-viewer灰屏,黑屏,鼠标大黑叉等现象,详细见文档。

Ubuntu学习笔记-配置Gitea通过https访问

本文记录在 Ubuntu(树莓派 aarch64)环境下为 Gitea 1.26.4 配置 HTTPS 访问的完整过程。先说明 HTTP 与 HTTPS 的差异及自签名证书的适用场景,再使用 OpenSSL 手动生成带 SAN 的本地自签名证书,依次完成创建证书目录、编写 openssl.cnf、生成 RSA 私钥与 CSR、自签名签发证书、校验证书与密钥匹配、设置文件权限等步骤;随后修改 Gitea 的 app.ini 将 ROOT_URL 切换为 https,并调整 Nginx 反向代理引用证书、开启

向往的是:佛祖堂前的鱼,静静听禅。 199

SAP B1中文培訓教材_SDK

公司内部培训资料,对开发工具 ,DIAPI, UIAPI,Add-ON有详细解说

LinePhone3.2.7(android端最新版本) sip客户端

SIP客户端For android:LinePhone3.2.7(最新版本),官网地址:http://www.linphone.org/

ubuntu日常ollama

架构:Ollama 跑在 GPU1,ComfyUI 在 GPU0;优先 8B 档位,14B 短上下文可跑、长文本容易 OOM;Q4_K_M,约 5.2G,适合你的 3080 10G 卡,写 python、ComfyUI 节点脚本很好用Ollama。32B / 70B 系列:Q4 都要 18G+,会大量丢内存到 RAM,速度极慢。拉不下来,提示文件不存在Ollama。最小也是十几 B,10G 3080 不友好,不建议。,官方原版只有 30b / 480b,所以。,用哪个就开哪个,另一个关掉。

jekc2008的专栏 201

Ubuntu 26.04系统中如何查看在终端命令行中的历史命令呢?

我们在Ubuntu系统相关操纵中最常用的就是使用终端命令行,而终端命令行有个问题就是当我们关闭,或者重启系统之后,曾经输入的命令找不到了,有时候我们需要往回查找曾经输入过哪些命令,因此需要找到一种方法能够记录曾经输入过的命令。其实在“/root/”路径中有一个文件明为“.bash_history”的文件夹,如果我们查看信息的话,发现里面记录着的就是我们输入的命令。注意:我这里说的命令就是指的是单纯的输入的命令,而非整个终端所有输入输出信息。相关操作:直接在终端命令行中输入“history”

duanjianbo3330的专栏 206

# Ubuntu 22.04 更新包后,能连ToDesk但无法上网(DNS异常)排障笔记

Ubuntu22.04执行软件包更新后重载网络配置,DHCP获取的路由器DNS失效,ToDesk因IP直连不受影响,通过nmcli指定公共DNS并禁用DHCP自动DNS即可修复解析故障。

sevenez的专栏 241

【云原生】Ubuntu部署 Kubernetes1.33

本文详细介绍了在Ubuntu 24系统上部署Kubernetes 1.33集群的全过程,涵盖三台主机(master、node1、node2)的基础环境配置,包括主机名设置、hosts绑定、关闭swap、开启IPv4转发及时间同步。重点完成Containerd安装与配置,包括卸载Docker残留、生成配置文件、启用systemd cgroup、添加国内镜像源及修改pause镜像地址。最后通过nerdctl验证容器运行时,为后续kubeadm初始化集群奠定基础。

weixin_73059729的博客 291

Ubuntu 修复 FinalShell 任务栏齿轮图标

FinalShell 可以正常启动,但任务栏显示默认齿轮图标。本次环境为 Ubuntu、X11,图标文件存在且有效。最终通过在用户级.desktop文件中加入,重新启动并固定应用,成功解决。st是本次实际测得的窗口标识。其他版本或安装方式应先测量,不要直接套用。

To be a better man 217

Ubuntu 26.04 + GNOME Wayland 设置视频动态壁纸(Hidamari 实测可用)

判断能不能用,只看工具是否支持,不要看教程年份GNOME 用 Mutter,不实现 wlr-layer-shell,所以 mpvpaper 一类工具全部出局视频壁纸选Hidamari(Flathub),安装时注意加用户级 flathub 源必须图形界面选视频,系统设置里记得开 Autostart、Mute、Pause when maximized素材 1080p 足够,注意功耗。

CJLU_WSJ的博客 140

部分电荷(Partial Charge)完全指南:方法横评与 Windows/Ubuntu 实战脚本

你给配体建 MD 体系时总卡在电荷这步:Mulliken、RESP、AM1-BCC 不知选哪个,Windows 上 antechamber 还装不上。这篇讲透划分派、拟合派、半经验三大族,给出 RDKit、Open Babel、AmberTools、RESP 四套可复制脚本,分系统标注并附 7 个实测踩坑,Windows 11 与 Ubuntu 24.04 全部跑通,读完能按体系选对方法并当场跑通。

Blockbuster-drug 749

chromium 56 在 ubuntu 下交叉编译windows 版本chromium

ubuntu下使用win 编译工具链编译 win 版本chromium

一朵花开的时间 263

操作系统安全体系能到哪一步?卓伊凡:服务端看认证,Ubuntu看默认,欧拉看体系,鸿蒙是另一条路

操作系统安全体系当前已实现分层保障:内核级强制访问控制(如SELinux、AppArmor)、默认攻击面收窄、密码学加密与制度化测评构成四重防线。在官方测评中,华为欧拉V3、阿里云服务器等三款系统达Ⅰ级安全可靠标准,鸿蒙桌面则首获Ⅱ级认证。Ubuntu高版本默认安全工程化出色,但加固也可能引入新漏洞。欧拉与鸿蒙技术路线不同——前者为服务端Linux加固体系,后者为终端微内核+形式化验证架构,二者可协同构建“端云安全”,但不可混为一谈。安全本质是相对的,需结合场景、运维能力与测评体系理性选型。

一颗优雅草科技-央千澈的优快云博客~只想无穷无尽的学习~作息早8-晚8 161

Arduino 单片机仿真/开发工具全套整理(Ubuntu桌面 + 手机网页仿真)

本文系统整理了Ubuntu下Arduino仿真与开发工具链,涵盖桌面端(PICSimLab、SimulIDE、Kablix、嘉立创EDA等)及手机浏览器端(Wokwi、Velxio等)主流平台,明确apt源限制与安装方案差异,提供VS Code集成、Kablix与嘉立创EDA安装教程,并修正失效域名问题,助力开发者高效构建跨平台嵌入式开发环境。

zhangrelay的专栏 259

MySQL 专题 · 第 1 章:环境搭建(Ubuntu/Debian 系 vs CentOS/RHEL 系

本文系统解析MySQL在Ubuntu/Debian与CentOS/RHEL系下的安装差异,聚焦包管理、服务名、配置路径及root认证方式三大核心区别。重点揭示MySQL 8.0默认使用caching_sha2_password导致老客户端连接失败的根源,并提供两套可直接复用的安装与初始化命令。强调装完必做四件事:自启、安全加固、认证插件调整(适配老应用)、验证配置。附5.7与8.0关键差异速查表,为“装得起、连得上”提供实战指南,为后续架构与排错打下基础。

weixin_42211117的博客 268

什么是 Redis?如何进行本地(Ubuntu、Mac、Windows)部署?

Redis是一款高性能开源内存数据存储,支持多种数据结构,广泛用于缓存、实时分析、消息代理等场景。其高速得益于内存存储、单线程架构、优化数据结构、异步I/O及高效协议。本文介绍Redis的原理与在Ubuntu、Windows(WSL2)、Mac上的本地配置方法,并通过ping和set/get命令验证安装。欢迎收藏、点赞、评论,祝您快乐每一天!

csdn_aspnet的专栏,请点击博客主页右上角三个点中的私信联系 310
上一篇: 判断空间射线是否穿过空间三角形的程序实现
下一篇: Ubuntu 7.10(Gutsy Gibbon) 配置
FALLEAFCSHARP
博客等级 码龄23年 6粉丝 3原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值