Quantcast
Channel: Linux – MacLochlainns Weblog
Browsing all 138 articles
Browse latest View live

Fedora LAMP Steps

I posted earlier in the year how to configure a Fedora instance to test PHP code on a local VM. However, I’ve got a few questions on how to find those posts. Here’s a consolidation with links on those...

View Article



Image may be NSFW.
Clik here to view.

Fix VMware Networking

Occasionally, my students loose their network connection when copying their virtual machines. This article shows you how to rebuild your Internet connection. The first step requires you to identify the...

View Article

Image may be NSFW.
Clik here to view.

Linux User-Group Console

This post shows you how to add the menu option and GUI to set users and groups. It’s quite a bit easier than mastering all the command-line syntax. It makes setting up the required user and group...

View Article

Image may be NSFW.
Clik here to view.

Oracle 12c Pre-requisites

Installing any Oracle database is tedious, but the installing the prerequisites can be especially tedious. This post tries to simplify the process by creating a single prereq.sh file for all the...

View Article

Can’t Display 256 Colors

If you’re reading this post, you most likely are trying to run the Oracle Database 11g or 12c runInstaller program, and it’s failing a critical dependency check and displaying an error like the one...

View Article


Oracle Segment Fails

The instance that I’ve built for my students in a Fedora VM is quite stable except for one feature. The feature is the hibernation process of the base operating system. Sometimes when the base...

View Article

Install cx_Oracle for Python

This shows you how to install the cx_Oracle library for Python 2.7 on Fedora Linux. If Fedora has it on the server you can download it with the following yum command: yum install -y...

View Article

Image may be NSFW.
Clik here to view.

Install EasyGUI on Fedora

The EasyGUI library is a nice tool for developing GUI applications. It doesn’t require you to know event-driven programming to write basic GUI applications because it’s based on Python functions. You...

View Article


Install PyGame on Fedora

The PyGame library is a wonderful tool for building games with Python. It lets you accomplish a great deal by simply managing events. You need to understand how to use Python functions, modules, and...

View Article


Python variable not defined

While working with a programming example for my students, I ran into an interesting run-time error when I changed their approach to importing Python’s random module. Here’s the raised error message:...

View Article

How to install MongoDB

This post shows the yum command to install the MongoDB packages on Linux. More on setup and use will follow. You install the MongoDB package with the following yum command: yum install -y mongodb You...

View Article

Image may be NSFW.
Clik here to view.

Fedora R Install

I’ve started building the new image for the database courses. This one needs to include Oracle, MySQL, Cassandra, Hive, and MongoDB databases; and include examples for C, C++, Java, Perl, PHP, Python,...

View Article

Fedora Install unixODBC

Encountered a problem while running the RODBC library from the R prompt as the root user, as follows: > install.packages('RODBC') It failed with the following library dependency: checking for...

View Article


Image may be NSFW.
Clik here to view.

Fedora User Manager

As one of my students pointed out, Fedora doesn’t install a GUI user management tool installed by default. That’s true. It’s easy to install. You can install it as the root user, like: yum install -y...

View Article

Fedora Install PostgreSQL

The following shows you the install of PostgreSQL 9.6 on Fedora 27. You either use the sudoer privileges as a user in the sudoer group, or by using the su command to become the root user: sudo yum...

View Article


Setup PostgreSQL

After you have installed PostgeSQL on Fedora 27 and initialized the database, you have several steps to configure a new instance. This blog post shows you how to create all the implementation pieces...

View Article

PostgreSQL Calling File

Somebody asked: How do you run a script file from PostgreSQL’s psql prompt? I created two files to answer the question. Here are the two files: Static File SELECT 'Hello World!'; Dynamic File SELECT...

View Article


MySQL on Fedora 27

While updating my class image to Fedora 27, I noticed that it installed the Akonadi Server. The documentation on the Akonadi server lacked some straightforward documentation. It also offered a bundled...

View Article

MongoDB on Fedora 27

I was very pleased to see MongoDB 3.4 in the repo for Fedora 27; however, I was quite frankly severely disappointed by the lack of concrete installation steps in the MongoDB in Action, Second Edition....

View Article

Ruby GEM Mongo

While trying to use the Ruby gem utility to install the MongoDB gem, I encountered an error on a new Fedora 27 instance. This is the error message: Fetching: bson-4.3.0.gem (100%) Building native...

View Article
Browsing all 138 articles
Browse latest View live




Latest Images