Articles of 库

软件包没有显示在aptitude中

我在我的服务器上有一个非常奇怪的问题,我刚刚从Debian 7升级到9.它没有列出应该存在于其存储库中的一些软件包… $ cat /etc/apt/sources.list deb http://ftp.de.debian.org/debian/ stable main contrib non-free deb-src http://ftp.de.debian.org/debian/ stable main contrib non-free deb http://ftp.de.debian.org/debian/ stable-updates main contrib non-free deb-src http://ftp.de.debian.org/debian/ stable-updates main contrib non-free deb http://security.debian.org/ stable/updates main deb-src http://security.debian.org/ stable/updates main deb http://ftp.debian.org/debian stretch-backports main deb-src http://ftp.debian.org/debian stretch-backports main $ aptitude update Hit http://ftp.debian.org/debian stretch-backports InRelease Hit http://security.debian.org stable/updates […]

从其他文件夹复制时,在Windows 2003中不会inheritance权限

今天,我做了一个网站更新,并得到了我以前从未体验过的这种奇怪的行为。 我总是从生成文件夹复制文件到prod文件夹。 在我复制文件后,我开始在网站上获得一个拒绝许可的权限,所以我去了该文件的属性,并注意到它没有任何相应的权限。 我的想法是,复制文件时,没有得到inheritance的权限。 你认为这是可能的吗?如果是的话,我做错了什么导致了这种行为? 谢谢!

本地软件包拧紧后如何强制从deb库重新安装?

我错误地把我的tex-live安装在lenny上,试图在本地安装一些挤包。 我有一个状态为“pU”的软件包列表,我想用一个已知可用的存储库版本replace它们。 我怎么做?

如何在Linux中安装预编译的二进制文件

我正在尝试在Linux中安装预编译的 sqlite版本3(sqlite3)二进制文件。 我创build了一个目录/home/username/src ,然后将zip文件放在目录中,然后解压缩文件。 我剩下的是sqlite3。 当我尝试使用它,我得到一个错误,说sqlite3没有安装。 我已经尝试了这些命令: install sqlite3 make install

静态(.a)和dynamic库(.so)总是可以在linux中重定位?

我知道对象文件(.o)总是可以重定位的, 那么.a和.so文件呢?

在Debia Squeeze上使用cURL最新版本

为什么Debian Squeeze repositories指向cURL版本7.21.0,这是从2010年6月,而不是从今年5月的7.26.0( cURL Changelog )? 我想更新到版本7.26,以避免NTLM的错误,我可以这样做,否则将以任何方式崩溃的系统? 如果是,我该怎么做?

无法打开共享对象文件:权限被拒绝

在我没有安装的服务器上,ntpd坏了: # /etc/init.d/ntpd start ntpd: error while loading shared libraries: libz.so.1: cannot open shared object file: Permission denied 但权限看起来正确: # ldd /usr/sbin/ntpd libz.so.1 => /usr/lib64/libz.so.1 # ls -l /usr/lib64/libz.so.1 lrwxrwxrwx root root /usr/lib64/libz.so.1 -> libz.so.1.2.3 # ls -l /usr/lib64/libz.so.1.2.3 -rwxr-xr-x root root /usr/lib64/libz.so.1.2.3 LD_LIBRARY_PATH为空,服务器为64位: # uname -a Linux my.server 2.6.18-128.el5 #1 SMP […] x86_64 x86_64 […]

百胜configuration通过代理必要?

我试图让我的yumconfiguration再次工作,但它停在下面: yum update–verbose Config time:0.091 Yum Version: 3.2.22 Setting up Package Sacks Loading mirror speeds from cached hostfile 在最后一行yum只是无限期地挂起。 我注意到那里没有设置http_proxyvariables,并且/etc/yum.conf中没有任何内容表示代理,但是如果使用以下命令设置http_proxy: export http_proxy=http://localhost:8080/ 然后在/etc/yum.conf中设置: proxy=http://localhost:8080/ 运行上面的相同命令时出现以下错误: yum update–verbose Config time:0.091 Yum Version: 3.2.22 Setting up Package Sacks Loading mirror speeds from cached hostfile Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5&arch=i386&repo=addons error was [Errno 4] IOError: <urlopen error (111, […]

当apachectl优雅时,apache采取旧的openssl库

由于心脏病的脆弱性,我已经重新编译了非易受攻击的最新版本的openssl(由于一些依赖性问题,我不得不保留旧的易受攻击的openssl)。 它运行良好,当mydomain.com heartbleedtesting它说,“似乎是固定的或不受影响”。 但是,如果我做apachectl graceful和考验heartbleed它说mydomain.com是脆弱的。 如果我做/usr/local/etc/rc.d/apache2 restart或apachectl restart没有问题。 1)我的问题是,为什么只需要apachectl graceful需要旧的openssl库? 2)访问openssl库时, apachectl restart和apachectl graceful什么区别?

将nginx与Docker的共享库编译成一个小图片

Docker的图像大多是巨大的,我正在梦想一个微小的,非常小的nginx图像。 这个想法是编译它,并创build一个只有nginx二进制文件,configuration文件,所需共享库等的Docker镜像。 所以问题是:如何弄清楚编译的应用程序需要哪些共享库? 知道列表,我会尝试打包一个包含所有依赖关系的文件夹,并将其作为最小的Docker容器发布。 这不仅是关于nginx,而是关于如何处理这些情况的通用配方。 也许,一些交叉编译技术可以在这里帮助?