Tag: Ubuntu

matplotlib中没有绘图窗口

我刚刚在Ubuntu 9.10中使用了突触包系统安装了matplotlib。 但是,当我尝试以下简单的例子 >>> from pylab import plot; >>> plot([1,2,3],[1,2,3]) [<matplotlib.lines.Line2D object at 0x9aa78ec>] 我没有任何情节窗口。 任何想法如何让情节窗口显示?

如何合并许多PDF文件到一个单一的?

我有16个PDF,我想转换成一个单一的…我在Ubuntu 10.10,我该怎么做呢?

Ubuntu服务器上的Apache 2.4.6:客户端被服务器configuration拒绝(PHP FPM)

今天我更新了Ubuntu服务器13.04 (Raring Ringtail)→ 13.10 (Saucy Salamander)。 而且我的Apache 2安装被破坏了。 在这里我的configuration: 文件error.log [Fri Oct 18 10:48:07.237170 2013] [:notice] [pid 8292:tid 139804677900160] FastCGI: process manager initialized (pid 8292) [Fri Oct 18 10:48:07.241185 2013] [mpm_event:notice] [pid 8289:tid 139804677900160] AH00489: Apache/2.4.6 (Ubuntu) mod_fastcgi/mod_fastcgi-SNAP-0910052141 configured — resuming normal operations [Fri Oct 18 10:48:07.241652 2013] [core:notice] [pid 8289:tid 139804677900160] AH00094: Command line: […]

Amazon EC2:Ubuntu(PV)或Ubuntu(HVM)

我即将在Amazon EC2上启动Ubuntu实例。 我正在selectPV和HVM选项。 我发现PV确实提供了一个更高效的虚拟化模型,虽然我可能是错的,而且亚马逊提供了这两种select,我build议HVM可能会有一些我不会用PV获得的好处。 我想在将来使用这个虚拟机器GIT和也许团队城市。 你能帮我select吗?

无法使用Mono运行.net应用程序 – 找不到mscorlib.dll(版本不匹配?)

我有一个简单的.net命令行工具,使用.net 3.5SP1在Windows下编写和编译。 我想用Mono在Linux上运行它。 我正在使用Ubuntu 12.04,并使用Ubuntu软件中心安装了Mono Runtime。 如果我尝试在terminal上启动我的应用程序,请执行以下操作: mono MyApp.exe 我得到的错误: 程序集mscorlib.dll未find或无法加载。 它应该已经安装在'usr / lib / mono / 2.0 / mscorlib.dll'中。 如果我导航到该位置,我发现它不存在。 但是,有usr/lib/mono/4.0/mscorlib.dll (和一些更多的DLL在同一个文件夹中)。 所以看起来有一个版本不匹配。 [在这种情况下, mono -V显示Mono JIT compiler version 2.10.8.1 (Debia 2.10.8.1-1ubuntu2) ]

Maven在Ubuntu上安装在哪里?

我使用命令sudo apt-get install maven在我的Ubuntu机器上sudo apt-get install maven 现在我需要知道它在哪里安装,以configuration相同的IntelliJ ..

如何更新npm

我正在尝试安装mean.io样板。 运行sudo npm install -g meanio@latest时失败。 在失败之前,它注意到它'想要'npm版本1.4.x,而我有1.2.18安装。 所以我尝试更新npm到最新的; 几种方法。 最后是… ubuntu@ip-xxx-xx-xx-xxx:~$ sudo npm install -g npm /usr/local/bin/npm -> /usr/local/lib/node_modules/npm/bin/npm-cli.js npm@1.4.7 /usr/local/lib/node_modules/npm ubuntu@ip-xxx-xx-xx-xxx:~$ npm –version 1.2.18 为什么当我刚刚更新到1.4.7时,它仍然显示版本1.2.18?

软件包php5没有安装候选(Ubuntu 16.04)

当我尝试通过使用以下代码在Ubuntu 16.04中安装php5: sudo apt-get install php5 php5-mcrypt 我得到以下错误: Reading package lists… Done Building dependency tree Reading state information… Done Package php5 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'php5' has no installation […]

当重新启动apache(安装trac和mod_wsgi)时,“make_sock:无法绑定到地址:443”

我试图通过SSL安装trac和mod_wsgi。 我试图手动安装它,但这并没有很好的工作,所以我开始遵循这个: trac-on-ubuntu 我跳过了svn部分,因为我想用git来代替。 第一次编辑httpd.conf之后: WSGIScriptAlias /trac /var/trac/apache/trac.wsgi <Directory /var/trac/apache> WSGIApplicationGroup %{GLOBAL} Order deny,allow Allow from all </Directory> 我重新启动apache只得到这个错误: * Restarting web server apache2 (98)Address already in use: make_sock: could not bind to address [::]:443 [ OK ] 做这些没有显示。 netstat -anp | grep 443 fuser 443/tcp 这样做并没有产生任何东西,除了我跑的grep命令: ps -aux | grep httpd 为什么当没有任何东西出现时,别的什么东西在使用端口? 编辑:你们会笑这个。 我在ports.conf中有一个额外的listen […]

如何将后台应用程序的输出redirect到/ dev / null

我想在Linux中将后台应用程序生成的输出redirect到/ dev / null。 我正在使用凯特文本编辑器,它打印所有我想redirect到/ dev / null的terminal上的debugging消息。 任何想法如何做到这一点? 谢谢