Ubuntu Server Guide
Eventually the initial subiquity installer screen shows up
Download 1.23 Mb. Pdf ko'rish
|
ubuntu-server-guide (1)
Eventually the initial subiquity installer screen shows up:
==================================================================== Willkommen ! Bienvenue ! Welcome ! ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ! Welkom ! ==================================================================== Use UP, DOWN and ENTER k e y s t o s e l e c t your l a n g u a g e . [ E n g l i s h > ] [ A s t u r i a n u > ] [ Cataln > ] [ H r v a t s k i > ] [ N e d e r l a n d s > ] [ Suomi > ] [ F r a n c a i s > ] [ Deutsch > ] [ Magyar > ] [ L a t v i e ?u > ] [ Norsk bokm? l > ] [ P o l s k i > ] [ Espanol > ] • From here just proceed with the installation as usual … (I’m leaving some pretty standard screenshots here just to give an example for a basic installation …) ==================================================================== Keyboard c o n f i g u r a t i o n ==================================================================== P l e a s e s e l e c t your keyboard l a y o u t below , o r s e l e c t ” I d e n t i f y keyboard ” t o d e t e c t your l a y o u t a u t o m a t i c a l l y . Layout : [ E n g l i s h (US) v ] V a r i a n t : [ E n g l i s h (US) v ] [ I d e n t i f y keyboard ] 364 [ Done ] [ Back ] ==================================================================== Zdev s e t u p ==================================================================== ID ONLINE NAMES ^ � dasd−eckd 0 . 0 . 1 6 0 0 > 0 . 0 . 1 6 0 1 > 0 . 0 . 1 6 0 2 > 0 . 0 . 1 6 0 3 > 0 . 0 . 1 6 0 4 > 0 . 0 . 1 6 0 5 > 0 . 0 . 1 6 0 6 > 0 . 0 . 1 6 0 7 > 0 . 0 . 1 6 0 8 > 0 . 0 . 1 6 0 9 > 0 . 0 . 1 6 0 a > 0 . 0 . 1 6 0 b > 0 . 0 . 1 6 0 c > 0 . 0 . 1 6 0 d > v [ Continue ] [ Back ] ==================================================================== Zdev s e t u p ==================================================================== ID ONLINE NAMES ^ � dasd−eckd 0 . 0 . 1 6 0 0 �������������� > 0 . 0 . 1 6 0 1 � >< ( c l o s e ) � 0 . 0 . 1 6 0 2 � > Enable � 0 . 0 . 1 6 0 3 � > D i s a b l e � 0 . 0 . 1 6 0 4 �������������� > 0 . 0 . 1 6 0 5 > 0 . 0 . 1 6 0 6 > 0 . 0 . 1 6 0 7 > 0 . 0 . 1 6 0 8 > 0 . 0 . 1 6 0 9 > 0 . 0 . 1 6 0 a > 0 . 0 . 1 6 0 b > 0 . 0 . 1 6 0 c > 0 . 0 . 1 6 0 d > v [ Continue ] 365 [ Back ] ==================================================================== Zdev s e t u p ==================================================================== ID ONLINE NAMES ^ � dasd−eckd 0 . 0 . 1 6 0 0 > 0 . 0 . 1 6 0 1 o n l i n e dasda > 0 . 0 . 1 6 0 2 > 0 . 0 . 1 6 0 3 > 0 . 0 . 1 6 0 4 > 0 . 0 . 1 6 0 5 > 0 . 0 . 1 6 0 6 > 0 . 0 . 1 6 0 7 > 0 . 0 . 1 6 0 8 > 0 . 0 . 1 6 0 9 > 0 . 0 . 1 6 0 a > 0 . 0 . 1 6 0 b > 0 . 0 . 1 6 0 c > 0 . 0 . 1 6 0 d > v [ Continue ] [ Back ] • One may hit the ‘End’ key here, that will automatically scroll down to the bottom of the Z devices list and screen: ==================================================================== Zdev s e t u p ==================================================================== 0 . 0 . f 1 d e : 0 . 0 . f 1 d f > ^ 0 . 0 . f 1 e 0 : 0 . 0 . f 1 e 1 > 0 . 0 . f 1 e 2 : 0 . 0 . f 1 e 3 > 0 . 0 . f 1 e 4 : 0 . 0 . f 1 e 5 > 0 . 0 . f 1 e 6 : 0 . 0 . f 1 e 7 > 0 . 0 . f 1 e 8 : 0 . 0 . f 1 e 9 > 0 . 0 . f 1 e a : 0 . 0 . f 1 e b > 0 . 0 . f 1 e c : 0 . 0 . f 1 e d > 0 . 0 . f 1 e e : 0 . 0 . f 1 e f > 0 . 0 . f 1 f 0 : 0 . 0 . f 1 f 1 > 0 . 0 . f 1 f 2 : 0 . 0 . f 1 f 3 > 0 . 0 . f 1 f 4 : 0 . 0 . f 1 f 5 > 0 . 0 . f 1 f 6 : 0 . 0 . f 1 f 7 > 0 . 0 . f 1 f 8 : 0 . 0 . f 1 f 9 > 0 . 0 . f 1 f a : 0 . 0 . f 1 f b > 0 . 0 . f 1 f c : 0 . 0 . f 1 f d > � 0 . 0 . f 1 f e : 0 . 0 . f 1 f f > v [ Continue ] [ Back ] ==================================================================== 366 Network c o n n e c t i o n s ==================================================================== C o n f i g u r e a t l e a s t one i n t e r f a c e t h i s s e r v e r can u s e t o t a l k t o o t h e r machines , and which p r e f e r a b l y p r o v i d e s s u f f i c i e n t a c c e s s f o r u p d a t e s . NAME TYPE NOTES [ e n c c 0 0 0 e t h − > ] 7 2 : 0 0 : bb : 0 0 : aa : 1 1 / Unknown Vendor / Unknown Model [ e n c c 0 0 0 . 1 2 3 4 v l a n − > ] s t a t i c 1 0 . 2 2 2 . 1 1 1 . 1 1 / 2 4 VLAN 1234 on i n t e r f a c e e n c c 0 0 0 [ C r e a t e bond > ] [ Continue ] [ Back ] • Depending on the installer version you are using you may face a little bug here. In that case the button will be named ‘Continue without network’, but the network is there. If you see that, just ignore and continue … (If you wait long enough the label will be refreshed an corrected.) ==================================================================== C o n f i g u r e proxy ==================================================================== I f t h i s system r e q u i r e s a proxy t o c o n n e c t t o t h e i n t e r n e t , e n t e r i t s d e t a i l s h e r e . Proxy a d d r e s s : I f you need t o u s e a HTTP proxy t o a c c e s s t h e o u t s i d e world , e n t e r t h e proxy i n f o r m a t i o n h e r e . Otherwise , l e a v e t h i s blank . The proxy i n f o r m a t i o n s h o u l d be g i v e n i n t h e s t a n d a r d form o f ” h t t p : / / [ [ u s e r ] [ : p a s s ]@] h o s t [ : p o r t ] / ” . [ Done ] [ Back ] ==================================================================== C o n f i g u r e Ubuntu a r c h i v e m i r r o r ==================================================================== I f you u s e an a l t e r n a t i v e m i r r o r f o r Ubuntu , e n t e r i t s d e t a i l s h e r e . 367 M i r r o r a d d r e s s : h t t p : / / p o r t s . ubuntu . com/ ubuntu−p o r t s You may p r o v i d e an a r c h i v e m i r r o r t h a t w i l l be used i n s t e a d o f t h e d e f a u l t . [ Done ] [ Back ] ==================================================================== Guided s t o r a g e c o n f i g u r a t i o n ==================================================================== C o n f i g u r e a g u i d e d s t o r a g e l a y o u t , o r c r e a t e a custom one : (X) Use an e n t i r e d i s k [ 0X1601 l o c a l d i s k 6 . 8 7 7G v ] [ ] S e t up t h i s d i s k a s an LVM group [ ] Encrypt t h e LVM group with LUKS P a s s p h r a s e : Confirm p a s s p h r a s e : ( ) Custom s t o r a g e l a y o u t [ Done ] [ Back ] ==================================================================== S t o r a g e c o n f i g u r a t i o n ==================================================================== FILE SYSTEM SUMMARY ^ � MOUNT POINT SIZE TYPE DEVICE TYPE � [ / 6 . 8 7 5G new e x t 4 new p a r t i t i o n o f l o c a l d i s k > ] ��� 368 AVAILABLE DEVICES �� No a v a i l a b l e d e v i c e s �� [ C r e a t e s o f t w a r e RAID (md) > ] � [ C r e a t e volume group (LVM) > ] � USED DEVICES v [ Done ] [ Reset ] [ Back ] ==================================================================== S t o r a g e c o n f i g u r a t i o n ==================================================================== FILE SYSTEM SUMMARY ^ ������������������������ Confirm d e s t r u c t i v e a c t i o n �������������������������� S e l e c t i n g Continue below w i l l b e g i n t h e i n s t a l l a t i o n p r o c e s s and �� r e s u l t i n t h e l o s s o f data on t h e d i s k s s e l e c t e d t o be f o r m a t t e d . ���� You w i l l not be a b l e t o r e t u r n t o t h i s o r a p r e v i o u s s c r e e n once t h e �� i n s t a l l a t i o n has s t a r t e d . ���� Are you s u r e you want t o c o n t i n u e ? ���� [ No ] �� [ Continue ] ����������������������������������������������������������������������������� [ Reset ] [ Back ] ==================================================================== P r o f i l e s e t u p ==================================================================== Enter t h e username and password you w i l l u s e t o l o g i n t o t h e system . You can c o n f i g u r e SSH a c c e s s on t h e next s c r e e n but a password i s s t i l l needed f o r sudo . Your name : Ed Example Your s e r v e r ’ s name : s 1 l p 1 1 The name i t u s e s when i t t a l k s t o o t h e r computers . 369 Pick a username : ubuntu Choose a password : ******** Confirm your password : ******** [ Done ] ==================================================================== SSH Setup ==================================================================== You can c h o o s e t o i n s t a l l t h e OpenSSH s e r v e r package t o e n a b l e s e c u r e remote a c c e s s t o your s e r v e r . [ ] I n s t a l l OpenSSH s e r v e r Import SSH i d e n t i t y : [ No v ] You can import your SSH k e y s from Github o r Launchpad . Import Username : [X] Allow password a u t h e n t i c a t i o n o v e r SSH [ Done ] [ Back ] • It’s an nice and convenient new feature to add the users ssh keys during the installation to the system, since that makes the system login password-less already on the initial login! ==================================================================== SSH Setup ==================================================================== You can c h o o s e t o i n s t a l l t h e OpenSSH s e r v e r package t o e n a b l e s e c u r e remote a c c e s s t o your s e r v e r . [X] I n s t a l l OpenSSH s e r v e r Import SSH i d e n t i t y : [ from Launchpad v ] You can import your SSH k e y s from Github o r Launchpad . Launchpad Username : u s e r Enter your Launchpad username . [X] Allow password a u t h e n t i c a t i o n o v e r SSH 370 [ Done ] [ Back ] ==================================================================== SSH Setup ==================================================================== You can c h o o s e t o i n s t a l l t h e OpenSSH s e r v e r package t o e n a b l e s e c u r e remote a c c e s s t o your s e r v e r . ���������������������������� Confirm SSH k e y s ������������������������������� Keys with t h e f o l l o w i n g f i n g e r p r i n t s were f e t c h e d . Do you want t o �� u s e them? ���� 2048 SHA256 : joGscmiamcaoincinaäonnväineorviZEdDWdR9Hpbc2KIw user@W520 �� (RSA) �� 521 SHA256 : T3JzxvB6K1Gzidvoidhoidsaoicak0jhhgvbw01F7 / f Z 2 c �� ed . example@acme . com (ECDSA) ���� [ Yes ] �� [ No ] ����������������������������������������������������������������������������� [ Done ] [ Back ] ==================================================================== Featured S e r v e r Snaps ==================================================================== These a r e p o p u l a r sna p s i n s e r v e r e n v i r o n m e n t s . S e l e c t o r d e s e l e c t with SPACE, p r e s s ENTER t o s e e more d e t a i l s o f t h e package , p u b l i s h e r and v e r s i o n s a v a i l a b l e . [ ] kata−c o n t a i n e r s L i g h t w e i g h t v i r t u a l machines t h a t s e a m l e s s l y p l u g i n t o > [ ] d o c k e r Docker c o n t a i n e r runtime > [ ] m o s q u i t t o E c l i p s e Mosquitto MQTT b r o k e r > [ ] e t c d R e s i l i e n t key−v a l u e s t o r e by CoreOS > [ ] s t r e s s −ng A t o o l t o load , s t r e s s t e s t and benchmark a computer s > [ ] sabnzbd SABnzbd > [ ] wormhole g e t t h i n g s from one computer t o another , s a f e l y > [ ] s l c l i Python based S o f t L a y e r API Tool . > [ ] d o c t l D i g i t a l O c e a n command l i n e t o o l > [ ] k e e p a l i v e d High a v a i l a b i l i t y VRRP/BFD and load−b a l a n c i n g f o r Linu > [ ] j u j u Simple , s e c u r e and s t a b l e devops . Juju k e e p s c o m p l e x i t > [ Done ] 371 [ Back ] ==================================================================== I n s t a l l c o m p l e t e ! ==================================================================== ����������������������������������������������������������������������������� c o n f i g u r i n g r a i d (mdadm) s e r v i c e � ^� i n s t a l l i n g k e r n e l �� s e t t i n g up swap �� apply n e t w o r k i n g c o n f i g �� w r i t i n g e t c / f s t a b �� c o n f i g u r i n g m u l t i p a t h �� up d a t i n g p a c k a g e s on t a r g e t system �� c o n f i g u r i n g p o l l i n a t e u s e r −a g e n t on t a r g e t �� up d a t i n g i n i t r a m f s c o n f i g u r a t i o n �� f i n a l i z i n g i n s t a l l a t i o n �� r u nn i n g ’ c u r t i n hook ’ �� c u r t i n command hook �� e x e c u t i n g l a t e commands �� f i n a l system c o n f i g u r a t i o n �� c o n f i g u r i n g cloud −i n i t ��� i n s t a l l i n g openssh−s e r v e r \ � v ���������������������������������������������������������������������������� [ View f u l l l o g ] ==================================================================== I n s t a l l a t i o n c o m p l e t e ! ==================================================================== ����������������������������� F i n i s h e d i n s t a l l ! ����������������������������� apply n e t w o r k i n g c o n f i g � ^� w r i t i n g e t c / f s t a b �� c o n f i g u r i n g m u l t i p a t h �� u p d a t i n g p a c k a g e s on t a r g e t system �� c o n f i g u r i n g p o l l i n a t e u s e r −a g e n t on t a r g e t �� u p d a t i n g i n i t r a m f s c o n f i g u r a t i o n �� f i n a l i z i n g i n s t a l l a t i o n �� r u n n i n g ’ c u r t i n hook ’ �� c u r t i n command hook �� e x e c u t i n g l a t e commands �� f i n a l system c o n f i g u r a t i o n �� c o n f i g u r i n g cloud −i n i t �� i n s t a l l i n g openssh−s e r v e r �� r e s t o r i n g apt c o n f i g u r a t i o n ��� downloading and i n s t a l l i n g s e c u r i t y up da t es � v ���������������������������������������������������������������������������� [ View f u l l l o g ] [ Reboot ] 372 I n s t a l l a t i o n c o m p l e t e ! ==================================================================== ����������������������������� F i n i s h e d i n s t a l l ! ����������������������������� apply n e t w o r k i n g c o n f i g � ^� w r i t i n g e t c / f s t a b �� c o n f i g u r i n g m u l t i p a t h �� up d a t i n g p a c k a g e s on t a r g e t system �� c o n f i g u r i n g p o l l i n a t e u s e r −a g e n t on t a r g e t �� up d a t i n g i n i t r a m f s c o n f i g u r a t i o n �� f i n a l i z i n g i n s t a l l a t i o n �� r u nn i n g ’ c u r t i n hook ’ �� c u r t i n command hook �� e x e c u t i n g l a t e commands �� f i n a l system c o n f i g u r a t i o n �� c o n f i g u r i n g cloud −i n i t �� i n s t a l l i n g openssh−s e r v e r �� r e s t o r i n g apt c o n f i g u r a t i o n ��� downloading and i n s t a l l i n g s e c u r i t y up da t es � v ���������������������������������������������������������������������������� [ Connection t o 1 0 . 2 2 2 . 1 1 1 . 1 1 c l o s e d by remote h o s t . [ Rebooting . . . ] Connection t o 1 0 . 2 2 2 . 1 1 1 . 1 1 c l o s e d . u s e r @ w o r k s t a t i o n : ~ $ • Now type ‘reset’ to clear the screen and to reset it to it’s defaults. u s e r @ w o r k s t a t i o n : ~ $ r e s e t u s e r @ w o r k s t a t i o n : ~ $ • Before proceeding one needs to remove to old temporary host key of the target system, since it was only for the use during installation: u s e r @ w o r k s t a t i o n : ~ $ ssh−keygen −f ”/home/ u s e r / . s s h / known_hosts ” −R ” s 1 l p 1 1 ” # Host s 1 l p 1 1 found : l i n e 159 /home/ u s e r / . s s h / known_hosts updated . O r i g i n a l c o n t e n t s r e t a i n e d a s /home/ u s e r / . s s h / known_hosts . o l d u s e r @ w o r k s t a t i o n : ~ $ • And assuming the post-installation reboot is done, one can now login: u s e r @ w o r k s t a t i o n : ~ $ s s h ubuntu@s1lp11 Warning : Permanently added t h e ECDSA h o s t key f o r IP a d d r e s s ’ 1 0 . 2 2 2 . 1 1 1 . 1 1 ’ t o t h e l i s t o f known h o s t s . Welcome t o Ubuntu 2 0 . 0 4 . 1 LTS (GNU/ Linux 5.4.0 −42 − g e n e r i c s390x ) * Documentation : h t t p s : / / h e l p . ubuntu . com * Management : h t t p s : / / l a n d s c a p e . c a n o n i c a l . com * Support : h t t p s : / / ubuntu . com/ advantage System i n f o r m a t i o n a s o f Wed 03 Jun 2020 0 5 : 5 0 : 0 5 PM UTC 373 System l o a d : 0 . 0 8 Memory u s a g e : 2% P r o c e s s e s : 157 Usage o f / : 18.7% o f 6 . 7 0GB Swap u s a g e : 0% U s e r s l o g g e d i n : 0 0 up d at es can be i n s t a l l e d i m m e d i a t e l y . 0 o f t h e s e up d a t e s a r e s e c u r i t y u p d a t e s . The programs i n c l u d e d with t h e Ubuntu system a r e f r e e s o f t w a r e ; t h e e x a c t d i s t r i b u t i o n terms f o r each program a r e d e s c r i b e d i n t h e i n d i v i d u a l f i l e s i n / u s r / s h a r e / doc /*/ c o p y r i g h t . Ubuntu comes with ABSOLUTELY NO WARRANTY, t o t h e e x t e n t p e r m i t t e d by a p p l i c a b l e law . To run a command a s a d m i n i s t r a t o r ( u s e r ” r o o t ” ) , u s e ” sudo See ”man sudo_root ” f o r d e t a i l s . ubuntu@s1lp11 : ~ $ uptime 1 7 : 5 0 : 0 9 up 1 min , 1 u s e r , l o a d a v e r a g e : 0 . 0 8 , 0 . 1 1 , 0 . 0 5 ubuntu@s1lp11 : ~ $ l s b _ r e l e a s e −a No LSB modules a r e a v a i l a b l e . D i s t r i b u t o r ID : Ubuntu D e s c r i p t i o n : Ubuntu 2 0 . 0 4 . 1 LTS R e l e a s e : 2 0 . 0 4 Codename : f o c a l ubuntu@s1lp11 : ~ $ uname −a Linux s 1 l p 1 1 5.4.0 −42 − g e n e r i c #30−Ubuntu SMP Wed Aug 05 1 6 : 5 7 : 2 2 UTC 2020 s390x s390x s390x GNU/ Linux ubuntu@s1lp11 : ~ $ e x i t l o g o u t Connection t o s 1 l p 1 1 c l o s e d . u s e r @ w o r k s t a t i o n : ~ $ Done ! Download 1.23 Mb. Do'stlaringiz bilan baham: |
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling
ma'muriyatiga murojaat qiling