#pkg install amp-dev
#pkg install ruby-dev
#pkg install SUNWgcc
#gem install rails
#gem install mysql -- --with-mysql-dir=/usr/mysql/5.1/
#svcadm enable apache22
#svcadm enable mysql
The website is up and functional. This is rediculous. I thought Solaris was hard and frustrating.
On a side note, you should really change the mysql to require a root password. This is easy as well. Here are the necessary commands.
#mysql -u root
mysql>UPDATE mysql.user SET Password=PASSWORD('newpass') WHERE User='root';
mysql>FLUSH PRIVILEGES;
If you're on a linux machine, you probably have access to mysqladmin, so you only need to do this.
#mysqladmin -u root password NEWPASSWORD
All set!
No comments:
Post a Comment