Linux系统的介绍(以下以Manjaro最新版为例子)

一、系统的安装:

  1、可以直接使用U盘做一个live usb的启动盘,在bios中设置从U盘启动即可拥有linux系统,如果是新式bios需要将secrut boot设置项关掉,按照向导操作即可。

  2、可以借助虚拟机体验,安装virtual box最新版本,注意系统的版本(32位还是64位),倒入我给你们的安装好的镜像文件,直接导入,启动运行即可。

  3、可以安装win10的linux子系统,简单体验即可,只是以后的命令稍有不同。

  4、可以使用物理机直接安装,这个可以向周围人求助,也可以到网上求助,我的学生可以直接找我,安装加配置过程大概需要1~2个小时即可。

二、系统配置:

  1、配置软件的命令,须使用root权限:

    (1)、vi /etc/pacman.d/mirrorlist 文件,大概如下:                    配置软件源,加快下载和安装的速度,选择自己最快的软件源即可。

  1 ##
  2 ## Manjaro Linux default mirrorlist
  3 ## Generated on 2017-10-28 05:27
  4 ##
  5 ## Please use 'pacman-mirrors -f NUMBER' to modify mirrorlist
  6 ## (Use 0 for all mirrors)
  7 ##
  8# Country : China
  9 Server = http://mirrors.tuna.tsinghua.edu.cn/manjaro/stable/$repo/$arch
 10 ## Country : China
 11 Server = https://mirrors.ustc.edu.cn/manjaro/stable/$repo/$arch
 12  ## Country : Japan
 13 Server = http://ftp.tsukuba.wide.ad.jp/Linux/manjaro/stable/$repo/$arch
 14  ## Country : France
 15 Server = http://kibo.remi.lu/stable/$repo/$arch
 16  ## Country : Australia
 17 Server = http://manjaro.mirror.serversaustralia.com.au/stable/$repo/$arch
 18  ## Country : United_Kingdom
 19 Server = http://manjaro.mirrors.uk2.net/stable/$repo/$arch
 20  ## Country : Belarus
 21 Server = http://mirror.datacenter.by/pub/mirrors/manjaro/stable/$repo/$arch
 22  ## Country : United_States
 23 Server = http://mirror.dacentec.com/manjaro/stable/$repo/$arch
 24  ## Country : United_States
 25 Server = http://mirror.solarvps.com/manjaro/stable/$repo/$arch
 26  ## Country : Hungary
 27 Server = http://mirror.infotronik.hu/mirrors/pub/manjaro/stable/$repo/$arch
 28  ## Country : Indonesia
 29 Server = http://kambing.ui.ac.id/manjaro/stable/$repo/$arch
 30  ## Country : Portugal
 31 Server = http://manjaro.barata.pt/stable/$repo/$arch
 32  ## Country : *
 33 Server = http://free.nchc.org.tw/manjaro/stable/$repo/$arch
 34  ## Country : Bulgaria
 35 Server = http://manjaro.telecoms.bg/stable/$repo/$arch
 36  ## Country : Austria
 37 Server = http://mirror.inode.at/manjaro/stable/$repo/$arch
 38  ## Country : Indonesia
 39 Server = http://kartolo.sby.datautama.net.id/manjaro/stable/$repo/$arch
 40 ## Country : Germany
 41 Server = http://mirror.ragenetwork.de/manjaro/stable/$repo/$arch
 42 ## Country : United_Kingdom
 43 Server = http://mirror.catn.com/pub/manjaro/stable/$repo/$arch
 44  ## Country : Spain
 45 Server = http://ftp.caliu.cat/manjaro/stable/$repo/$arch
 46  ## Country : Hong_Kong
 47 Server = http://ftp.cuhk.edu.hk/pub/Linux/manjaro/stable/$repo/$arch
 48  ## Country : Australia
 49 Server = http://manjaro.melbourneitmirror.net/stable/$repo/$arch
 50  ## Country : South_Africa
 51 Server = http://mirror.is.co.za/mirrors/manjaro.org/stable/$repo/$arch
 52 ## Country : United_States
 53 Server = https://mirrors.ocf.berkeley.edu/manjaro/stable/$repo/$arch
 54 ## Country : Germany
 55 Server = https://mirror.netcologne.de/manjaro/stable/$repo/$arch
 56 ## Country : United_States
 57 Server = https://mirror.clarkson.edu/manjaro/stable/$repo/$arch
 58 ## Country : United_Kingdom
 59 Server = https://www.mirrorservice.org/sites/repo.manjaro.org/repos/stable/$repo/$arch
 60 ## Country : Netherlands
 61 Server = https://manjaro.mirror.wearetriple.com/stable/$repo/$arch
 62 ## Country : United_States
 63 Server = https://mirror.math.princeton.edu/pub/manjaro/stable/$repo/$arch
 64 ## Country : Chile
 65 Server = http://manjaro.dcc.uchile.cl/stable/$repo/$arch
 66 ## Country : Denmark
 67 Server = https://www.uex.dk/repos/manjaro/stable/$repo/$arch
 68 ## Country : Bulgaria
 69 Server = https://manjaro.ipacct.com/manjaro/stable/$repo/$arch
 70 ## Country : Germany
 71 Server = https://mirror.alpix.eu/manjaro/stable/$repo/$arch
 72 ## Country : Canada
 73 Server = https://osmirror.org/manjaro/stable/$repo/$arch
 74 ## Country : Belgium
 75 Server = https://manjaro.cu.be/stable/$repo/$arch
 76 ## Country : Netherlands
 77 Server = https://nl.mirror.babylon.network/manjaro/stable/$repo/$arch
 78 ## Country : France
 79 Server = https://fr.mirror.babylon.network/manjaro/stable/$repo/$arch
 80 ## Country : Russia
 81 Server = https://mirror.yandex.ru/mirrors/manjaro/stable/$repo/$arch
 82 ## Country : Czech
 83 Server = https://mirror.dkm.cz/manjaro/stable/$repo/$arch
 84 ## Country : Romania
 85 Server = http://mirrors.serverhost.ro/manjaro/packages/stable/$repo/$arch
 86 ## Country : Ecuador
 87 Server = https://mirror.cedia.org.ec/manjaro/stable/$repo/$arch
 88  ## Country : Costa_Rica
 89 Server = https://mirrors.ucr.ac.cr/manjaro/stable/$repo/$arch
 90 ## Country : United_Kingdom
 91 Server = http://repo.manjaro.org.uk/stable/$repo/$arch
 92 ## Country : Germany
 93 Server = https://manjaro-mirror-a.alpix.eu/stable/$repo/$arch
 94 ## Country : Denmark
 95 Server = https://mirrors.dotsrc.org/manjaro/stable/$repo/$arch
 96 ## Country : Germany
 97 Server = https://repo.rhindon.net/manjaro/stable/$repo/$arch
 98 ## Country : Germany
 99 Server = http://babyname.tips/mirrors/manjaro/stable/$repo/$arch
100  ## Country : Germany
101 Server = http://ftp.tu-chemnitz.de/pub/linux/manjaro/stable/$repo/$arch
102  ## Country : Singapore
103 Server = https://download.nus.edu.sg/mirror/manjaro/stable/$repo/$arch
104 ## Country : France
105 Server = http://ftp.free.org/mirrors/repo.manjaro.org/repos/stable/$repo/$arch
106 ## Country : Netherlands
107 Server = https://mirror.koddos.net/manjaro/stable/$repo/$arch
108 ## Country : Germany
109 Server = https://ftp.halifax.rwth-aachen.de/manjaro/stable/$repo/$arch
110 ## Country : Turkey
111 Server = http://ftp.linux.org.tr/manjaro/stable/$repo/$arch
112 ## Country : Ireland
113 Server = https://ftp.heanet.ie/mirrors/manjaro/stable/$repo/$arch
114 ## Country : Portugal
115 Server = http://ftp.dei.uc.pt/pub/linux/manjaro/stable/$repo/$arch
116 ## Country : Netherlands
117 Server = https://ftp.nluug.nl/pub/os/Linux/distr/manjaro/stable/$repo/$arch
118 ## Country : Netherlands
119 Server = http://ftp.snt.utwente.nl/pub/linux/manjaro/stable/$repo/$arch
120 ## Country : Sweden
121 Server = https://ftp.lysator.liu.se/pub/manjaro/stable/$repo/$arch
122 ## Country : Germany
123 Server = https://mirror.netzspielplatz.de/manjaro/packages/stable/$repo/$arch

  文件说明:

    (1)、以#开始的行都是被注释掉的,文件在被解析时是无用的

    (2)、容易看出前7行都为注释

    (3)、第9行## Country : China虽然是注释行,表明以下是中国的内容

    (4)、第10行Server = http://mirrors.tuna.tsinghua.edu.cn/manjaro/stable/$repo/$arch文件主要有

      a、Server=设置Server变量,内容在赋值符号右边

      b、http://mirrors.tuna.tsinghua.edu.cn说明使用清华大学的的镜像服务,九江的访问不够稳定

      c、manjaro对应的linux镜像名称与发行版本名称一致

      d、stable说明使用的稳定源,可以是testing或unstable源,有风险

      e、后面的$repo/$arch就是套路,知道有这个内容就行了

    (5)、我一般使用中国科大的软件源,但是清华的源是第一个,只要将第10行注释掉,也就是在行首加上个#就好了

    (6)、这样实际起作用的就是第13行代码,其他依次类推,更加激进的是将不需要的行全部删除即可。

  2、软件更改(需要有root的权限):

    (1)、在线安装软件:pacman -S vim

    (2)、离线安装软件:pacman -U vim

    (3)、查询系统软件:pacman -Q vim

    (4)、删除已装软件:pacman -R vim

    (5)、升级全部软件:pacman -Syyu

  3、安装必备的软件:

    (1)、开发工具:gcc make gdb 前面三个必须,kdgb netbeans okteta bless选装等

    (2)、编辑工具:vim kate atom vscode等任选一个即可

    (3)、其他工具:qstardict字典翻译 kicad电路制版 umlet uml设计工具 arduino世界级的单片机开发工具 Fritzing开源的软件仿真工具

    (4)、教育软件:Ktouch Ktuitle step等

    (5)、游戏软件:0AD实时战争类 Wesnoth策略类 Chromium-bsu射击类游戏 SuperTux竞速类游戏 Ksudoku 数独游戏 pingus儿童类游戏 frozen bubble泡泡龙,assaultcube枪战类游戏相当不错 Xonotic也不错

    (6)、其他推荐:chromium游览器的王者 firefox浏览器的万能 smplay看电影和听音乐的选择 kodi linux下的多媒体中心 VLC也不错 deepin-screen-recorder深度录屏工具也不错 simplescreenrecorder也不错