Im currently virtual hosting 2 sites with apache on a pardus machine.
.
.
I would like to make one site log-in capable for a few users.
I never get pass creating a password and user.
Any and all help is appreciated.
links/tutorials on same topic also welcome.
.
.
.
stonecuban@pardus ~ $ sudo pisi update-repo
Password:
* Updating repository: pardus-2007.3
pisi-index.xml.bz2.sha1sum (40.0 B)100% 0.00 B/s [??:??:??] [complete]
pisi-index.xml.bz2 (480.0 KB)100% 86.63 KB/s [00:00:01] [complet
e]
No signature found for
http://paketler.pardus.org.tr/pardus-2007.3/pisi-index.xml.bz2
Updating package database of pardus-2007.3 (100%) [complete]
* Package database updated.
stonecuban@pardus ~ $ sudo pisi it apache mysql-server mod_php
The following package(s) are already installed and are not going to be installed
again:
apache mysql-server mod_php
No packages to install.
stonecuban@pardus ~ $ su
Password:
pardus stonecuban # mysql_install_db
Installing MySQL system tables...
OK
Filling help tables...
OK
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h pardus password 'new-password'
Alternatively you can run:
/usr/bin/mysql_secure_installation
You can start the MySQL daemon with:
cd /usr ; /usr/bin/mysqld_safe &
pardus stonecuban # service mysql-server start
Service 'mysql-server' started.
pardus stonecuban # mysqladmin -u root password thesecret
pardus stonecuban #
pardus stonecuban # /usr/bin/mysqladmin -u root -h pardus password thesecret
/usr/bin/mysqladmin: connect to server at 'pardus' failed
error: 'Lost connection to MySQL server at 'reading initial communication packet ', system error: 111'
pardus stonecuban #
.
I need help creating password and user.