![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=1739411799-lkxYHNCAjxxsBN5CEJWyRYca3eZZDmmd-0-19a1345d0c5e9286768894cdd8d0ab20)
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=1739411799-ZWfZPKDMjgQNSrOHbBAwx2rmFPEU0gKs-0-c080bd54d6bc33d54390b6e11ff584d1)
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=1739411799-88MkK29MRLP25rf1i0icALm8CKHLhMBP-0-73b0714562f8e183223ecfe6c2f3bc7d)