![Linux Administration Cookbook](https://wfqqreader-1252317822.image.myqcloud.com/cover/18/36699018/b_36699018.jpg)
上QQ阅读APP看书,第一时间看更新
Logging in from the VirtualBox window
Clicking into our VM, as we did during installation, will allow us to type at the login prompt:
![](https://epubservercos.yuewen.com/B4003C/19470383308832706/epubprivate/OEBPS/Images/fffbf2d8-5938-46fe-b6a4-734366bf27e6.png?sign=1739278297-AJJkCKmUDx3uf9oFYIriWfkudETyXJ3p-0-a1461c7c4debfe55f4089957f2053f4e)
We're going to use the user we created at installation time, rather than root.
Note that you also get a bit of information on login attempts since your last login. In this case, I failed my first attempt at logging in, and it tells me this:
![](https://epubservercos.yuewen.com/B4003C/19470383308832706/epubprivate/OEBPS/Images/5fa84258-fb53-4a5c-bd70-a4f1154c4afd.png?sign=1739278297-aZUvJnR0FJJj3sLBp9HOQioV5DmepZq2-0-83866d963365115a7d2d3f7d12e7e749)
Congratulations – you've installed CentOS!
It's very rare to find a Linux server with a graphical user interface ( GUI) installed, though it does happen. Of the thousands of servers I've worked with, I can count the number of times I've come across a GUI on one hand. It's usually cause for momentary confusion and distress, before concluding that someone had to have installed the GUI by accident – there can be no other explanation.
Before we go further, we're going to run a quick command to find the IP address of our machine:
$ ip a
ip a is a shorthand way of typing ip address which we will cover more later.
This gives us a lot of network information, but crucially it gives us the inet address of our network interface, 10.0.2.15:
![](https://epubservercos.yuewen.com/B4003C/19470383308832706/epubprivate/OEBPS/Images/24e3007d-88b0-4d93-91ce-faabf858a0f6.png?sign=1739278297-9rpjub8x12v15W20zANotBgDvzXBXeik-0-a6680006a91556e607c3b6973061ac46)