![Broadcom Stingray PS225 Скачать руководство пользователя страница 24](http://html.mh-extra.com/html/broadcom/stingray-ps225/stingray-ps225_quick-start-manual_2815726024.webp)
Broadcom Confidential
5880X-PS225-UG101
24
PS225
User Guide
Quick Start Guide
lab@ubuntu:/$
sudo route add default gw 192.168.1.20
lab@ubuntu:/$
sudo nano /etc/resolvconf/resolv.conf.d/head
e. Add the following line to /etc/resolvconf/resolv.conf.d/head:
nameserver 8.8.8.8
lab@ubuntu:/$
sudo resolvconf -u
f. Test it by pinging Google:
lab@ubuntu:/$
ping google.com
g. Install something useful with the apt command:
lab@ubuntu:/$
sudo apt update
Install gcc, for example.
lab@ubuntu:/$
sudo apt install gcc
lab@ubuntu:~$
sudo su
root@ubuntu:~$
sed 's/PasswordAuthentication/# PasswordAuthentication/g' -i /etc/ssh/sshd_config
root@ubuntu:/home/lab# dpkg-reconfigure openssh-server
h. On the host, SSH from the host to the PS225 using the following command:
byang@byang-PowerEdge-2950:~$
Broadcom
Confidential
Содержание Stingray PS225
Страница 31: ...B r o a d c o m C o n f i d e n t i a l ...