Centos 7.3 How to install Apache 2.4, PHP 7.1 and MySQL (MariaDB)

Enable Network

Display network status

# nmcli d

Start network manager

# nmtui

Edit the connection to Automatically connect

Make GUI Default

Centos 7

# yum group install "GNOME Desktop" "Graphical Administration Tools"

RHEL 7

# yum groupinstall "Server with GUI"

Run the following to make the GUI start on reboot

# ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target

Start SSH service

# systemctl restart sshd.service

# firewall-cmd --add-port=22/tcp --permanent

#  firewall-cmd --reload

Setup servers MariaDB, Apache and PHP

Based on Article: How to install Apache, PHP 7.1 and MySQL on CentOS 7.3 (LAMP)

I will add the EPEL repo here to install latest phpMyAdmin as follows:

rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY*
yum -y install epel-release

Linux Mint Windows XP Dual boot

Installing Windows on a Linux Mint Computer and then fixing MBR after Windows install

Many, who do a dual boot with any Linux and Windows will face the problem of Master Boot Record (MBR). In easier words, one of them (Windows or Linux) wont boot after installing/uninstalling the other. This is a small guide I hope many would find it useful.

Have you tried the "Boot-Repair-Disk" utility?

Download the tool (ISO file) and burn an image CD. Then boot from that CD. Download it from here: http://sourceforge.net/p/boot-repair-cd/home/Home/ 

FIXING WINDOWS BOOT AFTER UNINSTALLING LINUX

For Windows XP: Boot the installation CD and select repair. Enter your windows installation drive number (shown there) and enter Administrative Password. Now run these two commands there one after the other  — “fixmbr” and “fixboot”. Optionally some people also run “bootcfg /rebuild”. You’re Done.

For Windows Vista: Boot from the installation CD/DVD and enter “Repair Windows” link at the left hand bottom of the dialog. Then go to command prompt . There run “bootrec /fixmbr” and “bootrec /fixboot” commands one after the other. That does it.

FIXING GRUB AFTER INSTALLING WINDOWS

1.Boot from a LiveCD and open the terminal..

2.There enter sudo grub to enter GRUB prompt.

3.Type find /boot/grub/stage1 to find out your Linux partition.

Subject

Multicore Solr on Ubuntu 10.04

UPDATE: New post on getting Multicore Solr 3.4 running on Ubuntu 10.04

Been working a lot lately with the Apache Solr project.

Solr is the popular, blazing fast open source enterprise search platform from the Apache Lucene project. Its major features include powerful full-text search, hit highlighting, faceted search, dynamic clustering, database integration, and rich document (e.g., Word, PDF) handling. Solr is highly scalable, providing distributed search and index replication, and it powers the search and navigation features of many of the world’s largest internet sites.

Solr is written in Java and runs as a standalone full-text search server within a servlet container such as Tomcat. Solr uses the Lucene Java search library at its core for full-text indexing and search, and has REST-like HTTP/XML and JSON APIs that make it easy to use from virtually any programming language. Solr’s powerful external configuration allows it to be tailored to almost any type of application without Java coding, and it has an extensive plugin architecture when more advanced customization is required.

Solr for two sites running Drupal 6 Search on Tomcat 6 / CentOS 6

Note this tutorial sets up two seperate solr applications in tomcat, not multi core in one java application.

ApacheSolr for Drupal 6 improves on the out-of-the-box search experience for Drupal users. The easiest way to get Solr running on your Drupal web site is to use the hosted service provided by Acquia; it is way easier than running your own Solr. You simply point your queries to their Solr server and you’re done.

For various reasons, you might want to run your own Solr web service on your own machine. In this article, I will walk you through setting up a working Solr installation using Tomcat 6 on CentOS 6. The end result of this walkthrough will be two separate Solr indexes (via two separate Solr web apps) for two different web sites running on a single Tomcat. I will assume that you are using Acquia’s Drupal (which ships with SolrPHPClient).

Warning: This article assumes all services are on a single machine (suitable for a small organization). Running Solr on a separate machine is possible but raises security implications that are outside the scope of this article.

These are the tasks that we will work on: