Skip to content

Commit 7e0d856

Browse files
committed
New questions and spell check (bregman-arie#181)
Added new questions related with KVM, Libvirt and DNF
1 parent c0ddb8f commit 7e0d856

File tree

1 file changed

+55
-1
lines changed

1 file changed

+55
-1
lines changed

README.md

Lines changed: 55 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1757,6 +1757,17 @@ In addition, you can specify in a spec how a certain package will be installed -
17571757

17581758
#### Linux DNF
17591759

1760+
<details>
1761+
<summary>What is DNF?</summary><br><b>
1762+
1763+
From the [repo](https://github.com/rpm-software-management/dnf):
1764+
1765+
"Dandified YUM (DNF) is the next upcoming major version of YUM. It does package management using RPM, libsolv and hawkey libraries."
1766+
1767+
Official [docs](https://dnf.readthedocs.io/en/latest/)
1768+
1769+
</b></details>
1770+
17601771
<details>
17611772
<summary>How to look for a package that provides the command /usr/bin/git? (the package isn't necessarily installed)</summary><br><b>
17621773

@@ -1973,10 +1984,32 @@ In time namespaces processes can use different system time.
19731984

19741985
<details>
19751986
<summary>What virtualization solutions are available for Linux?</summary><br><b>
1987+
1988+
* [KVM](https://www.linux-kvm.org/page/Main_Page)
1989+
* [XEN](http://www.xen.org/)
1990+
* [VirtualBox](https://www.virtualbox.org/)
1991+
* [Linux-VServer](http://linux-vserver.org/Welcome_to_Linux-VServer.org)
1992+
* [User-mode Linux](http://user-mode-linux.sourceforge.net/)
1993+
* ...
19761994
</b></details>
19771995

19781996
<details>
19791997
<summary>What is KVM?</summary><br><b>
1998+
1999+
Is an open source virtualization technology used to operate on x86 hardware.
2000+
2001+
From the official [docs](https://www.linux-kvm.org/page/Main_Page)
2002+
Recommended read:
2003+
* [Red Hat Article - What is KVM?](https://www.redhat.com/en/topics/virtualization/what-is-KVM)
2004+
</b></details>
2005+
2006+
<details>
2007+
<summary>What is Libvirt?</summary><br><b>
2008+
2009+
It's an open source collection of software used to manage virtual machines. It can be used with: KVM, Xen, LXC and others. It's also called Libvirt Virtualization API.
2010+
2011+
From the official [docs](https://libvirt.org/)
2012+
Hypervisor supported [docs](https://libvirt.org/drivers.html)
19802013
</b></details>
19812014

19822015
#### Linux - AWK
@@ -4255,11 +4288,32 @@ PEP8 is a list of coding conventions and style guidelines for Python
42554288
#### Flask
42564289

42574290
<details>
4258-
<summary>Can you describe what is Django/Flask and how you have used it? Why Flask and not Djano? (or vice versa)</summary><br><b>
4291+
<summary>Can you describe what is Django/Flask and how you have used it? Why Flask and not Django? (or vice versa)</summary><br><b>
42594292
</b></details>
42604293

42614294
<details>
42624295
<summary>What is a route?</summary><br><b>
4296+
As every web framework, Flask provides a route functionality that lets you serve a content of a given URL.
4297+
4298+
There are multiple ways to map a URL with a function in Python.
4299+
4300+
- Decorator: you can use python decorators. In this case we're using `app`. This `app` decorator is the instance of the `Flask` class. And route it's a method of this class.
4301+
4302+
```
4303+
@app.route('/')
4304+
def home():
4305+
return 'main website'
4306+
```
4307+
4308+
- `add_url_rule` method: This is a method of the Flask class. We can also use it for map the URL with a function.
4309+
4310+
```
4311+
def home():
4312+
return 'main website'
4313+
4314+
app.add_url_rule('/', view_func=home)
4315+
```
4316+
42634317
</b></details>
42644318

42654319
<details>

0 commit comments

Comments
 (0)