我正在使用openvpn连接到其他服务器,问题是,我这样运行 openvpn configfile.ovpn …它locking我的shell,所以,如果我closures它,shell被closures,我正在寻找一种方法来初始化它作为守护进程,发送我的configuration文件,但我找不到任何,我看到参数 – configuration文件,但似乎我没有工作,我用它的方式…任何想法或方式来做到这一点? 我正在使用Linux Debian 6 谢谢 编辑:我的.ovpn文件是这样的: dev tap client proto tcp-client ca /etc/openvpn/ca.crt cert /etc/openvpn/client.crt key /etc/openvpn/client.pem tls-remote "/O=WatchGuard_Technologies/OU=Fireware/CN=Fireware_SSLVPN_Server" remote-cert-eku "TLS Web Server Authentication" remote someIP persist-key persist-tun verb 3 mute 20 keepalive 10 60 cipher BF-CBC auth MD5 float 1 reneg-sec 3660 nobind mute-replay-warnings auth-user-pass
我们的一个运行Debian Etch Squeeze(6.0.7)的networking服务器,我们经常保持安全升级(通常每周只有几个安全升级包),现在显示的安全升级包数量exception多: 284 packages upgraded, 113 newly installed, 51 to remove and 421 not upgraded. 怎么了? Debian可能迫使Etch用户升级到Lenny? 有任何想法吗? 编辑:服务器正在运行挤压,而不是蚀刻。 在我们的内部wiki中查找错误的页面。 # lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 6.0.7 (squeeze) Release: 6.0.7 Codename: squeeze 因此,@ptman是正确的: /etc/apt/sources.list指向从现在开始(2013年5月4日)是稳定的Debian Wheezy ,不再挤压 … 为了获得6.0.7的安全升级,需要编辑/etc/apt/sources.list并用oldstablereplacestable 。
由于昨天我一直在摔跤这个问题:无法从uwsgi加载configuration 当我谷歌,没有出现。 我想用一个非常简单的uwsgi.ini文件在nginx下运行UWSGI。 该文件被正确指向。 任何人都可以请解释这个错误是什么,以及如何可以诊断和修复它。 如果有更多的信息,我可以发布帮助,然后请只问。 问候, 詹姆士
我需要将一个小的二进制应用程序分发给有限的(大约20个)已知用户。 安装过程需要尽可能简单和用户友好 。 理想情况下,它是在命令行下载二进制文件并安装它的单个条目。 同样重要: 二进制是一个单独的文件,没有外部依赖。 二进制需要通过init.d挂钩到启动过程。 目标发行版对所有用户来说都是一样的(Debian)。 我正在考虑沿线,向用户提供一个单一的命令,即这样的事情: To install the app, please run this from the command line: wget https://myapp.com/binary.tgz; tar xvfz binary.tgz; sudo install.sh 我应该知道更多适用/更简单的解决scheme吗? (当然sudo somethingFromTheInternet互联网是一个“真正的”分布的安全问题,但我所有的用户是众所周知的(+知道我),用户数量是非常有限的(约20),所以我愿意交易易在这种情况下安装安全)
我一直试图让一个dovecot / postfix服务器跑起来为我的创业业务提供电子邮件,而且我也成为写得不好,过时的指南的受害者。 起初,我安装了Postfix和Dovecot,并select了一个空configuration,我自己configuration它。 在某个时候,我忘记了自己在做什么和configuration了什么,所以我决定apt-purge我安装的所有软件包,并重新开始。 尝试使用sudo apt-get install dovecot-imapd ,我sudo apt-get install dovecot-imapd以下错误: The following NEW packages will be installed: dovecot-imapd 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/425 kB of archives. After this operation, 565 kB of additional disk space will be used. Selecting previously […]
我的CakePHP控制台脚本在cron下执行有问题。 它抱怨缺lessMysql连接等。 经过一番调查,我发现由cron运行的php使用一个不同的php.ini文件相比,当我在terminal中运行它。 更奇怪的是在terminal中,php不使用cli config: PHP在terminal运行: configuration文件(php.ini)path:/ usr / local / lib 加载的configuration文件:/usr/local/lib/php.ini 扫描其他.ini文件:(无) 附加的.ini文件parsing:(无) 由cron运行的PHP: configuration文件(php.ini)path:/ etc / php5 / cli 加载的configuration文件:/etc/php5/cli/php.ini 在/etc/php5/cli/conf.d中扫描其他.ini文件 附加的.ini文件parsing:/etc/php5/cli/conf.d/memcache.ini, /etc/php5/cli/conf.d/mysql.ini, /etc/php5/cli/conf.d/mysqli.ini, /etc/php5/cli/conf.d/pdo.ini, /etc/php5/cli/conf.d/pdo_mysql.ini, /etc/php5/cli/conf.d/suhosin.ini, /etc/php5/cli/conf.d/xcache.ini 我不知道为什么它不使用相同的configuration文件。 我没有注意到在terminal的ENVvariables中有什么特别的地方,或者以cron的方式运行。
我可以使用哪个VNC服务器在无头Debian Wheezy盒子上运行graphics应用程序(即X客户端)? 通常我不需要在服务器上的graphics应用程序,但有时会有应用程序(例如固件更新实用程序),可悲的是需要一个graphics界面。
我需要安装git 1.8。*版本。 我添加了backports到我的sources.list; 通过apt-get remove git删除当前安装的apt-get remove git ; 执行apt-get update来更新我的软件包列表 aptitude show git仍然显示Version: 1:1.7.10.4-1+wheezy1 我做错了什么? 这是我的/etc/apt/sources.list: deb http://ftp.de.debian.org/debian/ wheezy main deb-src http://ftp.de.debian.org/debian/ wheezy main deb http://security.debian.org/ wheezy/updates main deb-src http://security.debian.org/ wheezy/updates main # wheezy-updates, previously known as 'volatile' deb http://ftp.de.debian.org/debian/ wheezy-updates main deb-src http://ftp.de.debian.org/debian/ wheezy-updates main # deb multimedia deb http://www.deb-multimedia.org wheezy main non-free […]
我正在尝试使用PHP安装IronWorker ,并且需要将Imagick PECL扩展或debian软件包的 URL添加到IronWorker .workerconfiguration中。 我已经find了上述链接上的Ubuntu 12.04包,但我不知道如何获得.deb文件的直接URL。 谁能帮忙? 通常可以安装这个 sudo apt-get install php5-imagick ,但由于我正在使用IronWorker,因此我需要直接链接到.deb文件。
我试图使用sudo visudo -f /etc/sudoers.d/abe添加一个新的sudoers文件。 我添加了内容: # Allow automatic update of abe matt ALL=(root) NOPASSWD: python /home/matt/token-abe/setup.py install –force 但是,当我尝试写作并退出时,我收到了“现在什么? 没有错误: $ sudo visudo -f /etc/sudoers.d/abe [sudo] password for matt: What now? e What now? 我正在使用Debian 7。