是否有这样的错误容易解决? 因为通常我最终会去packages.debian.org并逐个安装它们,因为apt-get -f install很less这样做。 如果这些依赖关系还缺less依赖关系(依此类推),最终可能会花费相当长的时间。 你会认为这个过程可能是自动化的,或者这是唯一的出路吗?
是否有像dotdeb.org这样的源代码提供Debian挤压的Apache 2.4包? 我正在寻找Apache模块。 我想从这个来源安装模块,然后通过apt的实际版本的Apache?
我正在运行Debian 6的VPS上设置OpenVPN。我已经通过这个指南两步走了一步,我无法启动服务。 当我启动服务时,日志文件中报告的错误是: Cannot ioctl TUNSETIFF tun: Inappropriate ioctl for device (errno=25) 我search了几次网页,但没有find有用的东西。 我试过了: 更改文件权限:不变 删除文件:得到一个错误,说明找不到文件(errno = 2) 制作一个名为“tun”的文件夹:得到一个错误,说明找不到文件(errno = 2) 我已经擦拭了我的装置,现在已经完成了两次逐字逐句的步骤。 我一路上没有遇到任何错误,只是上面的错误在我的日志文件。 下面列出了我的server.conf文件的内容,为了简洁,减去了所有的注释。 谁能帮忙? port 1194 proto udp dev tun ca ca.crt cert myserver.crt key myserver.key dh dh1024.pem server 10.8.0.0 255.255.255.0 ifconfig-pool-persist ipp.txt keepalive 10 120 comp-lzo persist-key persist-tun status openvpn-status.log log openvpn.log verb […]
在尝试更新Debian 6,x64上的linux-image-2.6.32-5-amd64软件包时出现错误。 Setting up linux-image-2.6.32-5-amd64 (2.6.32-41squeeze2) … Running depmod. Running update-initramfs. update-initramfs: Generating /boot/initrd.img-2.6.32-5-amd64 Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.32-5-amd64 /boot/vmlinuz-2.6.32-5-amd64 run-parts: executing /etc/kernel/postinst.d/zz-update-grub 2.6.32-5-amd64 /boot/vmlinuz-2.6.32-5-amd64 Searching for GRUB installation directory … found: /boot/grub Searching for default file … Generating /boot/grub/default file and setting the default boot entry to 0 entry not specified. run-parts: /etc/kernel/postinst.d/zz-update-grub […]
我有服务器与debian lenny。 几年前,我在这台服务器上安装了vserver。 总结现在我有5个虚拟主机和主系统的客户。 每个客人都是debian lenny。 现在,我想从lenny升级到这台服务器(每台Vserver和主机)。 你做得到吗? 我应该通常升级系统? 首先我应该升级每台虚拟服务器的下一台主机,我必须重置所有机器和虚拟服务器? 请告诉我该怎么做?
这里是ps命令的结果,只显示前10行 ps aufx | head USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 2 0.0 0.0 0 0 ? S May08 0:00 [kthreadd] root 3 0.0 0.0 0 0 ? S May08 0:04 \_ [ksoftirqd/0] **root 6 98.5 0.0 0 0 ? S May08 6841:08 \_ [migration/0]** **root 7 99.9 0.0 […]
在Debian 6.0.4我的静态IP是192.168.1.151,我想添加一个IP 192.168.1.175作为虚拟IP。 因为我在/ etc / networking / interfaces中做了以下更改 #此文件描述您的系统上可用的networking接口 #以及如何激活它们。 有关更多信息,请参阅接口(5)。 #环回networking接口 汽车 iface lo inet loopback #主要networking接口 allow-hotplug eth0 #NetworkManager#iface eth0 inet dhcp auto eth0 iface eth0 inet static 地址192.168.1.151 网关192.168.1.1 networking掩码255.255.255.0 networking192.168.1.0 广播192.168.1.255 auto eth0:0 iface eth0:0 inet static 地址192.168.1.175 networking掩码255.255.255.0 广播192.168.1.255 网关192.168.1.1 当我运行命令 / sbin / ifconfig -a 我得到以下信息 eth0 Link […]
如何从包含软件包名称列表的文件中安装Debian / Ubuntu软件包? 我有一个文件packages.txt像: apache2 install libapache2-mod-wsgi install python-setuptools install python-psycopg2 install python-numpy install postgresql-plpython-9.1 install postgresql-client-common install postgresql-client-9.1 install python-dev install build-essential install libtidy-0.99 install xvfb install firefox install 然后我运行: sudo apt-get install dselect –yes sudo dpkg –set-selections < "packages.txt" sudo apt-get dselect-upgrade -y 但是这似乎并没有安装所有的东西。 我究竟做错了什么?
所以我运行Debian 6,并已安装和configuration后缀…问题是后缀启动正常时,我开始与: sudo service postfix start 但如果我重新启动服务器,它不会。 我检查了日志,这是它给出的错误: Jun 10 06:18:51 VPS postfix[1567]: fatal: the postfix command must not run as a set-uid process 我怎样才能解决这个问题? 当我做: update-rc.d postfix start 20 2 3 4 5 我得到这个输出: update-rc.d: using dependency based boot sequencing update-rc.d: warning: postfix stop runlevel arguments (none) do not match LSB Default-Stop values (0 […]
我运行一个网站,交通很多。 我使用nginx和php fast-cgi。 但是,当在浏览器中加载简单的php文档时,加载页面之前需要5-6秒的时间。 有时甚至会导致“404找不到”nginx错误。 在debian上使用“htop”时,我远不及使用服务器的资源。 发生什么了? 这是nginx吗? 它是PHP的快速CGI? 我不知道瓶颈在哪里。 我的nginxconfiguration的一个片段: 用户www-data www-data; worker_processes 2; 事件{ worker_connections 4048; } http { 包括mime.types; default_type application / octet-stream; 发送文件; #tcp_nopush在; keepalive_timeout 10; include / usr / local / nginx / sites-enabled / *; … } 我的fast-cgiconfiguration的一个片段: EXEC_AS_USER = WWW的数据 #FASTCGI-Listener的主机和TCP端口(默认:localhost:9000) FCGI_HOST =本地主机 FCGI_PORT = 9000 #环境variables,由PHP处理 PHP_FCGI_CHILDREN […]