Articles of Debian

Rkhunter昨晚触发了可能感染的警告。 接下来是什么?

昨天晚上,警报引发了以下警告: [04:10:23] Warning: Network TCP port 32982 is being used by /usr/lib/apache2/mpm-prefork/apache2. Possible rootkit: Solaris Wanuk Use the 'lsof -i' or 'netstat -an' command to check this. [04:10:23] Checking for TCP port 33369 [ Not found ] [04:10:23] Checking for TCP port 47107 [ Not found ] [04:10:23] Checking for TCP port 47018 [ Not […]

Apache2 configtest分段错误

无论出于什么原因,我设法搞砸了Apache相当糟糕(Ubuntu 12.04)。 下面的输出抱怨configtest失败和分段错误。 但是,我在/var/log/apache2/error.log找不到任何东西。 我怎样才能debugging这个“configtest”? jeroen@jeroen-ubuntu:~$ sudo service apache2 stop * Stopping web server apache2 * The apache2 configtest failed, so we are trying to kill it manually. This is almost certainly suboptimal, so please make sure your system is working as you'd expect now! … waiting [ OK ] jeroen@jeroen-ubuntu:~$ sudo service apache2 start […]

隧道层2 ssh

好的,我试图把我以前的问题分解成几部分: 这是我的参考: https : //help.ubuntu.com/community/SSH_VPN 隧道ubuntu – > debian 1。 ssh -i green.pem root @ $ HOST 回声1 | tee / proc / sys / net / ipv4 / ip_forward echo“PermitTunnel yes”> / etc / ssh / sshd_config /etc/init.d/ssh重启 ctrl-d注销 2。 sudo ssh -i green.pem root @ $ HOST -w 0:0 -o Tunnel =以太网 **login,没有错误 […]

如何阻止IP表的一个服务器自己的网卡的MAC地址传出stream量?

我有一个连接到交换机的5个nics服务器,并运行GNS3(思科路由器模拟器)。 我需要在服务器中阻止nics在第2层级别发送的数据包(nics没有configurationip),所以我必须阻止ip表,每个nic的输出stream量都以自己的mac地址作为源。 我已经尝试了这样的命令,但它不工作iptables -I“CHAIN-NAME”-m mac –mac-source“MAC-ADDRESS”-j“ACTION” 我正在使用DEBIAN 7

推荐分区Debian7的Web服务器

我是web开发人员,现在我正在运行一个VPS。 我总是在我自己的机器上工作,我已经处理了各种Linux发行版,但从来没有生产服务器。 我已经创build了一个1Gb RAM和100Gb硬盘的VPS来启动(如果需要的话,它们可以扩大到100GB的块)。 在这个服务器上,我将安装在Symfony2(PHP)中开发的五个应用程序。 小于1Gb的一切,但可以增长取决于用户上传的video/照片。 这是供公司内部使用的。 对。 我将在Debian7中安装LAMP,但你认为这是一个好的分区分配? 这样的事情会好起来的? /(Root)5Gb /(Swap)2Gb / tmp 5Gb / home 5Gb / var其余 我有另一台服务器,所有的虚拟主机托pipe在/ home,但我知道,在Debian他们托pipe在/ var / www是这个原因分配剩余的磁盘 还有一件事,我安装graphics环境? 作为初学者,我喜欢有东西与Windows连接的想法,但我通过SSHpipe理得很好。 非常感谢你提前 PD对不起,我可怜的英语。

xfs_growfs错误:最大是18350080?

我有一个70 GB的文件系统从一个环回文件挂载需要更多的空间。 我把这个文件的大小从75161928000增加到75200000000(开始保守) sudo truncate -s 75170000000 preproduction-7.1.1.xfs 但试图用“xfs_growfs / mnt / doc.neu /”来扩展xfs文件系统没有任何效果,用“-d”标志返回“数据大小不变,跳过”,并使用-D标志只添加一个块它说,它太大了 $ sudo xfs_growfs -D 18350081 /mnt/doc.neu/ meta-data=/dev/loop0 isize=256 agcount=5, agsize=3932160 blks = sectsz=512 attr=2 data = bsize=4096 blocks=18350080, imaxpct=25 = sunit=0 swidth=0 blks naming =version 2 bsize=4096 ascii-ci=0 log =internal bsize=4096 blocks=7680, version=2 = sectsz=512 sunit=0 blks, lazy-count=1 realtime =none extsz=4096 […]

依赖问题安装postgresql

以下是我在Debian服务器上安装postgresql的步骤: 添加backports deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free到/etc/apt/sources.list 运行sudo apt-get update 运行apt-get -t squeeze-backports install postgresql-9.1 我在步骤#3得到依赖性错误: The following packages have unmet dependencies: postgresql-9.1 : Depends: postgresql-common (>= 115~) but it is not going to be installed 当我添加添加postgresql-common并运行apt-get -t squeeze-backports install postgresql-9.1 postgresql-common ,出现以下依赖性错误: The following packages have unmet dependencies: postgresql-common : Breaks: logrotate (>= […]

Samba服务器 – 以root用户而非普通用户身份创build的文件

我有一个安装了/share文件夹的Samba(3.6)服务器的Debian Wheezy,我不知道为什么,但是以root用户而不是用户 (uid = 1000)创build文件,这里是我的conf: [global] server string = %h server map to guest = Bad User obey pam restrictions = Yes pam password change = Yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . syslog = 0 log file = /var/log/samba/log.%m max log size = 1000 dns proxy […]

一个衬里显示哪个debian软件包从一个系统中缺less比较哪一个?

我正在寻找一个单行命令,我可以使用它来列出新安装的系统中缺less的所有deb软件包,这些软件包安装在参考系统(旧版本)上。

升级到Debian 7:Postfix身份validation失败

我正在升级各种Debian 6服务器到Debian 7.有一些小问题,但这是一个展示塞尔。 在Debian上,Postfix运行在chroot环境中。 该环境设置正确(它在Debian6上工作正常)。 我只使用debian版本库的稳定版本中的软件 相关的(部分)configuration(匿名): 在/ etc / default / saslauthd中: START=yes DESC="SASL Authentication Daemon" NAME="saslauthd" MECHANISMS="ldap" MECH_OPTIONS="" THREADS=5 PARAMS=" -m /var/spool/postfix/run/saslauthd -O /etc/saslauthd.conf" OPTIONS=" -m /var/spool/postfix/run/saslauthd -O /etc/saslauthd.conf" PIDFILE="/var/spool/postfix/run/saslauthd/saslauthd.pid" 在/etc/saslauthd.conf中: # With multiple servers, separate URIs with a space ldap_servers: ldaps://my.ldap.server # Don't use SASL to connect to LDAP!! (Use SSL) #ldap_version: […]