Setup Notes - mikejl/research GitHub Wiki

SELinux Integrity Instrumentation (SII)


Setup Notes:

  • Set sudo to NOPASSED for %wheel
  • Add non-root to wheel.

Reference Links:

System Setup Notes

Install systat for SAR

yum install systat

Install setools

sudo yum install setools

MongoDB Install

Setup the  http://docs.mongodb.org/manual/tutorial/install-mongodb-on-red-hat-centos-or-fedora-linux/ Create a
/etc/yum.repos.d/mongodb.repo

file with:
[mongodb]
name=MongoDB Repository
baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/
gpgcheck=0
enabled=1

Run:
yum install mongodb-org

Service: mongod chkconfig (on 5 by default) /etc/mongod.conf

Edit Config

DB at: dbpath=/var/lib/mongo

Install GCC

yum install gcc
yum install gcc-c++

Install Git

yum install git

RoboMongo

http://robomongo.org/ Install rpm package from: http://robomongo.org/files/linux/robomongo-0.8.4-x86_64.rpm as root: yum install robomongo-0.8.4-x86_64.rpm

Install pip

To install or upgrade pip, securely download get-pip.py
python get-pip.py 

Install pymongo

easy_install pymongo

Sudo no password

visudo
use the “%wheel ALL NOPASSWD: ALL” option in the config.

Load tabulate on systems

pip install tabulate https://pypi.python.org/pypi/tabulate

Research 1 system add:

iPython Notebook  

pip install ipython[all]

Github Clone Command Line

Setup repo
git clone https://mikejl:[email protected]/mikejl/research.git
Sync repo (from ~/research)
git pull

Service Setup:

View service settings:
systemctl list-unit-files
Set to run (httpd example)
sudo systemctl enable httpd.service

Install:

  • httpd
  • vsftp
  • samba
    sshd already installed and running.

Media server use Plex (copy rpm to each system)

Use rpm to install.
sudo yum install plexmediaserver_xxxxxxx.rpm