Posts Tagged ‘path’

27 10 2009

chkconfig: command not found

bigCat Posted in Linux - 0 Comment

原来切换root的时候用su的缘故,身份且过来了环境变量还没切过来\r\n赶紧exit了用 su - 来切换,就不会出现chkconfig: command not found了

2 04 2009

(dv) Dedicated-Virtual platform

bigCat Posted in Linux - 0 Comment

(dv) Dedicated-Virtual platform\nHere are some paths to commonly used programs and locations on your (dv) server. Most of them are only available via SSH with root access. Before manipulating any of these files, it is highly suggested that you back up a copy of any file(s) you modify.\n\n * Perl: /usr/bin/perl\n * Python: /usr/bin/python\n * php: /usr/bin/php\n * php.ini: /etc/php.ini\n * my.cnf: /etc/my.cnf\n * httpd.conf: /etc/httpd/conf/httpd.conf\n * Apache error log: /var/log/httpd/error_log\n * Qmail log: /usr/local/psa/var/log/maillog\n * MySQL error log: /var/log/MySQLd.log\n * Sendmail: /usr/sbin/sendmail *\n\nNOTE:\n\nThis is actually a symlink to /var/qmail/bin/sendmail, but will work for CGI scripts that require a sendmail path, such as formmail's formmail.pl.\nDocument root:\n\n * /home/httpd/vhosts/mt-example.com/httpdocs [older (dv) 2.0 servers]\n * /var/www/vhosts/mt-example.com/httpdocs [newer (dv) 2.0 and 3.x servers]\n\nRaw access logs:\n\n * /home/httpd/vhosts/mt-example.com/statistics/logs [older (dv) 2.0 servers]\n * /var/www/vhosts/mt-example.com/statistics/logs [newer (dv) 2.0 and 3.x servers]\n\nUser email files:\n\n * /var/qmail/mailnames/\n\nSystem messages (shows things like login attempts, restart requests for services etc.):\n\n * /var/log/messages\n

Host: (miao) | Word: Press | Code: HTML5