Articles of Ubuntu的12.04

Hyper-V 2012上的Ubuntu Server 12.04 LTS

我有以下情况:Hyper-V 2012服务器核心安装。 最重要的是,我创build了一个虚拟机,我尝试安装Ubuntu Server 12.04,根据微软和Ubuntu的说法(尽pipe这不是官方的支持),不应该有任何兼容性问题。 我开始,运行安装,一切正常,检测networking设备或硬盘驱动器(不像debian,甚至没有检测到硬盘驱动器)没有问题。 一旦安装完成,它要求我重新启动,卸载“DVD驱动器”并重新启动。 一旦它试图再次启动,我得到以下错误: 启动失败。 重新引导并select正确的引导设备或插入引导介质到选定的引导设备中。 它似乎不是从虚拟硬盘启动。 硬盘驱动器设置为SCSI模式,没有任何东西安装在IDE控制器(没有ISO映像或其他东西。 有没有人有什么想法,我可以做些什么来解决这个问题?

在Ubuntu 12.04上configuration和安装PHP 5.3.21时出错

我试图在运行Ubuntu 12.04的Rackspace云服务器上安装PHP 5.3.21,但是在configuration过程中我仍然遇到错误。 它不断给我以下错误: configure: error: Cannot find imap library (libc-client.a). Please check your c-client installation. 这是我的PHPconfiguration脚本: ./configure –enable-fpm –enable-cli –with-fpm-user=phpfpm –with-fpm-group=phpfpm –prefix=/usr/local/php –exec-prefix=/usr/local/php –with-config-file-path=/usr/local/php/etc –with-config-file-scan-dir=/usr/local/php/etc/conf.d –with-libdir=/lib/x86_64-linux-gnu –enable-bcmath –enable-ctype –with-curl –with-curlwrappers –with-pear –enable-dba –with-cdb –enable-exif –enable-ftp –disable-fileinfo –with-gd –with-jpeg-dir –with-png-dir –with-zlib-dir –with-xpm-dir –with-freetype-dir –with-t1lib –enable-gd-native-ttf –with-gettext –with-gmp –with-imap=/usr/local/c-client-2007f –with-imap-ssl –with-ldap –with-ldap-sasl –enable-mbstring=all –with-mcrypt –with-mhash –with-mysql […]

MySQL不会启动后更新(似乎是一个apparmor问题)

我只是更新MySQL服务器到5.5.35-0ubuntu0.12.04.1和MySQL不会重新启动。 dmesg显示以下错误: [ 832.490460] type=1400 audit(1392612759.575:31): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/mysqld" pid=16498 comm="apparmor_parser" [ 832.543672] type=1400 audit(1392612759.627:32): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/mysqld" pid=16532 comm="apparmor_parser" [ 833.740580] init: mysql main process (16544) terminated with status 1 [ 833.740615] init: mysql main process ended, respawning [ 834.687079] init: mysql post-start process (16545) terminated with status 1 [ 834.695901] type=1400 audit(1392612761.779:33): apparmor="STATUS" […]

使用Samba进行AD和文件共享

我们使用Samba和WinBind的组合允许在Ubuntu 12.04机器上进行ADlogin。 我们也使用Samba作为文件服务器。 我们不希望Samba文件共享为ADlogin工作,而只是我们指定的本地login。 目前,当AD用户试图通过Samba查看文件时,他们可以看到我们的一个共享中的所有内容。 当他们尝试写更改时,他们被拒绝,但是。 这是第一个问题。 第二个问题是,我们有一个本地用户在与AD用户名称相同的框中,看起来当它login到Samba共享时,它使用AD帐户,无法将更改写入文件系统而不是logging作为本地用户。 这是我的smb.conf: [global] workgroup = DOMAIN server string = t-u12-dev1 netbios name = t-u12-dev1 dns proxy = no password server = domainserver.com realm = DOMAIN.COM local master = no log file = /var/log/samba/log.%m max log size = 1000 syslog = 0 panic action = /usr/share/samba/panic-action %d wtmp directory […]

畸形线61(distparsing)

我运行sudo apt-get update但它返回: E: Malformed line 61 in source list /etc/apt/sources.list (dist parse) E: The list of sources could not be read. 我通过vim /etc/apt/sources.list打开sources.list 第61行是: deb http://apt.postgresql.org/pub/repos/apt/precise-pgdg main 我不确定这是什么错误的。

从zimbra协作服务器GA 8.0.0(zcs)迁移/传输到最近的zimbra(zcs)GA

即时通讯在Ubuntu 12.04LTS上使用zimbra zcs 8.0.0 GA,是否可以将设置/邮箱从旧版本zimbra迁移到“新zimbra服务器”。 新服务器安装了Intel Xeon CPU X3430 @ 2.40GHz和15G内存的Ubuntu 14.04.4 x64bit。 我将不胜感激任何有用的build议或链接。 谢谢

MySQL崩溃,无法重新启动

MySQL似乎正在崩溃,通常在当天晚些时候,但我不明白为什么! 它说内存不足,但是有大量的免费ram,没有使用交换空间。 我正在使用Azure。 这里是日志: Oct 3 20:42:20 GenyxLive kernel: [787828.711240] Out of memory: Kill process 53891 (mysqld) score 84 or sacrifice child Oct 3 20:42:20 GenyxLive kernel: [787828.714081] Killed process 53891 (mysqld) total-vm:871780kB, anon-rss:58164kB, file-rss:0kB Oct 3 20:42:20 GenyxLive kernel: [787828.731974] init: mysql main process (53891) killed by KILL signal Oct 3 20:42:20 GenyxLive kernel: […]

VirtualBox转发特定的IP给客人

我有一台安装了Ubuntu 13.10的专用服务器,还有一个使用Virtualbox和phpvirtualbox的基本安装来pipe理它的客户操作系统。 我有两个IP地址指向服务器,我想纯粹用于其中的一个虚拟操作系统,我与Ubuntu 12.04上。 这意味着每个端口等都将通过主机服务器并直接转发到该客户机操作系统。 我已经看过VirtualBox上不同的networking方法,但似乎没有为我。 如果我使用NAT和端口转发,我可以设置来宾PC只通过那个第二IP注册到那些端口的呼叫。 但是我不能使用任何标准的端口已经在主机上使用,如SSH或80,因为主机在两个IP上使用它们 我如何才能让主机操作系统将所有内容都传递给特定的客户机操作系统以获得特定的IP? 我做错了,我需要使用不同的主机types? 编辑: 从研究和意见看起来桥接应该是前进的方式,但我又卡住了,这里是我的/ etc / network / interfaces文件.. # Loopback device: auto lo iface lo inet loopback # device: eth0 auto eth0 iface eth0 inet static address 1.2.3.4 broadcast 1.2.3.5 netmask 255.255.255.200 gateway 1.2.3.1 # default route to access subnet up route add -net 1.2.3.6 netmask […]

厨师安装错误 – 在资源上执行操作“运行”时出错

我正尝试在Ubuntu 12.04.5 64位上安装厨师(chef-server_11.0.4-1.ubuntu.12.04)。 安装后,当我运行“chef-server-ctl reconfigure”得到下面的错误。 让我知道如何安装它。 [2014-12-20T14:16:10+05:30] ERROR: Running exception handlers [2014-12-20T14:16:10+05:30] ERROR: Exception handlers complete Chef Client failed. 2 resources updated [2014-12-20T14:16:10+05:30] FATAL: Stacktrace dumped to /opt/chef-server/embedded/cookbooks/cache/chef-stacktrace.out [2014-12-20T14:16:10+05:30] FATAL: Mixlib::ShellOut::ShellCommandFailed: execute[/opt/chef-server/embedded/bin/chpst -u chef_server -U chef_server /opt/chef-server/embedded/bin/rabbitmqctl wait /var/opt/chef-server/rabbitmq/db/[email protected]] (chef-server::rabbitmq line 80) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '2' […]

在Virtualmin中使用GoDaddy SSL证书(Webmin)

我的一个客户决定继续从一个自签名证书迁移到一个商业(“GoDaddy标准SSL”)。 我想转移到商业SSL证书的第一个服务是Webmin / Usermin …但是,迁移到新的SSL证书并重新启动Webmin时,我得到以下错误: [21/Oct/2012:13:12:47 -0400] Restarting Failed to open SSL cert /etc/webmin/miniserv.cert at /usr/share/webmin/miniserv.pl line 4229. Error: Webmin server did not write new PID file 这就是它所说的。 这是Webmin的configuration文件( /etc/webmin/miniserv.conf ): port=10000 root=/usr/share/webmin mimetypes=/usr/share/webmin/mime.types addtype_cgi=internal/cgi realm=Webmin Server logfile=/var/webmin/miniserv.log errorlog=/var/webmin/miniserv.error pidfile=/var/webmin/miniserv.pid logtime=168 ppath= ssl=0 env_WEBMIN_CONFIG=/etc/webmin env_WEBMIN_VAR=/var/webmin atboot=1 logout=/etc/webmin/logout-flag listen=10000 denyfile=\.pl$ log=1 blockhost_failures=5 blockhost_time=60 syslog=1 session=1 server=MiniServ/1.600 […]