![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=1739282535-F7tnDTcjepSPFaMdN9z2az4ssL8Wo9mF-0-44bac0eff941e362d8539ef1b0432caa)
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=1739282535-NVWhRfBLoCSUkOrf1w4YqZSNhrwHjjWJ-0-3bb2100fb8f5d68a49878d6304f4e121)
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=1739282535-ER9773bYLidketbE6iUyAIZF1jp3776O-0-c98f745bbf37d44ae2855c080d4b9d9f)