我需要在我的Debian Squeeze服务器中使用nginx上传模块。 我已经安装了nginx和nginx-extras。 nginx版本是1.4.2。 从nginx-extras的包描述中,似乎应该包含上传模块,然而nginx -V给了我这个列表: nginx version: nginx/1.4.2 TLS SNI support enabled configure arguments: –prefix=/usr/share/nginx –conf-path=/etc/nginx/nginx.conf –error-log-path=/var/log/nginx/error.log –http-client-body-temp-path=/var/lib/nginx/body –http-fastcgi-temp-path=/var/lib/nginx/fastcgi –http-log-path=/var/log/nginx/access.log –http-proxy-temp-path=/var/lib/nginx/proxy –http-scgi-temp-path=/var/lib/nginx/scgi –http-uwsgi-temp-path=/var/lib/nginx/uwsgi –lock-path=/var/lock/nginx.lock –pid-path=/var/run/nginx.pid –with-pcre-jit –with-debug –with-file-aio –with-http_addition_module –with-http_dav_module –with-http_flv_module –with-http_geoip_module –with-http_gzip_static_module –with-http_gunzip_module –with-http_image_filter_module –with-http_mp4_module –with-http_perl_module –with-http_random_index_module –with-http_realip_module –with-http_secure_link_module –with-http_stub_status_module –with-http_ssl_module –with-http_sub_module –with-http_xslt_module –with-ipv6 –with-mail –with-mail_ssl_module –add-module=/usr/src/nginx/source/nginx-1.4.2/debian/modules/headers-more-nginx-module –add-module=/usr/src/nginx/source/nginx-1.4.2/debian/modules/nginx-auth-pam –add-module=/usr/src/nginx/source/nginx-1.4.2/debian/modules/nginx-cache-purge –add-module=/usr/src/nginx/source/nginx-1.4.2/debian/modules/nginx-dav-ext-module –add-module=/usr/src/nginx/source/nginx-1.4.2/debian/modules/nginx-development-kit –add-module=/usr/src/nginx/source/nginx-1.4.2/debian/modules/nginx-echo –add-module=/usr/src/nginx/source/nginx-1.4.2/debian/modules/ngx-fancyindex […]
我是debian系统的初学者。 我遇到了问题 – 在我的VirtualBox Debian系统上,我已经安装了mysql和apache2(两个简单的命令,可能会出错),但是安装apache后,192.168.0.100上的默认网页导致未find状态。 我没有访问error.log文件的权限。 有人可能会提出什么问题? 在此先感谢您的帮助。
我试图configuration一台机器,以便它会发送给我一封电子邮件,如果其中一个cronjobs输出的东西,以防万一错误。 我正在使用Debian Wheezy。 Cron正常工作(没有电子邮件function)。 安装并configurationmsmtp。 已经将/ usr / {bin | sbin} / sendmail链接到/ usr / bin / msmtp。 我可以使用以下方式发送邮件: echo "test" | mail -s "subject" [email protected] 或通过执行: echo "test" | /usr/sbin/sendmail 没有符号链接(/ usr / sbin / sendmail),cron会告诉我: (CRON) info (No MTA installed, discarding output) 用我得到的符号链接: (root) MAIL (mailed 1 byte of output; but got status […]
我想阻止服务器在挂起时重新启动提示root密码或ctrl + D在发生磁盘事件的情况下。 下面的指南显得过时了,因为在我的Debian Wheezy上没有/boot/grub/menu.lst文件,但那又怎样? http://www.tomatosoft.biz/blog/2012/01/21/avoid-boot-stopper-give-root-password-for-maintenance/
我正在尝试为主pipe安装debian安装的init脚本。 insserv: Service \$remote_fs has to be enabled to start service supervisor insserv: Service \$syslog has to be enabled to start service supervisor insserv: exiting now! update-rc.d: error: insserv rejected the script header init脚本的完整内容在这里: #! /bin/sh ### BEGIN INIT INFO # Provides: supervisor # Required-Start: \$remote_fs \$syslog # Required-Stop: \$remote_fs \$syslog # Default-Start: 2 3 […]
我有一个远程Windows 7机器上运行的FileZilla服务器。 我有一个在debian 7上安装了一个slave的jenkins master。 如果我ssh到debian7奴隶,做一个ftp / put到filezilla服务器,我可以上传一个test.txt文件就好: $ ftp myfileZillaFtp 21 Connected to myfileZillaFtp. 220-FileZilla Server version 0.9.41 beta 220-written by Tim Kosse ([email protected]) 220 Please visit http://sourceforge.net/projects/filezilla/ Name (myfileZillaFtp:jenkins): admin 331 Password required for admin Password: 230 Logged on Remote system type is UNIX. ftp> cd test 250 CWD successful. "/test" is current […]
我公司的虚拟主机提供商有一个邮件服务器,每个月发送300封邮件的限制,所以想法是继续使用托pipe邮件的邮件caching,但build立一个本地的Debian服务器上只有发送后缀。 这个想法是为托pipe服务器的用户configurationoutlook或thunderbird作为POP3,但邮件将使用我的本地postfix服务器发送具有静态IP。 这是可能的吗? 如果是这样,任何想法如何做到这一点? 我一直在四处搜寻,但找不到任何东西….
当我运行cyrus-imapd-2.4.17-caldav-beta9时 ,出现以下错误: In file included from httpd.c:68:0: httpd.h:48:25: fatal error: libxml/tree.h: No such file or directory compilation terminated. 我正在尝试安装支持日历的testing版本。 我已经安装了libxml2-dev。 apt-get install libxml2-dev 我的操作系统是Debian 7。 我忘了什么
我尝试安装valgrind使用, apt-get install valgrind 下载软件包后,得到以下错误, Setting up tzdata (2013d-0squeeze1) … .: 9: Can't open /usr/share/debconf/confmodule dpkg: error processing tzdata (–configure): subprocess installed post-installation script returned error exit status 127 configured to not write apport reports Errors were encountered while processing: tzdata E: Sub-process /usr/bin/dpkg returned an error code (1) 请帮我解决这些问题。 我在Debian-Squeeze上
我在Debian上创build了一个基本的路由器,这个路由器连接到两个ISP地址是dynamic的。 我不需要绑定,我只需要一些方法来检测WAN1何时closures,并自动故障切换到WAN2(或反向) 我已经看到很多关于如何在有静态IP /网关的情况下执行此操作的文档,但是如果通过DHCP设置了IP /网关,则不能。 我真的没有任何代码可以显示,但总的来说,它会从这样的事情开始,我假设: 的/ etc /networking/接口 #loopback,etc #LAN auto eth0 iface eth0 inet static address 192.168.1.1 netmast 255.255.255.0 network 192.168.1.255 #WAN1 / ISP1 auto eth3 iface eth3 inet dhcp up #add iptables/nat/routing? down #?? #WAN2 / ISP2 auto eth4 iface eth4 inet dhcp up #add iptables/nat/routing? down #??? 感谢您的任何帮助,或指针!