8,367
edits
Changes
→The format of Linux commands in this manual
# In this manual, all commands that need to be entered in the Linux system will be marked with the following box
::{| class="wikitable" style="width:800px;height:40px;" |-| <p>orangepi@orangepi:~$ '''sudo orangepi-config'''</p>|}::As shown below, the content in the yellow box indicates the content that needs special attention, except for the commands in it.::{| class="wikitable" style="background-color:#ffffdc;width:800px;height:40px;" |-| <big>'''注意,这里说的Linux镜像具体指的是从Orange Pi资料下载页面下载的Debian或者Ubuntu这样的Linux发行版镜像。'''</big>|}
<ol start="2" style="list-style-type: decimal;">
<li><p>Description of the prompt type in front of the command</p>
<ol style="list-style-type: lower-alpha;">
<li>The prompt in front of the command refers to the content of the red part in the box below, which is not part of the Linux command, so when entering the command in the Linux system, please do not enter the content of the red font part</li></ol>{| class="wikitable" style="width:800px;" |-| '''</lispan style="color:#FF0000">orangepi@orangepi:~$</olspan>sudo apt update'''
'''orangepi<span style="color:#FF0000">root@orangepi:~$ sudo apt update#</span>''' '''vim /boot/boot.cmd'''
'''root@orangepi<span style="color:~#''' '''vim /boot/boot.cmd''' '''FF0000">test@test:~$ </span> ssh [mailto:[email protected] [email protected].]xxx''' '''root@test:~# ls'''
'''<span style="color:#FF0000">root@test:~#</span> ls'''
|}
</ol>
<ol start="2" style="list-style-type: lower-alpha;">
<li><p>'''<span style="color:#FF0000">root@orangepi:~$</span>''' The prompt indicates that this command is entered in '''the Linux system of the development board'''. The $ at the end of the prompt indicates that the current user of the system is a normal user. When executing a privileged command, you need to add '''sudo'''</p></li><li><p>'''<span style="color:#FF0000">root@orangepi:~#</span>''' The prompt indicates that this command is entered in the Linux system of the development board, and the # at the end of the prompt indicates that the current user of the system is the root user, who can execute any desired command</p></li><li><p>'''<span style="color:#FF0000">test@test:~$</span>''' The prompt indicates that this command is entered in the Ubuntu PC or Ubuntu virtual machine, not in the Linux system of the development board. The $ at the end of the prompt indicates that the current user of the system is an ordinary user. When executing privileged commands, sudo needs to be added '''sudo'''</p></li><li><p>'''<span style="color:#FF0000">root@test:~#</span>''' The prompt indicates that this command is entered in the Ubuntu PC or Ubuntu virtual machine, not in the Linux system of the development board. The # at the end of the prompt indicates that the current user of the system is the root user and can execute any command you want</p></li></ol></li></ol>
<!-- -->
<ol start="3" style="list-style-type: decimal;">
<li><p>What are the commands that need to be entered?</p>
<ol style="list-style-type: lower-alpha;">
<li>As shown below, '''the black bold part''' is the command that needs to be input, and the content below the command is the output content (some commands have output, some may not), and this part of the content does not need to be input</li></ol></li></ol>{| class="wikitable" style="width:800px;" |-|
root@orangepi:~# '''cat /boot/orangepiEnv.txt'''
'''<span style="color:#FF0000">verbosity=7</span>'''
bootlogo=false
'''<span style="color:#FF0000">console=serial</span>'''|}</ol>
<ol start="2" style="list-style-type: lower-alpha;">
<li>As shown below, some commands cannot be written in one line and will be placed on the next line. As long as the black and bold parts are all commands that need to be input. When these commands are entered into one line, the last "\" of each line needs to be removed, this is not part of the command. In addition, there are spaces in different parts of the command, please don’t miss it</li></ol>{| class="wikitable" style="width:800px;" |-|
orangepi@orangepi:~$ '''echo \'''
'''$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null'''
|}
</ol>
</li></ol>
<span id="linux-system-login-instructions"></span>
== Linux system login instructions ==