Open main menu

Wiki-Orange Pi β

Changes

Orange Pi Zero 3

649 bytes added, 15:27, 10 July 2023
The format of linux commands in this manual
<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></li></ol>
{| class="wikitable" style="width:800px;" |-| '''<span style="color:#FF0000">orangepi@orangepi:~$ </span> sudo apt update'''
'''<span style="color:#FF0000">root@orangepi:~#</span>''' '''vim /boot/boot.cmd'''
'''<span style="color:#FF0000">test@test:~$ </span> ssh [mailto:root@192.168.1.36 root@192.168.1.]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 '''<span style="color:#FF0000">$</span>''' 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 '''<span style="color:#FF0000">#</span>''' 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 '''<span style="color:#FF0000">$ </span>''' 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</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 '''<span style="color:#FF0000">#</span>''' 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 &quot;\&quot; 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&quot; | sudo tee /etc/apt/sources.list.d/docker.list &gt; /dev/null'''
|}</ol></li></ol>
<span id="linux-system-login-instructions"></span>