<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>archive</title><link>https://archive-w.netlify.app/devops/os/linux/</link><description>Recent content on archive</description><generator>Hugo</generator><language>zh-CN</language><atom:link href="https://archive-w.netlify.app/devops/os/linux/index.xml" rel="self" type="application/rss+xml"/><item><title/><link>https://archive-w.netlify.app/devops/os/linux/auto-up/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://archive-w.netlify.app/devops/os/linux/auto-up/</guid><description>&lt;h1 id="配置linux开机自启动">
 配置Linux开机自启动
 &lt;a class="anchor" href="#%e9%85%8d%e7%bd%aelinux%e5%bc%80%e6%9c%ba%e8%87%aa%e5%90%af%e5%8a%a8">#&lt;/a>
&lt;/h1>
&lt;h2 id="方式一rclocal启动说明">
 方式一，(rc.local)启动说明
 &lt;a class="anchor" href="#%e6%96%b9%e5%bc%8f%e4%b8%80rclocal%e5%90%af%e5%8a%a8%e8%af%b4%e6%98%8e">#&lt;/a>
&lt;/h2>
&lt;ul>
&lt;li>
&lt;p>脚本位置&lt;/p>
&lt;p>&lt;code>/etc/rc.local -&amp;gt; /etc/rc.d/rc.local&lt;/code>&lt;/p>
&lt;/li>
&lt;li>
&lt;p>脚本内容&lt;/p>
&lt;div class="outer yosemite">&lt;div class="dot red">&lt;/div>&lt;div class="dot amber">&lt;/div>&lt;div class="dot green">&lt;/div>&lt;/div>
&lt;div class="code-toolbar">&lt;pre data-lang="shell" data-line="" class="language-shell line-numbers" style="max-height: none">&lt;code class="language-shell"> #!/bin/bash
 # THIS FILE IS ADDED FOR COMPATIBILITY PURPOSES
 #
 # It is highly advisable to create own systemd services or udev rules
 # to run scripts during boot instead of using this file.
 #
 # In contrast to previous versions due to parallel execution during boot
 # this script will NOT be run after all other services.
 #
 # Please note that you must run 'chmod +x /etc/rc.d/rc.local' to ensure
 # that this script will be executed during boot.

 touch /var/lock/subsys/local


 # nexus(maven personal server)
 # https://download.sonatype.com/nexus/oss/nexus-2.14.10-01-bundle.tar.gz
 su elizabeth -c &amp;quot;/home/elizabeth/nexus/nexus-2.14.10-01/bin/runself&amp;quot;

 # tomcat launch by self
 su elizabeth -c &amp;quot;/home/elizabeth/tomcat-8/apache-tomcat-8.0.53/bin/runself&amp;quot;

 # frp(forNAT)
 su elizabeth -c &amp;quot;/home/elizabeth/frp/frp_0.20.0_linux_amd64/frp_0.20.0_linux_amd64/runself&amp;quot;

 #su elizabeth -c &amp;quot;nohup /home/elizabeth/frp/frp_0.20.0_linux_amd64/frp_0.20.0_linux_amd64/frps -c frps.ini &amp;gt;frps.log 2&amp;gt;&amp;amp;1 &amp;amp;&amp;quot;


 # redis into end to ensure boot successfully
 /home/elizabeth/redis-4/redis-4.0.11/src/redis-server

 exit 0

&lt;/code>&lt;/pre>&lt;/div>
&lt;/li>
&lt;li>
&lt;p>nexus(runself)&lt;/p></description></item><item><title/><link>https://archive-w.netlify.app/devops/os/linux/no-pass-login/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://archive-w.netlify.app/devops/os/linux/no-pass-login/</guid><description>&lt;ul>
&lt;li>
&lt;h2 id="introlinux免密登录">
 Intro(Linux免密登录)
 &lt;a class="anchor" href="#introlinux%e5%85%8d%e5%af%86%e7%99%bb%e5%bd%95">#&lt;/a>
&lt;/h2>
&lt;p class="warn">参考：


 
 

 
 
 
 
 
 
 
 &lt;a href='../../../network/ssh/#ssh%e7%99%bb%e5%bd%95' rel="noopener" class="internal-link" data-src="../../../network/ssh/#ssh%e7%99%bb%e5%bd%95">SSH登录&lt;/a>&lt;/p>
&lt;/li>
&lt;li>
&lt;h2 id="reference">
 Reference
 &lt;a class="anchor" href="#reference">#&lt;/a>
&lt;/h2>
&lt;ol>
&lt;li>


 
 

 
 
 
 
 
 
 
 &lt;a href='../../../network/ssh/#ssh%e7%99%bb%e5%bd%95' rel="noopener" class="internal-link" data-src="../../../network/ssh/#ssh%e7%99%bb%e5%bd%95">SSH登录&lt;/a>&lt;/li>
&lt;/ol>
&lt;/li>
&lt;/ul></description></item></channel></rss>