先要部署好Lamp环境前面已经详细列出在这里不在嗷赘

配置php5

/etc/php5/apache2/php.ini

output_buffering=4096 //找到去到注视

/etc/php5/conf.d/suhosin.ini

suhosin.post.max_array_index_length = 256

suhosin.post.max_totalname_length = 8192

suhosin.post.max_vars = 2048

suhosin.request.max_array_index_length = 256

suhosin.request.max_totalname_length = 8192

suhosin.request.max_vars = 2048

创建joomla数据库

mysqladmin -u root -p create joomla

grant all on joomla.* to joomla@localhost identified bu ‘password’;

flush privileges;

~/.mysql_history //清空

 

 cd /var/www

# mkdir -m 0755 joomla

# cd joomla

# tar -xvjf /home/user/Joomla_3.0.3-Stable-Full_Package.tar.bz2

chown -R www-data:www-data /var/www/joomla

开始设置权限

find /var/www/joomla -type f -exec chmod 0644 {} \;

find /var/www/joomla -type d -exec chmod 0755 {} \;

配置完网站后执行下面命令否则不能进行下一步

# rm -rf /var/www/joomla/installation/

# exit

此后就是进入图形配置了 不写了 累了