Различия

Здесь показаны различия между двумя версиями данной страницы.

Ссылка на это сравнение

Предыдущая версия справа и слева Предыдущая версия
Следующая версия
Предыдущая версия
dev:centos:textmode [2013/04/19 11:46]
jamis7005 [install shh]
dev:centos:textmode [2013/05/06 11:22] (текущий)
jamis7005 [disable daemons]
Строка 5: Строка 5:
 http://​isoredirect.centos.org/​centos/​6/​isos/​ http://​isoredirect.centos.org/​centos/​6/​isos/​
  
-===== network and mc =====+===== network ​(static)===== 
 +<​code>​ 
 +# vi /​etc/​sysconfig/​network-scripts/​ifcfg-eth0 
 +  DEVICE=eth0 
 +  BOOTPROTO=none 
 +  ONBOOT=yes 
 +  HWADDR=06:​01:​78:​a7:​00:​33 
 +  NETMASK=255.255.255.0 
 +  IPADDR=192.168.0.10 
 +  TYPE=Ethernet 
 +</​code>​ 
 + 
 +<​code>​ 
 +# vi /​etc/​sysconfig/​network 
 +  NETWORKING=yes 
 +  NETWORKING_IPV6=no 
 +  HOSTNAME=jroboplc.centos 
 +  GATEWAY=192.168.0.1 
 +</​code>​ 
 + 
 +<​code>​ 
 +# vi /​etc/​resolv.conf 
 +  nameserver 192.168.0.1 
 +</​code>​ 
 + 
 +  # service network restart 
 +   
 +   
 + 
 + 
 +===== network (dhcp) ​and mc =====
  
  
Строка 20: Строка 50:
 [[http://​www.centos.org/​docs/​5/​html/​Deployment_Guide-en-US/​s1-dhcp-configuring-client.html|(src1)]] [[http://​www.centos.org/​docs/​5/​html/​Deployment_Guide-en-US/​s1-dhcp-configuring-client.html|(src1)]]
 [[http://​www.dizwell.com/​2011/​07/​11/​network-configuration-in-minimal-linux-installs/​|(src2)]] [[http://​www.dizwell.com/​2011/​07/​11/​network-configuration-in-minimal-linux-installs/​|(src2)]]
 +===== add user plc=====
 +  # adduser plc
 +  # passwd plc
  
 +===== disable daemons =====
 +  # chkconfig --del auditd
 +  # chkconfig --del postfix
 +  # chkconfig --del netfs
 +  # chkconfig --del nfslock
 +  # chkconfig --del fcoe
 +  # chkconfig --del ip6tables
 +  # chkconfig --del iscsi
 +  # chkconfig --del iscsid
 +  # chkconfig --del lldpad
 +  # chkconfig --del lvm2-monitor
 +  # chkconfig --del rpcbind
 +  # chkconfig --del rpcidmapd
 +  # chkconfig --del rpcgssd
 +  # chkconfig --del udev-post
  
 +===== power button shutdown ===== 
 +  # yum -y install acpid 
 +  # service acpid start 
 +  # chkconfig acpid on
 ===== install shh ===== ===== install shh =====
  
 [[http://​www.cyberciti.biz/​faq/​centos-ssh/​|(src1)]] [[http://​www.cyberciti.biz/​faq/​centos-ssh/​|(src1)]]
 [[http://​www.cyberciti.biz/​faq/​how-to-installing-and-using-ssh-client-server-in-linux/​|(src2)]] [[http://​www.cyberciti.biz/​faq/​how-to-installing-and-using-ssh-client-server-in-linux/​|(src2)]]
 +[[https://​help.ubuntu.com/​community/​SSH/​OpenSSH/​Keys#​Troubleshooting|troubleshooting]]
  
 **on the server side**\\ **on the server side**\\
Строка 64: Строка 116:
 ''​$ sensors''​\\ ''​$ sensors''​\\
  
-  ​+===== serial ports ===== 
 +[[http://​www.cyberciti.biz/​hardware/​5-linux-unix-commands-for-connecting-to-the-serial-console/​|(serial)]] 
 +[[http://​ubuntuforums.org/​showthread.php?​t=1203883|(permissions)]] 
 +  # dmesg | egrep --color '​serial|ttyS'​ 
 +  # usermod -a -G dialout plc 
 +test post access: ​  
 +  # yum install setserial 
 +  $ setserial -g /​dev/​ttyS0 ​
   ​   ​
 ===== UPort ===== ===== UPort =====
Строка 75: Строка 134:
   ​   ​
   ​   ​
 + 
 +===== install java =====
 +  # mkdir /​media/​asutp/​jvm
 +  # cp .../​jre-xxx.tar.gz /​media/​asutp/​jvm
 +  # cd /​media/​asutp/​jvm
 +  # tar -xzf jre-xxx.tar.gz
 +  # ln -s jre-xxx jre
 +  # echo "​export JRE_HOME=/​media/​asutp/​jvm/​jre"​ > /​etc/​profile.d/​java.sh
 +  # echo "​export PATH=\$PATH:​\$JRE_HOME/​bin"​ >> /​etc/​profile.d/​java.sh
 +
 + 
 +
   ​   ​
 ===== RpSvrTcp port ===== ===== RpSvrTcp port =====
dev/centos/textmode.1366357587.txt.gz · Последние изменения: 2013/04/19 11:46 — jamis7005
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0