Posted in Tutorials by admin |
There’s an easy way of installing Apache, Mysql and PHP and it’s via yum. You can install or update httpd,mysql-server and php, php-mysql and some minor changes on your configuration files and you’re good to go. Well, the procedure below is one way to install also, if you’re quite bored and want to develop your sysadmin skills.
I. Operating System Installation
1. The typical type of installation is thru CD-ROM or DVD. If you want network install, you should have a CentOS boot disk to boot the server
Posted in Quick Tips & Tricks by tux |
Assuming you already have mysql server installed on your machine, the reason you are
installing phpmyadmin is to ease your administration of your MySQL like database creation and deletion, create/alter/drop/view tables and execute any SQL statements, privilege and trigger management, stored procedures, and backup/ maintenance
phyMyAdmin is a tool built in PHP to manage and administer your MySQL servers via your browser.
Requirements:
1.PHP
2.MySQL
3.php-mysql
4.gd/gd-devel
5. Apache
Posted in Quick Tips & Tricks by tux |
There are ways to sync two MySQL tables in a non-GUI method such as mysql triggers or by Maatkit’s MySQL Table Sync, but it’s not that user-friendly.
Of course, if you want the GUI-type, there’s always the ever dependable phpMyAdmin or the NaviCat program.
On this tutorial, I will be implementing the “TableSyncer” tool, a ruby gem built that was originally detailed on http://code.google.com/p/ruby-roger-useful-functions/wiki/TableSyncer
This was tested on CentOS 5.3 32-bit running in Pentium4@3.0GHz 1G machine.
Here are the step-by-step procedure:
1. Download rubygem by “yum” or by source. This is how I built the rubygem
#wget http://rubyforge.org/frs/download.php/60718/rubygems-1.3.5.tgz
tar zxvf rubygems-1.3.5.tgz
This is a preview of
Sync MySQL tables via ruby gem TableSyncer
.
Read the full post (895 words, estimated 3:35 mins reading time)
Posted in Tutorials by tux |
MailWatch for MailScanner is a web-based front-end to MailScanner and features include displays of inbound/outbound mail queue size, load Average and today’s totals for messages, spam, viruses and blocked content on each page header, Quarantine management allows you to release, delete or run sa-learn across any quarantined messages etc.
Tested on CentOS 4.4, MailScanner ver. 4.57.6, Sendmail-8.13
Requirements:
a. Working MailScanner setup
b. MySQL
c. Apache
d. PHP (w/ MySQL and GD Support)
e. Perl
f. DBD
g. DBD-MySQL
This is a preview of
Installation and Configuration of Mailwatch for MailScanner
.
Read the full post (707 words, estimated 2:50 mins reading time)
Posted in Quick Tips & Tricks by tux |
Here’s one trick to do that:
Step 1. Install FreeTDS
FreeTDS Website: http://www.freetds.org/ choose FreeTDS source distribution
Compile parameter: –prefix=/usr/local/freetds –enable-msdblib
Then, copy /etc/ld.so.conf, to /usr/local/freetds/lib; and then run ldconfig
Step 2. Change /usr/local/freetds/etc/freetds.conf
[sql2k]
host = your.mssql.server.ip
port = 1433
client charset = cp950
tds version = 8.0
b. tds version: 4.2 (for MS SQL Server 6.x); 7.0 (for 7.x); 8.0 (for 2000)
Step 3. Test FreeTDS connect to MS SQL Server
#cd /usr/local/freetds/bin
#./tsql -S sql2k -U sa
1> use mydatabase
2> select * from mytable
3> go
This is a preview of
quick tip: how to connect linux to MSSQL
.
Read the full post (238 words, estimated 57 secs reading time)
Posted in News and Updates by admin |
One of my favorite linux distribution, Slackware, had released their version 13.0.
One of the significant change is the release of the official 64-bit. Their is also a completely reworked on the collection of X packages, major upgrades to the desktop environments for KDE and Xfce.
Full Official announcement in:
http://www.slackware.com/announce/13.0.php
Permanent link to this post (52 words, estimated 12 secs reading time)