Example to egrep valid ip address
To egrep all valid ip addresses in current directory:
|
1 |
egrep -r '[[:digit:]]{1,3}\.[[:digit:]]{1,3}\.[[:digit:]]{1,3}\.[[:digit:]]{1,3}' . |
|
Example to egrep valid ip address To egrep all valid ip addresses in current directory:
Getting SSL to work with neo4j can be very frustrating. The crux of the problem is that their documentation isn’t very robust. Here’s what they don’t tell you: Both the cert and the key MUST be in DER format! example to convert a PEM formatted crt key to a der formatted crt key openssl x509 . . . → Read More: neo4j SSL howto I spend hours trying to figure this out and here are the fruits of my labor Howto: Import valid cert and key into a java keystore note: use the same password in each step Step 1: Export your key and cert to pkcs12 format
Step 2: Import p12 file to java key store
. . . → Read More: convert valid godaddy cert key to java keystore for tomcat Objective Remove the index.php prefix from your nginx code igniter instance. Assumptions In your main nginx conf file you define how php is called (unix socket or ip:port) You will replace foo.example.com with whatever your domain name is The proper logging path will be defined per your system as opposed to the location i have . . . → Read More: nginx code igniter remove index.php prefix Recently I tried passing a bash variable to perl command in bash script, it didn’t end well. Troy Engel from http://tacticalvim.wordpress.com/ was nice enough to point out the issue: use sed instead of perl for what you need; it’s simpler, faster and uses the bash variables easily. I set up a test script /home/someuser/test.sh to show: . . . → Read More: passing bash variable to perl command in bash script Disk Space Usage Visual Tools Some great tools for viewing disk space usage are: pydf (essential df with colors) Philesight (Web-based implementation of Filelight) ncdu (awesome text-only GUI!) Philesight Philesight is a tool to browse your filesystem and see where the diskspace is being used at a glance. Philesight is implemented as a simple command . . . → Read More: linux view disk space usage To install Django on Centos or Redhat
To Install Python 2.7.2 on redhat or centos
Objective Set up a local svn repository to store some code Install subversion
Repository Setup We will set up a path to store the repositories then create the initial repository
Initial Import of content to the repository Linux/Unix
Windows
Network
Accessing your svn repository remotely If you aren’t using apache . . . → Read More: howto set up local svn repository These are some labs I have crafted to prep for the RHCSA exam. Hopefully you will find this useful! Brakertech’s RHCSA Training Labs Objective: Configure NTP Client to sync against a custom NTP server Configure Local NTP Server The first step is to get your local ntp server running Install Required Package
Modify /etc/ntp.conf . . . → Read More: RHCSA Training Labs |
|||||||||||||||||||||||||
|
Copyright © 2013 Brakertech - All Rights Reserved i can haz interweb |
|||||||||||||||||||||||||