Basic system instalation

From PlcWiki

(Difference between revisions)
Jump to: navigation, search
Line 26: Line 26:
  and reboot server.
  and reboot server.
-
=== Configure Network ===
+
== Configure Network ==
  Set correct values tu /etc/hosts
  Set correct values tu /etc/hosts
-
=== Set Timeserver (ntpd) ===
+
== Set Timeserver (ntpd) ==
Prosím někoho kdo ví jaká jsou pravidla pro řízení času aby to tu popsal
Prosím někoho kdo ví jaká jsou pravidla pro řízení času aby to tu popsal
-
=== Set CLEVER commands executable everywhere ===
+
== Set CLEVER commands executable everywhere ==
  echo "export PATH=$PATH:/usr/local/plc/bin" > /etc/profile.d/plc_add_bin_path.sh
  echo "export PATH=$PATH:/usr/local/plc/bin" > /etc/profile.d/plc_add_bin_path.sh
-
=== Install Tomcat ===
+
== Install Tomcat ==
   
   
  # yum install java-1.6.0-openjdk-devel
  # yum install java-1.6.0-openjdk-devel

Revision as of 08:34, 7 February 2012

Contents

Install CentOS minimal

Install some good tools

# yum install openssh-clients
# yum install mc
# yum install setuptool
# yum install system-config-network-tui
# yum install ntsysv
# yum install vim-enhanced

Disable firewall

# chkconfig ip6tables off
# chkconfig iptables off
# service ip6tables stop
# service iptables stop

Disable SELinux

In /etc/selinux/config change line 
 SELINUX=enforcing
to
 SELINUX=disabled
and reboot server.

Configure Network

Set correct values tu /etc/hosts

Set Timeserver (ntpd)

Prosím někoho kdo ví jaká jsou pravidla pro řízení času aby to tu popsal

Set CLEVER commands executable everywhere

echo "export PATH=$PATH:/usr/local/plc/bin" > /etc/profile.d/plc_add_bin_path.sh

Install Tomcat

# yum install java-1.6.0-openjdk-devel
# yum install tomcat6
# yum install tomcat6-docs-webapp
# yum install tomcat6-admin-webapps
# chkconfig tomcat6 on
# service tomcat6 start
Personal tools