服务器问题集锦,包括 Linux(Ubuntu, Centos,Debian等)和Windows Server服务器
我尝试安装在我的debian服务器上的php梨包,但我得到了跟随错误输出。 :~# sudo apt-get install php-pear Reading package lists… Done Building dependency tree Reading state information… Done The following package was automatically installed and is no longer required: php5-suhosin Use 'apt-get autoremove' to remove them. Suggested packages: php5-dev The following NEW packages will be installed: php-pear 0 upgraded, 1 newly installed, 0 to remove and […]
我在我的ubuntu vps中使用Postfix,我有2个IP可用。 我希望我的后缀可以访问我的其他ips,并随意使用它们。 我怎样才能做到这一点? 例如:主IP:66.66.66.66其他IP:66.66.66.67秒ip:66.66.66.68
这是一个function或限制相比,普通的单用户Windows 7/8? 有没有办法让一个用户可以访问整个CPU资源的50%,75%来运行一个软件/进程?
我们已经在虚拟化(OpenVZ)环境中成功地使用了CSF,并结合了venet和桥接接口,所以我们可以使用公有IP +本地寻址的虚拟系统。 Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.0.0.100 0.0.0.0 255.255.255.255 UH 0 0 0 venet0 xxx.xxx.xxx.24 0.0.0.0 255.255.255.255 UH 0 0 0 venet0 xxx.xxx.xxx.0 0.0.0.0 255.255.255.0 U 0 0 0 vmbr0 10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 vmbr10 0.0.0.0 xxx.xxx.xxx.254 0.0.0.0 UG 0 0 0 vmbr0 我们通过一个iptables规则来路由“本地”ips的stream量: […]
我安装了Debian的vServer(重要的是因为我不知道Debian是如何安装和/或构build的)。 输出~# uname -r : 2.6.26-2-xen-amd64 。 在执行(先安装一些其他的3.2版本的内核后) ~# apt-get install xen-linux-system-3.2.0-4-amd64并在~# update-grub和~# reboot ,内核版本似乎是不变。 为什么? ~# dpkg -l | grep xen ~# dpkg -l | grep xen给(重新格式化): libxen-4.1 (4.1.4-2) libxenstore3.0 (4.1.4-2) xen-hypervisor-4.1-amd64 (4.1.4-2) xen-linux-system-3.2.0-4-amd64 (3.2.35-2) xen-system-amd64 (4.1.4-2) xen-utils-4.1 (4.1.4-2) xen-utils-common (4.1.4-2) xenstore-utils (4.1.4-2) ~# cat /boot/grub/grub.cfg给出: # # DO NOT EDIT THIS FILE # […]
gutenberg.org根据http://www.gutenberg.org/error403.php阻止访问所有托pipe服务 如何做到这一点? 有一个主机ips列表? 另外,这些会被添加到脑脊液?
我试图添加一个新的网卡到已安装Linux的机器上。 但我的问题是,我不能重新启动Linux主机来检测新的网卡,有没有解决方法? 我知道,Linux支持添加新的磁盘,而无需重新启动扫描scsi总线。 任何想法,如何扫描新的networking卡? 内核版本= 2.6.18-308.el5
我有一个search和谷歌,并find方法来监测每个虚拟主机的带宽。 我需要的是一种方法来监视我的文档根的子文件夹的传出带宽(并最终挂起)。 (我有cron运行一个全球带宽检查器)。 /srv/www/htdocs/user1files /srv/www/htdocs/user2files 我不想要虚拟主机,因为我不想重新启动或“重新加载”Apache,每次添加“新用户”。 我在想,Apache的访问日志可能会提供一种使用awk的方法来将所有/ username1 / 10.65.10.77 – – [10/Mar/2013:10:20:17 +0000] "GET /user1files/upload.php HTTP/1.1" 200 10945 10.65.10.77 – – [10/Mar/2013:10:20:17 +0000] "GET /user1files/styles.css HTTP/1.1" 304 – 提前谢谢了!
我很新的Linux服务器pipe理,我有一个Linux服务器,具有以下configuration: Distributor ID: Debian Description: Debian GNU/Linux 6.0.6 (squeeze) Release: 6.0.6 Codename: squeeze PHP version: 5.4.12-1~dotdeb.1 我正在尝试安装xdebug,并在xdebug网站()上使用了该向导。 Output of xdebug Xdebug installed: no Server API: Apache 2.0 Handler Windows: no Zend Server: no PHP Version: 5.4.12-1 Zend API nr: 220100525 PHP API nr: 20100525 Debug Build: no Thread Safe Build: no Configuration File Path: /etc/php5/apache2 […]
我在VPS上使用OpenVPN,我想通过iptables将来自外部IP 198.23.248.150的传入端口7999转发到内部IP 10.1.10.2。 我似乎无法得到正确的语法,我已经确保转发已启用: root@insanity:~# cat /proc/sys/net/ipv4/conf/venet0/forwarding 1 所以,如果有人能告诉我iptables命令我正在寻找使用,我会非常感激。 我正在想方设法弄清楚。