Ubuntu 安装盘有一个选项可以安装使用 LUKS 加密的 Ubuntu。但是,对于双引导方案,没有选项可以与现有分区一起执行加密安装。
如何安装与来自实时磁盘的另一个分区一起加密的 Ubuntu?
我最近在我的工作计算机上安装了 Ubuntu GNOME,替换了 Windows 7,因为我将做很多 Linux 开发工作。
我们的许多配置和开发脚本都使用公司网络服务器的缩短 URL。也就是说,他们使用http://server
而不是http://server.location.company.com
. 我在 Windows 中从未遇到过这些 URL 的问题,但我无法让它们在 Ubuntu 中正常工作。对我来说,简单地输入整个完全限定的 URL 是不可行的,因为在各种脚本中到处都使用了缩写形式,但我能够访问长形式的 URL。
当我使用Dell SonicWall NetExtender VPN 客户端连接到公司的 VPN 时,缩短的 URL 可以正常工作。
根据我迄今为止所做的研究,我认为我需要location.company.com
在 Ubuntu 上将其配置为搜索域,但到目前为止我尝试这样做都失败了。这是我尝试过的:
location.company.com
作为搜索域,并放入我们的 DNS 服务器。这没有明显的区别。dpkg-reconfigure resolvconf
以确保它动态更新 resolv.conf。我还担心此时我已经尝试了几种不同的方法,它们可能会相互干扰。我知道在过去几年中,Ubuntu 更改了此配置的某些部分,并且很难找到最新的信息。我并不完全清楚网络管理器、resolvconf、dhclient 和其他配置文件在最新版本的 Ubuntu 中如何协同工作。
所以,我的问题是:如何配置我的计算机以使短格式 URL 在 Ubuntu 14.10 中正常工作?
或者,我应该使用哪些网络配置程序来执行此操作,我应该如何配置它们,以及如何验证它们是否正常工作?
谢谢你的帮助!如果我可以提供任何其他信息,请告诉我。
编辑:这是 my /etc/resolv.conf
,我相信它是由 resolvconf 生成的。
# Add Company …
Run Code Online (Sandbox Code Playgroud) 在 Ubuntu 中,默认/bin/sh
指向./bin/dash
我想/bin/bash
用作我的系统范围的 shell 用于/bin/sh
. 做这个的最好方式是什么?
在我的公司,我们的许多配置脚本等都只使用服务器名称。例如,http://server
而不是http://server.company.com
. 我已经在 GUI 网络连接工具中配置了搜索域。我也在 中配置了它/etc/resolvconf/resolv.conf.d/head
,但它无法正常工作。
奇怪的是,某些工具(如 nslookup 或主机)可以解析正确的 IP,但其他工具(如 ssh、ping、git 和 Web 浏览器)则不会。如果我使用 FQDN,我可以连接。什么可能阻止搜索域正确解析?
下面,找到一些命令的相关输出。
查找:
$ nslookup server
Server: 192.168.200.53
Address: 192.168.200.53#53
server.company.com canonical name = server001.company.com.
Name: server001.company.com
Address: 192.168.200.103
Run Code Online (Sandbox Code Playgroud)
主持人:
$ host server
server.company.com is an alias for server001.company.com.
server001.company.com has address 192.168.200.103
Run Code Online (Sandbox Code Playgroud)
平:
$ ping server
ping: unknown host server
$ ping server.company.com
PING server001.company.com (192.168.200.103) 56(84) bytes of data.
64 bytes from server001.company.com (192.168.200.103): icmp_seq=1 ttl=64 time=4.61 ms …
Run Code Online (Sandbox Code Playgroud) 谷歌浏览器在最近的apt-get upgrade
. 我不知道我错过了什么,而且谷歌没有为这些错误找到很多结果:
$ google-chrome
[1:1:0518/085616:ERROR:image_metadata_extractor.cc(111)] Couldn't load libexif.
[5807:5807:0518/085616:ERROR:browser_main_loop.cc(199)] GTK theme error: Unable to locate theme engine in module_path: "pixmap",
[5807:5807:0518/085616:ERROR:browser_main_loop.cc(199)] GTK theme error: Unable to locate theme engine in module_path: "adwaita",
[5807:5807:0518/085616:ERROR:browser_main_loop.cc(199)] GTK theme error: Unable to locate theme engine in module_path: "pixmap",
[5807:5807:0518/085616:ERROR:browser_main_loop.cc(199)] GTK theme error: Unable to locate theme engine in module_path: "pixmap",
[5807:5807:0518/085616:ERROR:browser_main_loop.cc(199)] GTK theme error: Unable to locate theme engine in module_path: "pixmap",
[5807:5807:0518/085616:ERROR:browser_main_loop.cc(199)] GTK theme error: Unable to locate theme engine …
Run Code Online (Sandbox Code Playgroud) 14.10 ×2
dns ×2
networking ×2
64-bit ×1
bash ×1
dash-shell ×1
gnome ×1
gtk ×1
luks ×1
resolv.conf ×1
ubiquity ×1