Это старая версия документа.



Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/users/p/prom-auto/domains/prom-auto.ru/wiki/inc/parser/handler.php on line 1458

Warning: Declaration of syntax_plugin_tablecalc::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /home/users/p/prom-auto/domains/prom-auto.ru/wiki/lib/plugins/tablecalc/syntax.php on line 41

Warning: Declaration of syntax_plugin_tablecalc::render($mode, &$renderer, $data) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /home/users/p/prom-auto/domains/prom-auto.ru/wiki/lib/plugins/tablecalc/syntax.php on line 72

Warning: Declaration of syntax_plugin_offline::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /home/users/p/prom-auto/domains/prom-auto.ru/wiki/lib/plugins/offline/syntax.php on line 60

Warning: Declaration of syntax_plugin_offline::render($format, &$renderer, $data) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /home/users/p/prom-auto/domains/prom-auto.ru/wiki/lib/plugins/offline/syntax.php on line 67

Warning: preg_match(): Compilation failed: invalid range in character class at offset 3416 in /home/users/p/prom-auto/domains/prom-auto.ru/wiki/inc/parser/lexer.php on line 118
A PCRE internal error occured. This might be caused by a faulty plugin

====== Text mode basics ====== **iso**\\ http://isoredirect.centos.org/centos/6/isos/ ===== network and mc ===== # dhclient eth0 # yum install mc /etc/sysconfig/network: NETWORKING=yes /etc/sysconfig/network-scripts/ifcfg-eth0: DEVICE=eth0 BOOTPROTO=dhcp ONBOOT=yes [[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)]] ===== install shh ===== [[http://www.cyberciti.biz/faq/centos-ssh/|(src1)]] [[http://www.cyberciti.biz/faq/how-to-installing-and-using-ssh-client-server-in-linux/|(src2)]] **on the server side**\\ # yum -y install openssh-server openssh-clients # service sshd start **on the client side:** $ ssh-keygen -t rsa $ ssh-copy-id -i ~/.ssh/id_rsa.pub admin@192.168.1.8 $ ssh-add $ ssh root@192.168.1.8 **on the server side again:** edit ///etc/ssh/sshd_config//: AuthorizedKeysFile /etc/ssh/%u/authorized_keys and do: # rmtuser=admin # mkdir -p /etc/ssh/${rmtuser} # cp /home/${rmtuser}/.ssh/authorized_keys /etc/ssh/${rmtuser}/ # chown -R ${rmtuser}:${rmtuser} /etc/ssh/${rmtuser} -R # chmod 755 /etc/ssh/${rmtuser} # chmod 644 /etc/ssh/${rmtuser}/authorized_keys # service sshd restart **on the client side:** $ ssh admin@192.168.1.8 ===== install make ===== # yum install kernel-devel # yum install make # yum install gcc ===== CPU temperature ===== ''# yum install lm_sensors''\\ ''# sensors-detect''\\ ''$ sensors''\\ ===== UPort ===== **uport:** # yum upgrade # yum install make # yum install gcc # make install ===== RpSvrTcp port ===== **open port 3033**\\ /etc/sysconfig/iptables:<code> -A INPUT -m state --state NEW -m tcp -p tcp --dport 3033 -j ACCEPT</code> ''# service iptables restart'' ===== DELETE ===== ''# dhclient eth0''\\ ''# yum install mc''\\ /etc/sysconfig/network: NETWORKING=yes /etc/sysconfig/network-scripts/ifcfg-eth0: DEVICE=eth0 BOOTPROTO=dhcp ONBOOT=yes [[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)]] ''# yum -y install openssh-server openssh-clients'' /etc/ssh/sshd_config: PermitRootLogin no ''# chkconfig sshd on''\\ ''# service sshd start''\\ ''# yum install kernel-devel''\\ ''# yum install make''\\ ''# yum install gcc ''\\

dev/centos/textmode.1366357548.txt.gz · Последние изменения: 2013/04/19 11:45 — jamis7005
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0