站长百科 | 数字化技能提升教程 数字化时代生存宝典
首页
数字化百科
电子书
建站程序
开发
服务器
办公软件
开发教程
服务器教程
软件使用教程
运营教程
热门电子书
WordPress教程
宝塔面板教程
CSS教程
Shopify教程
导航
程序频道
推广频道
网赚频道
人物频道
网站程序
网页制作
云计算
服务器
CMS
论坛
网店
虚拟主机
cPanel
网址导航
WIKI使用导航
WIKI首页
最新资讯
网站程序
站长人物
页面分类
使用帮助
编辑测试
创建条目
网站地图
站长百科导航
站长百科
主机侦探
IDCtalk云说
跨境电商导航
WordPress啦
站长专题
网站推广
网站程序
网站赚钱
虚拟主机
cPanel
网址导航专题
云计算
微博营销
虚拟主机管理系统
开放平台
WIKI程序与应用
美国十大主机
编辑“
CPanel/服务器文件及目录
”
人物百科
|
营销百科
|
网赚百科
|
站长工具
|
网站程序
|
域名主机
|
互联网公司
|
分类索引
跳转至:
导航
、
搜索
警告:
您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您
登录
或
创建
一个账户,您的编辑将归属于您的用户名,且将享受其他好处。
反垃圾检查。
不要
加入这个!
高级
特殊字符
帮助
标题
2级
3级
4级
5级
格式
插入
拉丁字母
扩展拉丁字母
国际音标
符号
希腊字母
希腊字母扩展
西里尔字母
阿拉伯字母
扩展阿拉伯字母
希伯来字母
孟加拉语字符集
泰米尔数字和符号
泰卢固语字符集
僧伽罗语字符集
梵文字符集
古吉拉特语字符集
泰语字符集
老挝语
高棉语字母
加拿大原住民音节文字
卢恩
Á
á
À
à
Â
â
Ä
ä
Ã
ã
Ǎ
ǎ
Ā
ā
Ă
ă
Ą
ą
Å
å
Ć
ć
Ĉ
ĉ
Ç
ç
Č
č
Ċ
ċ
Đ
đ
Ď
ď
É
é
È
è
Ê
ê
Ë
ë
Ě
ě
Ē
ē
Ĕ
ĕ
Ė
ė
Ę
ę
Ĝ
ĝ
Ģ
ģ
Ğ
ğ
Ġ
ġ
Ĥ
ĥ
Ħ
ħ
Í
í
Ì
ì
Î
î
Ï
ï
Ĩ
ĩ
Ǐ
ǐ
Ī
ī
Ĭ
ĭ
İ
ı
Į
į
Ĵ
ĵ
Ķ
ķ
Ĺ
ĺ
Ļ
ļ
Ľ
ľ
Ł
ł
Ń
ń
Ñ
ñ
Ņ
ņ
Ň
ň
Ó
ó
Ò
ò
Ô
ô
Ö
ö
Õ
õ
Ǒ
ǒ
Ō
ō
Ŏ
ŏ
Ǫ
ǫ
Ő
ő
Ŕ
ŕ
Ŗ
ŗ
Ř
ř
Ś
ś
Ŝ
ŝ
Ş
ş
Š
š
Ș
ș
Ț
ț
Ť
ť
Ú
ú
Ù
ù
Û
û
Ü
ü
Ũ
ũ
Ů
ů
Ǔ
ǔ
Ū
ū
ǖ
ǘ
ǚ
ǜ
Ŭ
ŭ
Ų
ų
Ű
ű
Ŵ
ŵ
Ý
ý
Ŷ
ŷ
Ÿ
ÿ
Ȳ
ȳ
Ź
ź
Ž
ž
Ż
ż
Æ
æ
Ǣ
ǣ
Ø
ø
Œ
œ
ß
Ð
ð
Þ
þ
Ə
ə
格式
链接
标题
列表
文件
参考
讨论
说明
输入内容
输出结果
斜体
''斜体文字''
斜体文字
粗体
'''粗体文字'''
粗体文字
粗斜体
'''''粗斜体文字'''''
粗斜体文字
{{CPanel top}} '''cPanel服务器'''默认的各主要目录及配置文件的路径。[[cPanel]]服务器很多配置文件的路径和通常情况下安装[[LAMP]]的不同,另外还有很多是属于cPanel面板自己的配置文件。 == Apache == <pre> /usr/local/apache + bin- apache binaries are stored here – httpd, apachectl, apxs + conf – configuration files – httpd.conf + cgi-bin + domlogs – domain log files are stored here + htdocs + include – header files + libexec – shared object (.so) files are stored here – libphp4.so,mod_rewrite.so + logs – apache logs – access_log, error_log, suexec_log + man – apache manual pages + proxy - + icons - </pre> == CPanel == <pre> /usr/local/cpanel + 3rdparty/ – tools like fantastico, mailman files are located here + addons/ – AdvancedGuestBook, phpBB etc + base/ – phpmyadmin, squirrelmail, skins, webmail etc + bin/ – cpanel binaries + cgi-sys/ – cgi files like cgiemail, formmail.cgi, formmail.pl etc + logs/ – cpanel access log and error log + whostmgr/ – whm related files </pre> == WHM == <pre> /var/cpanel – whm files + bandwidth/ – rrd files of domains + username.accts – reseller accounts are listed in this files + packages – hosting packages are listed here + root.accts – root owned domains are listed here + suspended – suspended accounts are listed here + users/ – cpanel user file – theme, bwlimit, addon, parked, sub-domains all are listed in this files + zonetemplates/ – dns zone template files are taken from here </pre> == Important CPanel/WHM files == <pre> /etc/domainips 独立ip 如果共享ip被当成了独立ip删除这里的就可以了 /etc/httpd/conf/httpd.conf – apache configuration file /etc/exim.conf – mail server configuration file /etc/named.conf – name server (named) configuration file /etc/proftpd.conf – proftpd server configuration file /etc/pure-ftpd.conf – pure-ftpd server configuration file /etc/valiases/domainname – catchall and forwarders are set here /etc/vfilters/domainname – email filters are set here /etc/userdomains – all domains are listed here – addons, parked,subdomains along with their usernames /etc/localdomains – exim related file – all domains should be listed here to be able to send mails /var/cpanel/users/username – cpanel user file /var/cpanel/cpanel.config – cpanel configuration file ( Tweak Settings ) /etc/cpbackup-userskip.conf - /etc/sysconfig/network – Networking Setup /etc/hosts - /var/spool/exim - /var/spool/cron - /etc/resolv.conf – Networking Setup Resolver Configuration /etc/nameserverips – Networking Setup Nameserver IPs ( For resellers to give their nameservers ) /var/cpanel/resellers – For addpkg, etc permissions for resellers. /etc/chkserv.d – Main >> Service Configuration >> Service Manager /var/run/chkservd – Main >> Server Status >> Service Status /var/log/dcpumon – top log process /root/cpanel3-skel – skel directory. Eg: public_ftp, public_html. /etc/wwwacct.conf – account creation defaults file in WHM (Basic cPanel/WHMSetup) /etc/cpupdate.conf – Update Config /etc/cpbackup.conf – Configure Backup /etc/clamav.conf – clamav (antivirus configuration file ) /etc/my.cnf – mysql configuration file /usr/local/Zend/etc/php.ini OR /usr/local/lib/php.ini – php configuration file /etc/ips – ip addresses on the server (except the shared ip) /etc/ipaddrpool – ip addresses which are free /etc/ips.dnsmaster – name server ips /var/cpanel/Counters – To get the counter of each users. /var/cpanel/bandwidth – To get bandwith usage of domains </pre> == PHP == <pre> Program :/usr/local/bin/php, /usr/bin/php ini file: /usr/local/lib/php.ini – apache must be restarted after any change to this file </pre> == Exim == <pre> Conf : /etc/exim.conf – exim main configuration file /etc/localdomains – list of domains allowed to relay mail Log : /var/log/exim_mainlog – incoming/outgoing mails are logged here /var/log/exim_rejectlog – exim rejected mails are reported here /var/log/exim_paniclog – exim errors are logged here Mail queue: /var/spool/exim/input Cpanel script to restart exim – /scripts/restartsrv_exim Email forwarders and catchall address file – /etc/valiases/domainname.com Email filters file – /etc/vfilters/domainname.com POP user authentication file – /home/username/etc/domainname/passwd catchall inbox – /home/username/mail/inbox POP user inbox – /home/username/mail/domainname/popusername/inbox POP user spambox – /home/username/mail/domainname/popusername/spam Program : /usr/sbin/exim (suid – -rwsr-xr-x 1 root root ) Init Script: /etc/rc.d/init.d/exim </pre> == MySQL == <pre> Program : /usr/bin/mysql Init Script : /etc/rc.d/init.d/mysql Conf : /etc/my.cnf, /root/.my.cnf Data directory – /var/lib/mysql – Where all databases are stored. Database naming convention – username_dbname (eg: john_sales) Permissions on databases – drwx 2 mysql mysql Socket file – /var/lib/mysql/mysql.sock, /tmp/ mysql.sock </pre> ==更多...== [[Apache]] [[Linux]] [[cPanel]] [[mySQL]] [[Exim]] [[PHP]] ==参考来源== *站长百科原创 [[category:cPanel|F]] [[category:服务器|F]] {{CPanel}}
摘要:
请注意,您对站长百科的所有贡献都可能被其他贡献者编辑,修改或删除。如果您不希望您的文字被任意修改和再散布,请不要提交。
您同时也要向我们保证您所提交的内容是您自己所作,或得自一个不受版权保护或相似自由的来源(参阅
Wordpress-mediawiki:版权
的细节)。
未经许可,请勿提交受版权保护的作品!
取消
编辑帮助
(在新窗口中打开)
模板:CPanel
(
编辑
)
模板:CPanel top
(
编辑
)