ustclug / linux101-docs Goto Github PK
View Code? Open in Web Editor NEWLinux 101 学生课程教材与讲义
Home Page: https://101.lug.ustc.edu.cn
License: Creative Commons Attribution Share Alike 4.0 International
Linux 101 学生课程教材与讲义
Home Page: https://101.lug.ustc.edu.cn
License: Creative Commons Attribution Share Alike 4.0 International
可以考虑简单介绍一下三种基本的网卡模式
要输入gnome-tweaks才行
For "Python Programming Language on Linux" there are many ways to organize the packages. conda
is often used in scientific computing community. I suggest mentioning it in the lecture notes as well.
我解压的时候完全不知道按ctrl+H可以查看隐藏文件夹……还是去群里问了一下,不然建好了都不知道.themes在哪儿
在“第三章”的“安装预编译可执行文件”中的“安装预编译的 LLVM”的例子的最后一段
“在上面的复制过程中,源目录和目标目录的两个 bin 目录会相互合并,clang 和 clang++ 两个可执行文件也就倍复制到了 /usr/local/bin/ 目录中。这样子也就达到了我们希望能够在任意地方调用我们的可执行文件的目的。此外,在复制的时候 lib、doc 等文件夹也会和 /usr/local 下的对应目录合并,将 clang 的库和文档加到系统当中。”
莫名地出现了“被”拼写成了“倍”的情况。:()
docker container ls 和docker ps 一样只能查看运行中的容器,并不能查看已经停止的容器
如果没有加上 --rm,退出后可以使用 docker ps -a 或者 docker container ls 查看系统中所有的容器。
这里应该给docker container ls 加上-a
我是 B站上 LeisureLinux Up主,平常对文档的编写也比较关心,自己也想着写一本 《Systemd 101》 的书。我的粉丝中也有很多大学生或者毕业不久的同学。 感觉很多人还是对于使用网络资源有很大的障碍,国内高校的各种镜像其实是解决这个障碍的重要跳板。
建议:《Linux 101》 的图书编写中,结合科大镜像站内的源,介绍源的使用。例如:
附录中关于 SELInux 的小节中有一段:
“ 清华大学 TUNA 协会曾在活动中做过 SELinux 的使用介绍,希望进一步了解 SELinux 的同学可以在线观看其活动录像。”
但 “ 活动录像 ” 无访问权限
红框中应该是 $ # 此时 $1 和 $2 已不存在
您好,请问有没有办法将本书转化为本地的PDF?不太喜欢看网页,谢谢!
The current Linux 101 Ch01 documentation contains an outdated recommendation regarding the choice of image:
推荐选用和自己系统字长相匹配的镜像。如果不确定自己的电脑是 32 位还是 64 位,可选择 32 位版。
This recommendation may no longer be applicable to most users given the prevalence of 64-bit systems.
Additionally, a significant consideration to note is the decrease in performance when emulating a 64-bit system on a 32-bit system. This issue is elaborated on in this Zhihu article:
然而,承办学校有很多 32-bit 的 Windows 7,而在 32-bit 上模拟 64-bit 的性能非常堪忧——用户态的程序没法借用本地的页表,所以全系统都要模拟执行,而且内核模拟的负担也大了很多。
相关邮件咨询:
请问mac m1版本如何配置linux虚拟机呢?教程中的方法似乎并不能用
可以在第一章「拓展阅读」里面加入相关的内容(对 x86_64 和 ARM64 两种体系结构的简单解说、使用 UTM 或者 VMware Fusion 之类的软件安装 ARM64 架构的 Ubuntu 的说明、以及能否用 UTM 直接跑 x86_64 架构的带桌面环境的 Linux?至于虚拟机预配置的镜像我感觉可以暂时不考虑)
我的电脑是m2芯片的mac,于是按照第一章的mac安装虚拟机教程,安装了VMWare Fusion,又安装了ubuntu 20.04.6 LTS。随后我自行上网安装了Xfce和firefox浏览器
然而在按照第二章教程本地部署wordpress时遇到了上图的报错,即Error establishing a database connection,我试图上网检索这个报错,但是这个报错对应的可能性错误太多了,作为刚接触linux,不了解前后端的小白比较难以一一排查,遂在这里提问。我的猜测是,我的虚拟机是否比官方给出的Xubuntu 的虚拟机镜像少安装了某几个软件,导致了这个错误?
(如果这个问题太蠢,请轻喷QAQ)
mv -r *.[ch] /path無效
yibotian@Nicolette86132:~/files_operate_test$ mv -r *.[ch] ./test2
mv: invalid option -- 'r'
Try 'mv --help' for more information.
yibotian@Nicolette86132:~/files_operate_test$ tree
.
├── test1
│ ├── test1.txt
│ ├── test2
│ │ └── test3
│ ├── test2.txt
│ └── tset2
│ ├── test1.txt
│ └── test2.txt
├── test1.txt
├── test2
│ └── tset2
│ ├── test1.txt
│ └── test2.txt
├── test.c
└── test.h
6 directories, 9 files
yibotian@Nicolette86132:~/files_operate_test$ mv --version
mv (GNU coreutils) 8.32
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Mike Parker, David MacKenzie, and Jim Meyering.
yibotian@Nicolette86132:~/files_operate_test$ screenfetch
./+o+- yibotian@Nicolette86132
yyyyy- -yyyyyy+ OS: Ubuntu 22.04 jammy
://+//////-yyyyyyo Kernel: x86_64 Linux 5.19.0-45-generic
.++ .:/++++++/-.+sss/` Uptime: 4h 35m
.:++o: /++++++++/:--:/- Packages: 1675
o:+o+:++.`..```.-/oo+++++/ Shell: bash 5.1.16
.:+o:+o/. `+sssoo+/ Resolution: 1920x1080
.++/+:+oo+o:` /sssooo. DE: GNOME 41.7
/+++//+:`oo+o /::--:. WM: Mutter
\+/+o+++`o++o ++////. WM Theme: Adwaita
.++.o+++oo+:` /dddhhh. GTK Theme: Yaru-blue-dark [GTK2/3]
.+.o+oo:. `oddhhhh+ Icon Theme: Yaru-blue
\+.++o+o``-````.:ohdhhhhh+ Font: Ubuntu 11
`:o+++ `ohhhhhhhhyo++os: Disk: 52G / 175G (31%)
.o:`.syhhhhhhh/.oo++o` CPU: Intel Core i5-9300HF @ 8x 4.1GHz [71.0°C]
/osyyyyyyo++ooo+++/ GPU: GeForce GTX 1650 Mobile / Max-Q
````` +oo+++o\: RAM: 4080MiB / 7856MiB
`oo++.
mv -t /path *.[ch]
yibotian@Nicolette86132:~/files_operate_test$ mv -t test2 *.[ch]
yibotian@Nicolette86132:~/files_operate_test$ tree
.
├── test1
│ ├── test1.txt
│ ├── test2
│ │ └── test3
│ ├── test2.txt
│ └── tset2
│ ├── test1.txt
│ └── test2.txt
├── test1.txt
└── test2
├── test.c
├── test.h
└── tset2
├── test1.txt
└── test2.txt
6 directories, 9 files
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.