我最近升级到PHP 5.4,但它不适合我,所以我想我会删除PHP 5.4并重新安装PHP 5.3。 我卸载了php5.4,从sources.list文件中删除了dotdeb源文件,运行apt-get update ,重新安装了php5,但是它仍然从dotdeb安装了php 5.4,而不是使用原始的debian版本库。 这就是dpkg -l | grep php dpkg -l | grep php返回 # dpkg -l | grep php ii libapache2-mod-php5 5.4.4-15 server-side , HTML-embedded scripting language (Apache 2 module) rc libapache2-mod-php5filter 5.4.16-1~dotdeb.0 server-side , HTML-embedded scripting language (apache 2 filter module) rc libapache2-mod-suphp 0.7.1-1 Apache2 mod ule to run […]
我在这里和其他地方读了很多答案,但我找不到合适的答案。 我尝试了几个解决scheme,但没有任何工作 我有一个接口eth0的服务器。 我有多个IP,但是我无法让他们工作。 也许你可以帮助我。 etc / network / interfaces(我在其他网站上发现了这个解决scheme): # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo eth0 iface lo inet loopback # The primary network interface auto eth0 allow-hotplug eth0 iface eth0 […]
当我发现8GB不足时,我已经分配了15GB的精简configuration。 现在debian guest不能识别大小的变化。 root@debian7-x64:~# lvdisplay — Logical volume — LV Path /dev/debian7-x64/root LV Name root VG Name debian7-x64 LV UUID EU6mg0-XTXC-ci3D-bQJi-7XN6-r8Hp-SYxcj0 LV Write Access read/write LV Creation host, time debian7-x64, 2013-06-25 12:02:49 +0530 LV Status available # open 1 LV Size 7.39 GiB Current LE 1892 Segments 1 Allocation inherit Read ahead sectors auto – […]
我在Debian上安装了Postfix&Dovecot。 然后我尝试按照本指南使用SMTPauthentication: http://www.postfix.org/SASL_README.html 不幸的是,下面的testing尾巴: telnet localhost 25 auth plain <base64 encoded usernaem/password> 我们得到一个“535 5.78错误:身份validation失败:” 在var / log / mail.warn中,我们需要一个新行:“warning:localhost [127.0.0.1]:SASL PLAIN身份validation失败:” 不幸的是,它并没有说出什么问题。 有任何想法吗?
当试图安装ntp (因为我的服务器时钟是错误的),它只是puked这个大规模的错误。 任何想法如何解决这个问题? root@pan-prodweb01:~# apt-get install ntp Reading package lists… Done Building dependency tree Reading state information… Done ntp is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 75 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do […]
我已经在我的基于Debian Squeeze VPS服务器上安装了Postfix和Courier 。 我的服务器使用MySQL数据库。 每个守护进程都能正常工作,但无法使用POP3和IMAPlogin到我的帐户。 我的桌面上的IceDove(Thunderbird)说:用户名或密码无效,但我确定用户名和密码都是正确的。 我已经多次检查过,我已经多次更改密码,结果总是一样的。 前段时间我在其他服务器上安装了类似configuration的邮件服务器。 唯一的区别是我没有使用SSL 。 我曾尝试通过mailx发送电子邮件来设置地址,并正确传送。 (我已经在邮件目录中检查过)。 在我的/var/log/mail.log我有: Jul 21 09:18:00 kolodziej pop3d: Connection, ip=[::ffff:46.113.168.72] Jul 21 09:18:01 kolodziej postfix/smtpd[6357]: cannot load Certificate Authority data: disabling TLS support Jul 21 09:18:01 kolodziej postfix/smtpd[6357]: warning: TLS library problem: 6357:error:02001002:system library:fopen:No such file or directory:bss_file.c:126:fopen('/etc/postfix/cacert.pem','r'): Jul 21 09:18:01 kolodziej postfix/smtpd[6357]: warning: […]
我在Debian / kFreeBSD上遇到了桥接networking接口的问题。 我的主要目标是创build2-4个分接口,并用两个物理接口来连接它们。 / etc / network / interfaces中的语法与Linux版本有点不同。 目前我使用以下(在Linux Debian上) (只有部分输出) auto tap0 iface tap0 inet manual pre-up openvpn –mktun –dev tap0 post-down openvpn –rmtun –dev tap0 auto tap1 iface tap1 inet manual pre-up openvpn –mktun –dev tap1 post-down openvpn –rmtun –dev tap1 auto br0 iface br0 inet static bridge_ports tap0 tap1 eth1 […]
我刚刚安装了nginx,并按照官方网站上的指导,使用php5-fpm进行设置,但它不能正常工作。 甚至没有默认网站,没有PHP是在我的服务器以外的工作。 试试listen = 127.0.0.1:7777和listen = /var/run/php5-fpm.sock两者都不起作用。 我可以在我的服务器上使用lynx访问http://localhost ,但不能从其他地方访问(显然是使用外部IP)。 是的, php5-fpm deamons正在运行,是的端口(80和7777)被打开。 不要使用php-cgi 。 我的configuration: user www-data; worker_processes 4; pid /var/run/nginx.pid; events { worker_connections 768; # multi_accept on; } http { ## # Basic Settings ## sendfile on; tcp_nopush on; tcp_nodelay on; keepalive_timeout 65; types_hash_max_size 2048; # server_tokens off; # server_names_hash_bucket_size 64; # server_name_in_redirect off; […]
我想在每次Debian启动时启动一个shell脚本。 它应该启动一个应用程序等等。 我可以在哪里添加这些信息?
我正在尝试设置dynamicDNS服务(个人使用)。 类似于dynds.org。 到目前为止做的事情: – 委托example.org外部dns服务器在ovh(我的箱子) – 安装绑定接受example.org – 添加子域home.example.org绑定configuration文件与TTL 60 目标是: – home.example.org应该经常更新(每分钟就像dyndns服务)与我的家庭networking的目标IP地址(dynamicIP地址) – 我会赶上从我的家庭networkingping,保存到区域文件并在我的dns服务器上执行rndc reload example.org – 它应该在全世界传播(就像dyndns) 问题是:“正确的”区域文件应该如何确保它不会被caching超过一分钟,并且所有的世界DNS服务器都会向我的服务器询问当前的IP。 问题是,当我dig flies.dyndns-home.com any我可以看到,TTL下降: flies.dyndns-home.com. 19 IN A XXXX flies.dyndns-home.com. 3 IN A XXXX 但是我的域名并非如此: home.example.org. 60 IN A XXXX home.example.org. 60 IN A XXXX 总是60。 任何帮助,将不胜感激。