Software section: Difference between revisions

From Freephile Wiki
No edit summary
Line 39: Line 39:
=Database=
=Database=
==MySQL==
==MySQL==
=== Installation ===
To get started, [https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Managing_Confined_Services/chap-Managing_Confined_Services-MySQL.html installing MySQL on RHEL] is as simple as <source lang="bash">yum install mysql-server</source>.  However, you might get a message that your system is not registered to Red Hat Subscription Management (RHN in the old days), and thus the packages are not visible.  To remedy this, you would of course use <code>subscription-manager</code> to register the host with Red Hat Subscription Management.
<source lang="bash">
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h `hostname` password 'new-password'
# but it's easier and better to run
/usr/bin/mysql_secure_installation
# which will give you the option of removing the test database and removing the anonymous user created by default.  This is a must for production servers.
</source>
You can start the MySQL daemon with:
<source lang="bash">cd /usr ; /usr/bin/mysqld_safe &</source>
You can test the MySQL daemon with mysql-test-run.pl
<source lang="bash">cd /usr/mysql-test ; perl mysql-test-run.pl</source>
It's a good idea to setup a local configuration file for the system 'root' user, who can connect to the database server as db user 'root' by default when using the mysql command line client (ie. when you are user 'root' and type 'mysql' at the command line in a bash shell)
<source lang="bash">cat /root/.my.cnf</source>
<source lang="ini">
[client]
user=root
password=giveMeSomeDBgoodne55
</source>
[[Category:Database]]
==PostGres==
==PostGres==
==phpMyAdmin==
==phpMyAdmin==

Revision as of 10:37, 24 March 2014

Every single item on this page will eventually be an article, series of articles, or even a complete section. Please jump in and start off a topic

This sort of list may be deprecated now that I know how to create dynamic page lists, and also use category displays on a page. Still, this serves as a "pages wanted" list, and so it will be around until it is replaced by something better.

Software Foundations[edit]

Linux[edit]

Apache[edit]

See Apache

MySQL[edit]

PHP[edit]

Getting PHP5 installed can be daunting. It still is not packaged for Debian stable. If you want a deb, add Dotdeb.org to your sources list. http://www.dotdeb.org/

Perl[edit]

Python[edit]

System Administration[edit]

Samba[edit]

Webmin[edit]

Graphics[edit]

GIMP[edit]

SodiPodi[edit]

Dia[edit]

Gallery[edit]

Content Management[edit]

MediaWiki[edit]

Tiki[edit]

Email[edit]

SquirrelMail[edit]

Web Browsing[edit]

Mozilla[edit]

FireFox[edit]

Database[edit]

MySQL[edit]

Installation[edit]

To get started, installing MySQL on RHEL is as simple as

yum install mysql-server

. However, you might get a message that your system is not registered to Red Hat Subscription Management (RHN in the old days), and thus the packages are not visible. To remedy this, you would of course use subscription-manager to register the host with Red Hat Subscription Management.

/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h `hostname` password 'new-password'
# but it's easier and better to run
/usr/bin/mysql_secure_installation
# which will give you the option of removing the test database and removing the anonymous user created by default.  This is a must for production servers.

You can start the MySQL daemon with:

cd /usr ; /usr/bin/mysqld_safe &

You can test the MySQL daemon with mysql-test-run.pl

cd /usr/mysql-test ; perl mysql-test-run.pl

It's a good idea to setup a local configuration file for the system 'root' user, who can connect to the database server as db user 'root' by default when using the mysql command line client (ie. when you are user 'root' and type 'mysql' at the command line in a bash shell)

cat /root/.my.cnf
[client]
user=root
password=giveMeSomeDBgoodne55

PostGres[edit]

phpMyAdmin[edit]

Search[edit]

Mnogosearch[edit]

Templating[edit]

Smarty[edit]