ubuntu中lamp几个常用的路径

apache

root@coder-671T-M:~# /etc/init.d/apache2 start
 * Starting web server apache2                                                  httpd (pid 1381) already running
                                                                         [ OK ]
root@coder-671T-M:~# /etc/init.d/apache2 stop
 * Stopping web server apache2                                                   ... waiting ..                                                          [ OK ]
root@coder-671T-M:~# /etc/init.d/apache2 restart
 * Restarting web server apache2                                         [ OK ]


root@coder-671T-M:/etc/mysql# cd /etc/apache2/
root@coder-671T-M:/etc/apache2# ll
总用量 108
drwxrwxrwx   7 root root  4096 2011-10-24 09:49 ./
drwxr-xr-x 168 root root 12288 2011-11-16 09:34 ../
-rw-rw-rw-   1 root root  1559 2011-09-28 15:15 apache2.conf
-rw-rw-rw-   1 root root  7993 2011-09-07 02:34 apache2.conf.dpkg-dist
-rw-rw-rw-   1 root root  7994 2011-09-28 14:16 apache2 (复件).conf
drwxrwxrwx   2 root root  4096 2011-10-24 09:57 conf.d/
-rw-rw-rw-   1 root root  1322 2011-09-07 02:34 envvars
-rw-rw-rw-   1 root root    21 2011-10-19 15:35 httpd.conf
-rw-rw-rw-   1 root root 31063 2011-09-01 17:25 magic
drwxrwxrwx   2 root root 12288 2011-10-24 09:50 mods-available/
drwxrwxrwx   2 root root  4096 2011-09-28 10:00 mods-enabled/
-rw-rw-rw-   1 root root   750 2011-09-01 17:25 ports.conf
drwxrwxrwx   2 root root  4096 2011-10-24 09:49 sites-available/
drwxrwxrwx   2 root root  4096 2011-11-08 09:07 sites-enabled/
root@coder-671T-M:/etc/apache2# 


mysql

root@coder-671T-M:~# cd /etc/mysql/
root@coder-671T-M:/etc/mysql# ll
总用量 32
drwxr-xr-x   3 root root  4096 2011-10-24 09:49 ./
drwxr-xr-x 168 root root 12288 2011-11-16 09:34 ../
drwxr-xr-x   2 root root  4096 2011-10-24 09:49 conf.d/
-rw-------   1 root root   333 2011-09-28 09:59 debian.cnf
-rwxr-xr-x   1 root root  1220 2011-07-26 03:35 debian-start*
-rw-r--r--   1 root root  3564 2011-02-04 02:36 my.cnf
root@coder-671T-M:/etc/mysql# 


hosts

/etc/hosts


apache log

/var/log/apache2

php log


/var/log/php5



root@coder-671T-M:/# cd /etc/php5/
root@coder-671T-M:/etc/php5# ll
总用量 28
drwxrwxrwx   5 root root  4096 2011-09-28 09:58 ./
drwxr-xr-x 168 root root 12288 2011-11-16 09:34 ../
drwxrwxrwx   2 root root  4096 2011-11-15 14:18 apache2/
drwxrwxrwx   2 root root  4096 2011-09-28 10:00 cli/
drwxrwxrwx   2 root root  4096 2011-10-24 09:45 conf.d/
root@coder-671T-M:/etc/php5# cd apache2/
root@coder-671T-M:/etc/php5/apache2# ll
总用量 212
drwxrwxrwx 2 root root  4096 2011-11-15 14:18 ./
drwxrwxrwx 5 root root  4096 2011-09-28 09:58 ../
lrwxrwxrwx 1 root root     9 2011-09-28 09:58 conf.d -> ../conf.d/
-rwxrwxrwx 1 root root 67762 2011-11-15 14:18 php.ini*
-rwxrwxrwx 1 root root 67762 2011-11-15 14:18 php.ini~*
-rw-r--r-- 1 root root 67922 2011-10-14 07:37 php.ini.ucf-dist
root@coder-671T-M:/etc/php5/apache2# 



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值