You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by Apache Wiki <wi...@apache.org> on 2015/03/02 19:48:25 UTC

[Tika Wiki] Update of "VirtualMachine" by TimothyAllison

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tika Wiki" for change notification.

The "VirtualMachine" page has been changed by TimothyAllison:
https://wiki.apache.org/tika/VirtualMachine?action=diff&rev1=9&rev2=10

Comment:
Changes reflect shift to RHEL 7 from RHEL 6

  
  ==== install software ====
  
- 1. `yum install nano perl java-1.7.0-openjdk-devel unzip git svn vim httpd`
+ 1. `yum install java-1.7.0-openjdk-devel git svn httpd`
  
  2. `curl -s get.gvmtool.net | bash`
  
@@ -15, +15 @@

  
  5. `mv groovy to /usr/share/groovy`
  
- 6. change symbolic link
+ 6. added /usr/share/groovy/current/bin to personal path via .bashrc
  
- 7. added /usr/share/groovy/current/bin to personal path via .bashrc
- 
- 8. Maven:
+ 7. Maven:
    1. {{{wget http://www.eng.lsu.edu/mirrors/apache/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-bin.zip}}}
  
    2. {{{unzip apache-maven-3.2.5-bin.zip}}}
@@ -48, +46 @@

  
  `nano /etc/ssh/sshd_config`
    * disallow root to log in
-   * added self to AllowUsers
+   * add allowed users to AllowUsers
  
  ==== opening port 9998 for TIKA-1301 ====
- Add this line to {{{/etc/sysconfig/iptables}}}:
+ To open port 9998:
+ `firewall-cmd --zone=public --add-port=9998/tcp --permanent`
  
- {{{-A INPUT -m state --state NEW -m tcp -p tcp --dport 9998 -j ACCEPT}}}
+ `firewall-cmd --reload`
  
  ==== permission management ====
  
@@ -63, +62 @@

  
  3. `groupadd <admingroup>`
  
- 4. `useradd -g <admingroup> <self>`
+ 4. `useradd -g <admingroup> <user>`
  
  5. `modify /etc/ssh/sshd_config to add user to AllowUsers`
+ 
+ 6. `systemctl restart sshd.service` --restart sshd on RHEL 7
  
  ==== mkdirs ====