这很简单,但我不能让它工作。我想在ssh bash脚本中执行一个简单的if else语句。下面是我的代码:
#!/bin/sh
echo -n "enter what type of logs. (ie. cpanel, apache) "
read type
if [$type == cpanel]
then
LOGTYPES ="error, access"
else
LOGTYPES ="error, access, suphp, suexec"
fi
echo -n "enter which log to tail (ie.
我正尝试在我的网站上安装cpXstack,但每次尝试都会失败。
我得到了以下错误,我想知道是否有人已经解决了这个问题:
Complete!
sed: can't read /var/spool/incron/root: No such file or directory
PID unreadable in: /usr/local/cpanel/3rdparty/mailman/data/master-qrunner.pid
[Errno 2] No such file or directory: '/usr/local/cpanel/3rdparty/mailman/data/
嗨,每个人,我有点困惑,关于安装mod页面速度模块,因为我是非常新的做这个任务,第一次。
问题:-在哪里安装mod页面速度模块。我有两个cpanel,所以在哪里需要首先开始安装是WHM去爸爸或我的网站常规的cpanel。
1) WHM go daddy
2) regular cpanel for my site
我有下面的配置
1) Operating System:CentOS 5
2) Apache:- Server Version: Apache/2.0.63 (Unix)
那么,我如何开始安装mod页面速度模块,以加快我的wesite。
Apache崩溃时出现以下错误:
mod_fcgid: can't apply process slot for /usr/local/cpanel/cgi-sys/php5
mod_fcgid: /usr/local/cpanel/cgi-sys/php5 spawn score 10 >= 10, skip the spawn request
mod_fcgid: too many /usr/local/cpanel/cgi-sys/php5 processes (current:10, max:10), skip the spawn request
mod_fcgid: p
我正在使用mod_fcgid,我正在寻找关于如何优化它以运行一个专用网站的资源,但是没有运气.到目前为止,我已经:
我已经运行了apache2,并且我正在尝试让php进程产生并始终运行,这样apache就不必一直生成它们了。
# Fastcgi configuration for PHP5
LoadModule fcgid_module modules/mod_fcgid.so
MaxRequestsPerProcess 5000
# Maximum number of PHP processes.
MaxProcessCount 8
# Number of seconds of
我想在cPanel上安装Phalcon.我在运行CentOS 6.6的专用服务器上安装了cPanel。
到目前为止,我遵循了的说明。
cd /var/cpanel/easy/apache/custom_opt_mods/
git clone https://github.com/thecpaneladmin/EA-PhalconPHP.git .
/scripts/easyapache
我尝试配置当前的配置文件,当EasyApache启动时,没有像Phalcon这样的模块可供选择。
在instruction here is: From here中,从PHP模块列表中选择Phalcon。但它不在
我一直在试验Google Code和Sourceforge之类的东西,并且对我所发现的感到满意。它们的主要问题是,您必须让您的项目开放源代码才能使用它们,这样任何人都可以编辑它们。
所以..。有什么办法可以在我自己的服务器?上拥有自己的svn存储库吗?我有FTP访问、cpanel等等。如果有帮助的话:
Operating system Linux
cPanel Version 11.26.20
Architecture x86_64
MySQL version 5.0.91-community-log
Apach