Technology Insights

Use yum to Get More Information About a Package on Linux

You can use yum to gain more information about a package by using the below command.

bash

  1. yum info <em>package_name</em>

Using the “info” option will provide details about the package including what version is installed, what versions are available, the yum repo it is available from, the size of the installed package, the size of the new package, the version, the release, a summary about the package, and a detailed description of the package. An example using postgresql-server is below.

Details
Technology Insights

How to Change Microsoft Visio Units Ratio to Drawing Size

Currently I am working on a layout of an office using Microsoft Visio and needed to change the size of units on the page soI could fit more feet per block of the drawing. Follow the steps below to change the ratio of units on the page.

  1. Open Visio: Select start, then Program Files, and select Microsoft Office Visio.
  2. Open Visio Options: Once your project is open select Tools from the top menu and then select Options from the menu drop down.
Details
Technology Errors

conftest.c:3: error: ‘mysql_query’ undeclared (first use in this function)

When installing the mysql ruby gem you may run across the above error in the log file. If so you need to add some configuration switches to the gem install command as shown below.

Install Command for CentOS 64 Bit Server:

bash

  1. [root@server ~]# env ARCHFLAGS="-arch x86_64" gem install mysql -- --with-mysql-config=/usr/lib64/mysql/mysql_config -with-mysql-dir=/var/lib/mysql
Details
Technology Insights

Install and Configure NTP on CentOS 5.X

This is just a brief howto about installing and configuring NTPD (Network Time Protocol Daemon) on a Linux server which in this case is specifically NTPD. First we will install ntpd, then update the current time on the server, configure ntpd to restart on server boot, and then start ntpd.

  1. Install NTPD: Run the below command to install ntpd via yum.
  2. bash

    1. [root@server ~]# yum install ntp
Details