Download presentation
Presentation is loading. Please wait.
Published byClaud Harrell Modified over 9 years ago
1
The Network Management Lab pc1 10.10.0.1 pc2 10.10.0.2 pc3 10.10.0.3 pc4 10.10.0.4 pc5 10.10.0.5... Virtual Servers Your Laptop
2
Our chosen platform is: Ubuntu Linux, server edition, 32-bit, 10.04 LTS Not using GUI, administer using command line In production you may prefer 64-bit (x86_64) LTS = Long Term Support release There are other platforms you could use CentOS / RedHat, FreeBSD,... This isn't a Unix admin course Worksheets are step by step Please help each other or ask us for help
3
You need to be able to... Login using ssh putty.exe (Google for "putty ssh") connect to "pcX.ws.nsrc.org" (or 10.10.0.1-24) Be root when necessary: sudo "sudo bash" for root shell, ctrl-D to exit it You'll see # prompt for root, $ for normal user Install packages sudo apt-get install joe Edit files [sudo] joe /etc/motd.tail
4
joe editor Ctrl-C to quit without saving Ctrl-K X to quit and save Ctrl-K H for help There's a reminder on the top row! Cursor keys work how you expect them! There's a quick reference PDF in the materials
5
Other tools Terminate foreground program: ctrl-C (not Z) Rename and delete files mv file file.bak rm file.bak Start and stop services /etc/init.d/apache2 restart service apache2 restart Show running processes ps auxwww | grep apache
6
Please now: Login to your virtual server using ssh Install package 'joe' sudo apt-get update sudo apt-get install joe Create a file for the "message of the day" to identify your machine as yours sudo joe /etc/motd.tail (Feel free to use vi or nano or pico or whatever) Log out and login again
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.