我在一台机器上完全运行Debian Squeeze。 然而,当运行uname我看到我在一个非常古老的内核: $ uname -r 2.6.32-5-amd64 Debian Squeeze正常吗? 我应该升级吗? 如果是这样,怎么样?
由于file upload模块在nginx 1.2.1版本中退出,但从1.3.x版本开始被忽略 ,所以我想在Debian上将当前的nginx 1.4.2降级到1.2.1,这样我就可以很容易地创build这个模块了。 我想知道什么是最容易做的降级。 另外我想知道是否会有一些严重的安全缺陷,因此不build议。
显然,我得到了Debian Squeeze(Debian 6),使用debootstrap和chroot在VPS上工作。 随后安装的harden,exim4,mysql-server软件包部分失败。 相关信息: insserv: warning: script 'S10vzquota' missing LSB tags and overrides insserv: warning: script is corrupt or invalid: /etc/init.d/../rc6.d/S00vzreboot insserv: warning: script 'vzquota' missing LSB tags and overrides insserv: There is a loop between service vzquota and stop-bootlogd if started insserv: loop involving service stop-bootlogd at depth 2 insserv: loop involving service […]
我试图从Debian 6的源代码编译MySQL 5.5.15,并使用“老式”的方法:即在BUILD中运行autorun.sh,然后用相当多的选项运行./configure,我试图开始这个过程,这里是我所看到的: InnoDB: Reading tablespace information from the .ibd files… InnoDB: Restoring possible half-written data pages from the doublewrite InnoDB: buffer… InnoDB: Doing recovery: scanned up to log sequence number 1595675 110816 9:36:06 InnoDB: Starting an apply batch of log records to the database… InnoDB: Progress in percents: 17 18 19 20 21 22 […]
有人build议将我的Debian Squeeze内核更新到更新的版本。 我们select2.6.38,并使用Debian Backports安装linux-image-2.6.38-bpo.2-amd64,遵循下面的总结。 nano /etc/apt/sources.list 将下面的行添加到文件的底部。 deb http://backports.debian.org/debian-backports squeeze-backports main 更新存储库 apt-get update 安装backport和内核。 apt-get install -t squeeze-backports linux-image-2.6.38-bpo.2-amd64 重新启动,瞧! – 系统显示正在运行2.6.38。 现在,几天后,我做了一个 aptitude update aptitude safe-upgrade 并得到以下内容: The following packages will be upgraded: aptitude base-files ca-certificates grub-common libgssapi-krb5-2 libgssrpc4 libk5crypto3 libkadm5clnt-mit7 libkadm5srv-mit7 libkdb5-4 libkrb5-3 libkrb5support0 libpcap0.8 libssl0.9.8 linux-image-2.6.32-5-amd64 openssh-client openssh-server openssl tzdata usbutils […]
我有一个Debian Stable,运行正常的Apache2服务器。 它工作正常否则,它只是没有任何与.htaccess我把目录( /var/www/admin/ 。它说: AuthType Basic AuthName admin AuthUserFile /var/www/admin/.htpasswd Require valid-user 在同一个文件夹中有.htpasswd文件。 我检查了/var/log/apache/error.log ,但没有显示任何东西。 我加了一个 <Directory /var/www/> AllowOverride All </Directory> 到apache.conf ,但是这也没有改变任何东西。 我怎样才能使这个工作?
Filesystem Size Used Avail Use% Mounted on /dev/sda1 10G 1.1G 8.4G 11% / tmpfs 983M 0 983M 0% /lib/init/rw udev 10M 140K 9.9M 2% /dev tmpfs 983M 0 983M 0% /dev/shm /dev/sda2 914G 200M 868G 1% /home 我正在运行Debian 6,并希望从sda2中增加600G的sda1的大小。 我怎样才能做到这一点,而不会搞乱分区?
在debian挤压服务器上,我在eth0(eth0和eth0:1)上有2个IP。 打开TCP连接时,服务器默认使用eth0:1 IP。 但是我希望它使用主(eth0)IP,因为我希望另一个只用于(监听)守护进程。 #/etc/network/interfaces auto eth0 iface eth0 inet static address 92.xxx.xxx.92 netmask 255.255.255.192 network 92.xxx.xxx.64 broadcast 93.xxx.xxx.127 gateway 92.xxx.xxx.65 auto eth0:1 iface eth0:1 inet static address 108.xxx.xxx.146 netmask 255.255.255.192 gateway 108.xxx.xxx.129 #ip route show 108.xxx.xxx.128/26 dev eth0 proto kernel scope link src 108.xxx.xxx.146 92.xxx.xxx.64/26 dev eth0 proto kernel scope link src 92.xxx.xxx.92 default […]
我最近在我的开发机器上安装了Debian squeeze,每一件事情都很顺利我昨天能够连接到互联网,我把硬盘移到另一台机器上,我无法连接到Debian的互联网,但是我可以连接到它使用Windows XP。 我尝试了以下命令,但没有使用不工作 /etc/init.d/networking restart /var/log/syslog doesn't show any error ping www.google.com results no host found 更多细节 使用ifconfig lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:39 errors:0 dropped:0 overruns:0 frame:0 TX packets:39 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:13737 (13.4 KiB) TX bytes:13737 […]
不知何故,我在crontab中写的东西现在正如我所愿。 更确切地说,我认为这不是执行我的命令。 所以现在我想知道是否有一个方法来得到一个计划什么crontab,它描述了他今天要做的。 但不是通过自己阅读/ etc / crontab ,我想对cron说:*给我一个你今天的计划报告*所以我可以看到,如果我只是为了加载我写入他的东西计划,或者如果我不得不在其他地方寻找其他的理由。 如果有更好的做法,请注意! 当我亲自执行命令时,没有任何问题。