Articles of Debian

Debian系统时间问题(等待时钟滴答超时)

我刚刚安装了一台新服务器,并使用以下命令更改了时区: dpkg-reconfigure tzdata 系统时钟现在正确,但/sbin/hwclock –systohc不起作用: select() to /dev/rtc to wait for clock tick timed out date命令,例如, date -s 14:30正常工作。 任何想法如何解决它在一个简单的方法?

Debian和内核版本

Debian正在运行2.6.32-5。 最近的内核似乎已经解决了一些内核软locking问题,我想尝试一下。 尽pipe…这些补丁似乎不在Debian稳定版本库中。 # dpkg -l linux-image-2.6.32-5-686 Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Description +++-======================-================================================================================== ii linux-image-2.6.32-5-6 2.6.32-44 Linux 2.6.32 for modern PCs 为什么当内核是2.6.32-5时,Debian的版本是2.6.32-44? 升级到Debian版本2.6.32-45(2.6.32-5内核)的版本是什么购买的? 我似乎无法find这个升级/修复/补丁的Debian发行说明。 我认为Debian不支持内核补丁。 我可以只下载内核,模块和依赖项的最新deb和dpkg -i吗? 当然,我不会是一个“稳定的”内核,但至less我的系统可能不会做软locking。 任何帮助,将不胜感激。 指向这个特定的Debian文档将是理想的。 我在这里错过了一些东西。

新的Debian安装/设置用户每个Babushka

我发布了这个问题在babushka谷歌组 ,但我从5天没有回应。 我会在这里尝试我的运气: 在一个shiny的新Debian盒子上用Babushka设置一些用户的正确方法是什么? 我只想知道这个工具是一个好的做法。 比方说,我想要一个用户“foobar”,与rvm安装。 我的主机上只有root用户,并且安装了Babushka。 我应该首先创buildfoobar用户手册,并通过Babushka我的rvm配方与他一起运行? 或者我应该运行babushka作为根,让这个工具创build用户和安装rvm他们? (我不想要一个全球rvm安装,只为foobar用户)

无法在debian压缩包上安装数据包mysql-workbench-gpl

如果我尝试安装在debian挤压mysql-workbench-gpl我得到以下错误消息(它抱怨未解决的依赖项): Probieren Sie »apt-get -f install«, um dies zu korrigieren: Die folgenden Pakete haben unerfüllte Abhängigkeiten: mysql-workbench-gpl : Hängt ab von: libatkmm-1.6-1 (>= 2.22.1) ist aber nicht installierbar Hängt ab von: libcairomm-1.0-1 (>= 1.6.4) soll aber nicht installiert werden Hängt ab von: libctemplate0 soll aber nicht installiert werden Hängt ab von: libgdk-pixbuf2.0-0 (>= 2.22.0) ist […]

仅从一个内部服务器反向代理

我已经configuration了一个反向代理服务器,并正常工作一个内部服务器,例如我们的邮件服务器。 现在,我想知道是否可以为一个服务器/应用程序(在本例中是我们的Web Intranet)configuration反向代理。 我们的问题是Intranet调用同一个Intranet服务器和另一个内部服务器内的另一个应用程序,我知道发布这个资源的唯一方法是在我们的dmz apache中为所有apllications服务器做一个反向代理,但是我喜欢从我们的DMZ反向apache只有内部网将被调用,其他应用程序将被内部网服务器调用,而不是反向代理。 为了安全起见,我喜欢用这个系统进行configuration,只允许外部访问一台服务器。 我configuration了Debian Squeeze和apache 2.2 有可能的? 怎么样? 我会尝试提供更多关于我的环境和我想要做的事情的信息。 我有一个服务器在dmz有一个域发布DNSlogginghttps://intranet.domain.com与Apache 2configuration为本地内部网服务器( https:// local_ip / intranet / )在dmz阿帕奇configuration的反向代理: <Proxy /intranet/> ProxyHTMLLogVerbose On ProxyHTMLURLMap ttps://local_ip/intranet/ /intranet/ ProxyHTMLURLMap / /intranet/ # ProxyPass ttps://local_ip/intranet/ ProxyPassReverse ttps://local_ip/intranet/ </Proxy> (/ app3)ttps:// local_ip / app2作为(/ app2)ttps:// local_ip / app3作为(/ app3)调用另一个应用程序调用相对pathttps:// local_ip / app1应用程序位于其他服务器上,并使用绝对path从Intranet服务器调用,例如:ttps:// server4 / app4 ttps:// server5 / […]

Debian:授予用户权限

我有一个万维网数据,当我安装Apache时自动设置。 我有一个ftpuser,我configuration自己使用ProFTPd。 我使用MySQL数据库和使用这个用户login的用户。 问题是,PHP与PHP的工作,因为它应该,但我不能用FTP添加文件。 我试图做chmod 777 mysite.com,它的工作,但现在Apache给了我一个500内部错误。 我想chmod不是正确的路要走。 我删除了我的文件夹,并做了一个新的。 我如何给予ftpuser读写权限,而www-data不应该放弃权限。 我没有太多有关Linux命令行的经验。 谢谢!

PHP include_path不起作用

我在Debian Squeeze上运行了/home/www/example.com/www上的http://www.example.com/上的文档。 /home/www/example.com/ www/ index.php php/ include_me.php 在php.ini中,我已经取消注释并更改为: include_path =".:/home/www/example.com" 在www的脚本index.php中,我有require_once("/php/include_me.php") 。 我从PHP获得的输出是: Warning: require_once(/php/include_me.php) [function.require-once]: failed to open stream: No such file or directory in /home/www/example.com/www/index.php on line 2 Fatal error: require_once() [function.require]: Failed opening required '/php/include_me.php' (include_path='.:/home/www/example.com') in /home/www/example.com/www/index.php on line 2 正如你所看到的,包含path根据错误正确设置。 但是如果我做require_once("../php/include_me.php"); , 有用。 因此,包含path必须有错误。 有谁知道我能做些什么来解决它?

Debian + ProFTPD + LDAP不正确的密码问题

我已经为ProFTPDconfiguration了LDAPconfiguration,并且已经修改了modules.conf文件以包含LDAP模块。 但是,每次我用FileZillalogin,我得到530login错误。 它为所有用户执行此操作,除了密码在本地定义以及在LDAP中定义的用户。 完全相同的设置在我的CentOS服务器上工作正常,我已经尝试清除configuration文件后重新安装它。

服务perl-fcgi启动,无法识别的服务

从http://supportex.net/2011/11/migrating-otrs-apache-nginx/ 我有一个文件/usr/local/bin/fastcgi-wrapper.pl和/lib/systemd/system/perl-fcgi.service 。 perl-fcgi.service有以下内容: [Unit] Description=otrs-index.pl [Service] ExecStart=/usr/local/bin/fastcgi-wrapper.pl Type=forking User=otrs Group=nginx Restart=always [Install] WantedBy=multi-user.target 启用服务后 systemctl enable perl-fcgi.service 我跑 service perl-fcgi start 但是我收到消息 perl-fcgi: unrecognized service 为什么服务不启动? 我的服务器在Debian 6.0上运行。

PPTP Linux服务器 – Linux客户端正常 – Windows客户端无法连接到某些Web服务器

我的VPN办公服务器有一个神秘的问题。 我已经在Debin 6 Squeeze上安装了PPTP服务器并启用了forwardind,因为我需要使用我们的办公室IP地址连接到一些服务器。 当我从Linux客户端(Ubuntu和Android)连接时,一切就像一个魅力。 我可以访问该服务器上的办公室服务器和服务,并且可以使用我的办公室IP地址连接到互联网上的所有服务器。 但是,当我从Windows客户端(testingXP和7)连接,我可以访问办公室服务器和服务,只有一些在互联网上的服务器。 Ping可以运行在每台服务器上,但是我只能访问其中的一部分。 这是我的configuration文件: pptpd.conf : option /etc/ppp/pptpd-options logwtmp localip 192.168.0.2 remoteip 192.168.0.10-20 PPTPD选项 name pptpd refuse-pap refuse-chap refuse-mschap require-mschap-v2 require-mppe-128 ms-dns 8.8.8.8 ms-dns 8.8.4.4 proxyarp nodefaultroute lock nobsdcomp 谢谢你的帮助…