Доброго всем времени суток уважаемое сообщество. Решил установить lamp server, начинаю потихоньку осваивать работу вэб сервера в линукс.
Установил lamp server и phpmyadmin, установка прошла без ошибок. Установился ряд пакетов:
Спойлер
apache2-ab (2.2.22-alt13.M60T.1)
apache2-base (2.2.22-alt13.M60T.1)
apache2-htpasswd (2.2.22-alt13.M60T.1)
condstopstart-common (0.3-alt2)
condstopstart-web (0.3-alt2)
lamp-server (1.0-alt1)
libmcrypt (2.5.7-alt2.qa2)
php5-gd2 (5.3.18.20121017-alt0.M60P.1)
php5-mbstring (5.3.18.20121017-alt0.M60P.1)
php5-mcrypt (5.3.18.20121017-alt0.M60P.1)
php5-mysql (5.3.18.20121017-alt0.M60P.1)
php5-mysqli (5.3.18.20121017-alt0.M60P.1)
phpMyAdmin (3.3.10-alt1)
phpMyAdmin-apache2 (3.3.10-alt1)
t1lib (5.1.2-alt4.1)
MySQL-server и MySQL: Клиент уже были установлены дефолтом.
При вызове команды
service mysqld start
Получаю ошибку
Спойлер
# service mysqld start
Warning: World-writable config file '/var/lib/mysql/my.cnf' is ignored
Warning: World-writable config file '/var/lib/mysql/my.cnf' is ignored
Warning: World-writable config file '/var/lib/mysql/my.cnf' is ignored
Warning: World-writable config file '/var/lib/mysql/my.cnf' is ignored
Warning: World-writable config file '/var/lib/mysql/my.cnf' is ignored
Installing all prepared tables
Warning: World-writable config file '/var/lib/mysql/my.cnf' is ignored
130313 9:27:36 [Note] Plugin 'InnoDB' is disabled.
ERROR: 1049 Unknown database 'mysql'
130313 9:27:36 [ERROR] Aborting
130313 9:27:36 [Note] /usr/sbin/mysqld: Shutdown complete
Installation of system tables failed!
Examine the logs in /var/lib/mysql/log for more information.
You can also try to start the mysqld daemon with:
/usr/sbin/mysqld --skip-grant &
You can use the command line tool
/usr/bin/mysql to connect to the mysql
database and look at the grant tables:
shell> /usr/bin/mysql -u root mysql
mysql> show tables
Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /var/lib/mysql/log that may be helpful.
The latest information about MySQL is available on the web at
http://www.mysql.com
Please consult the MySQL manual section: 'Problems running mysql_install_db',
and the manual section that describes problems on your OS.
Another information source is the MySQL email archive.
Please check all of the above before mailing us!
And if you do mail us, you MUST use the /usr/bin/mysqlbug script!
Adjusting environment for mysqld:
При попытке установить пароль MySQL выдает ошибку
Спойлер
# mysql -u root -p
Warning: World-writable config file '/var/lib/mysql/my.cnf' is ignored
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Я только начинаю изучать эту тему, и мне не понятно в какую сторону нужно копать, чтобы запустить локальный веб сервер
К тому же не понятно, почему команда
# service httpd2 start
Starting httpd2 service:
проходит без ошибок, но попытка набрать адрес : localhost выдает ошибку в браузере
Access forbidden!
You don't have permission to access the requested directory. There is either no index document or the directory is read-protected
До этого внес пользователя в группу вабмастер.
Заранее благодарен за помощь.
Система kdesktop p6
P.S. Прежде чем задать вопрос тщательно пользовался поиском по форуму ,но к сожалению пока остался там же, откуда и начинал.