@@ -94,38 +94,20 @@ they're available for:
94
94
Amazon |_ | Linux |_ | :ref: `2 <installation-amazon-20lts >`,
95
95
Amazon |_ | Linux |_ | :ref: `2023 <installation-amazon-2023 >`
96
96
97
- - Debian |_ | :ref: `9 <installation-debian-9 >`,
98
- :ref: `10 <installation-debian-10 >`,
99
- :ref: `11 <installation-debian-11 >`,
97
+ - Debian |_ | :ref: `11 <installation-debian-11 >`,
100
98
:ref: `12 <installation-debian-12 >`
101
99
102
- - Fedora |_ | :ref: `29 <installation-fedora-29 >`,
103
- :ref: `30 <installation-fedora-3130 >`,
104
- :ref: `31 <installation-fedora-3130 >`,
105
- :ref: `32 <installation-fedora-32 >`,
106
- :ref: `33 <installation-fedora-3433 >`,
107
- :ref: `34 <installation-fedora-3433 >`,
108
- :ref: `35 <installation-fedora-3635 >`,
109
- :ref: `36 <installation-fedora-3635 >`,
110
- :ref: `37 <installation-fedora-37 >`,
111
- :ref: `38 <installation-fedora-38 >`
112
-
113
- - RHEL |_ | :ref: `6 <installation-rhel-6x >`,
114
- :ref: `7 <installation-rhel-7x >`,
115
- :ref: `8 <installation-rhel-8x >`,
100
+ - Fedora |_ | :ref: `39 <installation-fedora-4039 >`,
101
+ :ref: `40 <installation-fedora-4039 >`
102
+
103
+ - RHEL |_ | :ref: `8 <installation-rhel-8x >`,
116
104
:ref: `9 <installation-rhel-9x >`
117
105
118
106
- Ubuntu |_ | :ref: `16.04 <installation-ubuntu-1604 >`,
119
- :ref: `18.04
120
- <installation-ubuntu-1804>`,
121
- :ref: `19.10 <installation-ubuntu-1910 >`,
107
+ :ref: `18.04 <installation-ubuntu-1804 >`,
122
108
:ref: `20.04 <installation-ubuntu-2004 >`,
123
- :ref: `20.10 <installation-ubuntu-2010 >`,
124
- :ref: `21.04 <installation-ubuntu-2104 >`,
125
- :ref: `21.10 <installation-ubuntu-2110 >`,
126
109
:ref: `22.04 <installation-ubuntu-2204 >`,
127
- :ref: `22.10 <installation-ubuntu-2210 >`,
128
- :ref: `23.04 <installation-ubuntu-2304 >`
110
+ :ref: `24.04 <installation-ubuntu-2404 >`
129
111
130
112
The packages include core executables,
131
113
developer files,
@@ -444,146 +426,67 @@ Debian
444
426
- **unit **
445
427
446
428
447
- .. tab :: 10
448
-
449
- .. warning ::
450
-
451
- Unit's 1.28+ packages aren't built for Debian 10.
452
- This distribution is obsolete;
453
- please update.
454
-
455
- Supported architectures: i386, x86-64.
456
-
457
- #. Download and save NGINX's signing key:
458
-
459
- .. code-block :: console
460
-
461
- # curl --output /usr/share/keyrings/nginx-keyring.gpg \
462
- https://unit.nginx.org/keys/nginx-keyring.gpg
463
-
464
- This eliminates the
465
- "packages cannot be authenticated"
466
- warnings
467
- during installation.
468
-
469
- #. To configure Unit's repository,
470
- create the following file named
471
- **/etc/apt/sources.list.d/unit.list **:
472
-
473
- .. code-block :: none
474
-
475
- deb [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/debian/ buster unit
476
- deb-src [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/debian/ buster unit
477
-
478
- #. Install the core package
479
- and other packages you need:
480
-
481
- .. code-block :: console
482
-
483
- # apt update
484
-
485
- .. code-block :: console
486
-
487
- # apt install unit
488
-
489
- .. code-block :: console
490
-
491
- # apt install :nxt_hint:`unit-dev <Required to install the Node.js module>` unit-jsc11 unit-perl \
492
- unit-php unit-python2.7 unit-python3.7 unit-ruby
493
-
494
- .. code-block :: console
495
-
496
- # systemctl restart unit # Necessary for Unit to pick up any changes in language module setup
497
-
498
- Runtime details:
499
-
500
- .. list-table ::
501
-
502
- * - Control :ref: `socket <sec-socket >`
503
- - **/var/run/control.unit.sock **
504
-
505
- * - Log :ref: `file <troubleshooting-log >`
506
- - **/var/log/unit.log **
507
-
508
- * - Non-privileged :ref: `user and group <security-apps >`
509
- - **unit **
510
-
511
-
512
- .. tab :: 9
513
-
514
- .. warning ::
515
-
516
- Unit's 1.22+ packages aren't built for Debian 9.
517
- This distribution is obsolete;
518
- please update.
519
-
520
- Supported architectures: i386, x86-64.
429
+ .. _installation-precomp-fedora :
521
430
522
- #. Download and save NGINX's signing key:
431
+ ======
432
+ Fedora
433
+ ======
523
434
524
- .. code-block :: console
435
+ .. tabs ::
436
+ :prefix: fedora
525
437
526
- # curl --output /usr/share/keyrings/nginx-keyring.gpg \
527
- https://unit.nginx.org/keys/nginx-keyring.gpg
438
+ .. tab :: 40, 39
528
439
529
- This eliminates the
530
- "packages cannot be authenticated"
531
- warnings
532
- during installation.
440
+ Supported architecture: x86-64.
533
441
534
442
#. To configure Unit's repository,
535
443
create the following file named
536
- **/etc/apt/sources.list .d/unit.list **:
444
+ **/etc/yum.repos .d/unit.repo **:
537
445
538
- .. code-block :: none
446
+ .. code-block :: ini
539
447
540
- deb [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/debian/ stretch unit
541
- deb-src [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/debian/ stretch unit
448
+ [unit]
449
+ name =unit repo
450
+ baseurl =https://packages.nginx.org/unit/fedora/$releasever/$basearch/
451
+ gpgkey =https://unit.nginx.org/keys/nginx-keyring.gpg
452
+ gpgcheck =1
453
+ enabled =1
542
454
543
455
#. Install the core package
544
456
and other packages you need:
545
457
546
458
.. code-block :: console
547
459
548
- # apt update
549
-
550
- .. code-block :: console
551
-
552
- # apt install unit
553
-
554
- .. code-block :: console
555
-
556
- # apt install :nxt_hint:`unit-dev <Required to install the Node.js module>` unit-jsc8 unit-perl \
557
- unit-php unit-python2.7 unit-python3.5 unit-ruby
558
-
559
- .. code-block :: console
560
-
460
+ # dnf install unit
461
+ # dnf install :nxt_hint:`unit-devel <Required to install the Node.js module>` unit-jsc17 unit-perl \
462
+ unit-php unit-python312 unit-ruby
561
463
# systemctl restart unit # Necessary for Unit to pick up any changes in language module setup
562
464
563
465
Runtime details:
564
466
565
467
.. list-table ::
566
468
567
469
* - Control :ref: `socket <sec-socket >`
568
- - **/var/run/control. unit.sock **
470
+ - **/var/run/unit/control .sock **
569
471
570
472
* - Log :ref: `file <troubleshooting-log >`
571
- - **/var/log/unit.log **
473
+ - **/var/log/unit/unit .log **
572
474
573
475
* - Non-privileged :ref: `user and group <security-apps >`
574
476
- **unit **
575
477
576
478
577
- .. _installation-precomp-fedora :
479
+ .. _installation-precomp-centos :
480
+ .. _installation-precomp-rhel :
578
481
579
- ======
580
- Fedora
581
- ======
482
+ ====================
483
+ RHEL and derivatives
484
+ ====================
582
485
583
486
.. tabs ::
584
- :prefix: fedora
487
+ :prefix: rhel
585
488
586
- .. tab :: 38
489
+ .. tab :: 9.x
587
490
588
491
Supported architecture: x86-64.
589
492
@@ -595,7 +498,7 @@ Fedora
595
498
596
499
[unit]
597
500
name =unit repo
598
- baseurl =https://packages.nginx.org/unit/fedora /$releasever/$basearch/
501
+ baseurl =https://packages.nginx.org/unit/rhel /$releasever/$basearch/
599
502
gpgkey =https://unit.nginx.org/keys/nginx-keyring.gpg
600
503
gpgcheck =1
601
504
enabled =1
@@ -609,8 +512,8 @@ Fedora
609
512
610
513
.. code-block :: console
611
514
612
- # yum install :nxt_hint:`unit-devel <Required to install the Node.js module>` unit-jsc8 unit-jsc11 unit-perl \
613
- unit-php unit-python311 unit-ruby
515
+ # yum install :nxt_hint:`unit-devel <Required to install the Node.js module and build Go apps >` unit-go unit-jsc8 unit-jsc11 \
516
+ unit-perl unit- php unit-python39 unit-wasm
614
517
615
518
.. code-block :: console
616
519
@@ -630,7 +533,7 @@ Fedora
630
533
- **unit **
631
534
632
535
633
- .. tab :: 37
536
+ .. tab :: 8.x
634
537
635
538
Supported architecture: x86-64.
636
539
@@ -642,7 +545,7 @@ Fedora
642
545
643
546
[unit]
644
547
name =unit repo
645
- baseurl =https://packages.nginx.org/unit/fedora /$releasever/$basearch/
548
+ baseurl =https://packages.nginx.org/unit/rhel /$releasever/$basearch/
646
549
gpgkey =https://unit.nginx.org/keys/nginx-keyring.gpg
647
550
gpgcheck =1
648
551
enabled =1
@@ -656,8 +559,8 @@ Fedora
656
559
657
560
.. code-block :: console
658
561
659
- # yum install :nxt_hint:`unit-devel <Required to install the Node.js module>` unit-jsc8 unit-jsc11 unit-perl \
660
- unit-php unit-python311 unit-ruby unit-wasm
562
+ # yum install :nxt_hint:`unit-devel <Required to install the Node.js module>` unit-jsc8 unit-jsc11 \
563
+ unit-perl unit- php unit-python27 unit-python36 unit-python38 unit-python39 unit-wasm
661
564
662
565
.. code-block :: console
663
566
@@ -676,41 +579,65 @@ Fedora
676
579
* - Non-privileged :ref: `user and group <security-apps >`
677
580
- **unit **
678
581
582
+ .. note ::
583
+
584
+ Use these steps
585
+ for binary-compatible distributions:
586
+ AlmaLinux,
587
+ CentOS,
588
+ Oracle Linux,
589
+ or Rocky Linux.
679
590
680
- .. tab :: 36, 35
681
591
682
- .. warning : :
592
+ .. _ installation-precomp-ubuntu :
683
593
684
- Unit's 1.31+ packages aren't built for Fedora 36 and Fedora 35.
685
- These distributions are obsolete;
686
- please update.
594
+ ======
595
+ Ubuntu
596
+ ======
687
597
688
- Supported architecture: x86-64.
598
+ .. tabs ::
599
+ :prefix: ubuntu
600
+
601
+ .. tab :: 24.04
602
+
603
+ Supported architectures: arm64, x86-64.
604
+
605
+ #. Download and save NGINX's signing key:
606
+
607
+ .. code-block :: console
608
+
609
+ # curl --output /usr/share/keyrings/nginx-keyring.gpg \
610
+ https://unit.nginx.org/keys/nginx-keyring.gpg
611
+
612
+ This eliminates the
613
+ "packages cannot be authenticated"
614
+ warnings
615
+ during installation.
689
616
690
617
#. To configure Unit's repository,
691
618
create the following file named
692
- **/etc/yum.repos .d/unit.repo **:
619
+ **/etc/apt/sources.list .d/unit.list **:
693
620
694
- .. code-block :: ini
621
+ .. code-block :: none
695
622
696
- [unit]
697
- name =unit repo
698
- baseurl =https://packages.nginx.org/unit/fedora/$releasever/$basearch/
699
- gpgkey =https://unit.nginx.org/keys/nginx-keyring.gpg
700
- gpgcheck =1
701
- enabled =1
623
+ deb [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ lunar unit
624
+ deb-src [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ lunar unit
702
625
703
626
#. Install the core package
704
627
and other packages you need:
705
628
706
629
.. code-block :: console
707
630
708
- # yum install unit
631
+ # apt update
632
+
633
+ .. code-block :: console
634
+
635
+ # apt install unit
709
636
710
637
.. code-block :: console
711
638
712
- # yum install :nxt_hint:`unit-devel <Required to install the Node.js module>` unit-jsc8 unit-jsc11 unit-perl \
713
- unit-php unit-python39 unit-python310 unit-ruby unit-wasm
639
+ # apt install :nxt_hint:`unit-dev <Required to install the Node.js module and build Go apps >` unit-go unit-jsc11 unit-jsc17 unit-jsc18 unit-jsc19 unit-jsc20 \
640
+ unit-perl unit-php unit-python3.11 unit-ruby unit-wasm
714
641
715
642
.. code-block :: console
716
643
@@ -721,49 +648,55 @@ Fedora
721
648
.. list-table ::
722
649
723
650
* - Control :ref: `socket <sec-socket >`
724
- - **/var/run/unit/ control.sock **
651
+ - **/var/run/control.unit .sock **
725
652
726
653
* - Log :ref: `file <troubleshooting-log >`
727
- - **/var/log/unit/unit .log **
654
+ - **/var/log/unit.log **
728
655
729
656
* - Non-privileged :ref: `user and group <security-apps >`
730
657
- **unit **
731
658
732
659
733
- .. tab :: 34, 33
660
+ .. tab :: 22.04
661
+
662
+ Supported architectures: arm64, x86-64.
734
663
735
- .. warning : :
664
+ #. Download and save NGINX's signing key :
736
665
737
- Unit's 1.27+ packages aren't built for Fedora 33 and Fedora 34.
738
- These distributions are obsolete;
739
- please update.
666
+ .. code-block :: console
740
667
741
- Supported architecture: x86-64.
668
+ # curl --output /usr/share/keyrings/nginx-keyring.gpg \
669
+ https://unit.nginx.org/keys/nginx-keyring.gpg
670
+
671
+ This eliminates the
672
+ "packages cannot be authenticated"
673
+ warnings
674
+ during installation.
742
675
743
676
#. To configure Unit's repository,
744
677
create the following file named
745
- **/etc/yum.repos .d/unit.repo **:
678
+ **/etc/apt/sources.list .d/unit.list **:
746
679
747
- .. code-block :: ini
680
+ .. code-block :: none
748
681
749
- [unit]
750
- name =unit repo
751
- baseurl =https://packages.nginx.org/unit/fedora/$releasever/$basearch/
752
- gpgkey =https://unit.nginx.org/keys/nginx-keyring.gpg
753
- gpgcheck =1
754
- enabled =1
682
+ deb [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ jammy unit
683
+ deb-src [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ jammy unit
755
684
756
685
#. Install the core package
757
686
and other packages you need:
758
687
759
688
.. code-block :: console
760
689
761
- # yum install unit
690
+ # apt update
691
+
692
+ .. code-block :: console
693
+
694
+ # apt install unit
762
695
763
696
.. code-block :: console
764
697
765
- # yum install :nxt_hint:`unit-devel <Required to install the Node.js module>` unit-jsc8 unit-jsc11 unit-perl \
766
- unit-php unit-python39 unit-ruby
698
+ # apt install :nxt_hint:`unit-dev <Required to install the Node.js module and build Go apps >` unit-go unit-jsc11 unit-jsc16 unit-jsc17 unit-jsc18 \
699
+ unit-perl unit- php unit-python2.7 unit-python3.10 unit- ruby unit-wasm
767
700
768
701
.. code-block :: console
769
702
@@ -774,811 +707,50 @@ Fedora
774
707
.. list-table ::
775
708
776
709
* - Control :ref: `socket <sec-socket >`
777
- - **/var/run/unit/ control.sock **
710
+ - **/var/run/control.unit .sock **
778
711
779
712
* - Log :ref: `file <troubleshooting-log >`
780
- - **/var/log/unit/unit .log **
713
+ - **/var/log/unit.log **
781
714
782
715
* - Non-privileged :ref: `user and group <security-apps >`
783
716
- **unit **
784
717
785
718
786
- .. tab :: 32
719
+ .. tab :: 20.04
787
720
788
- .. warning ::
721
+ Supported architectures: arm64, x86-64.
789
722
790
- Unit's 1.24+ packages aren't built for Fedora 32.
791
- These distributions are obsolete;
792
- please update.
723
+ #. Download and save NGINX's signing key:
793
724
794
- Supported architecture: x86-64.
725
+ .. code-block :: console
726
+
727
+ # curl --output /usr/share/keyrings/nginx-keyring.gpg \
728
+ https://unit.nginx.org/keys/nginx-keyring.gpg
729
+
730
+ This eliminates the
731
+ "packages cannot be authenticated"
732
+ warnings
733
+ during installation.
795
734
796
735
#. To configure Unit's repository,
797
736
create the following file named
798
- **/etc/yum.repos .d/unit.repo **:
737
+ **/etc/apt/sources.list .d/unit.list **:
799
738
800
- .. code-block :: ini
739
+ .. code-block :: none
801
740
802
- [unit]
803
- name =unit repo
804
- baseurl =https://packages.nginx.org/unit/fedora/$releasever/$basearch/
805
- gpgkey =https://unit.nginx.org/keys/nginx-keyring.gpg
806
- gpgcheck =1
807
- enabled =1
741
+ deb [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ focal unit
742
+ deb-src [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ focal unit
808
743
809
744
#. Install the core package
810
745
and other packages you need:
811
746
812
747
.. code-block :: console
813
748
814
- # yum install unit
749
+ # apt update
815
750
816
751
.. code-block :: console
817
752
818
- # yum install :nxt_hint:`unit-devel <Required to install the Node.js module>` unit-jsc8 unit-jsc11 unit-perl \
819
- unit-php unit-python38 unit-ruby
820
-
821
- .. code-block :: console
822
-
823
- # systemctl restart unit # Necessary for Unit to pick up any changes in language module setup
824
-
825
- Runtime details:
826
-
827
- .. list-table ::
828
-
829
- * - Control :ref: `socket <sec-socket >`
830
- - **/var/run/unit/control.sock **
831
-
832
- * - Log :ref: `file <troubleshooting-log >`
833
- - **/var/log/unit/unit.log **
834
-
835
- * - Non-privileged :ref: `user and group <security-apps >`
836
- - **unit **
837
-
838
-
839
- .. tab :: 31, 30
840
-
841
- .. warning ::
842
-
843
- Unit's 1.20+ packages aren't built for Fedora 30;
844
- 1.22+ packages aren't built for Fedora 31.
845
- These distributions are obsolete;
846
- please update.
847
-
848
- Supported architecture: x86-64.
849
-
850
- #. To configure Unit's repository,
851
- create the following file named
852
- **/etc/yum.repos.d/unit.repo **:
853
-
854
- .. code-block :: ini
855
-
856
- [unit]
857
- name =unit repo
858
- baseurl =https://packages.nginx.org/unit/fedora/$releasever/$basearch/
859
- gpgkey =https://unit.nginx.org/keys/nginx-keyring.gpg
860
- gpgcheck =1
861
- enabled =1
862
-
863
- #. Install the core package
864
- and other packages you need:
865
-
866
- .. code-block :: console
867
-
868
- # yum install unit
869
-
870
- .. code-block :: console
871
-
872
- # yum install :nxt_hint:`unit-devel <Required to install the Node.js module>` unit-jsc8 unit-jsc11 unit-perl \
873
- unit-php unit-python27 unit-python37 unit-ruby
874
-
875
- .. code-block :: console
876
-
877
- # systemctl restart unit # Necessary for Unit to pick up any changes in language module setup
878
-
879
- Runtime details:
880
-
881
- .. list-table ::
882
-
883
- * - Control :ref: `socket <sec-socket >`
884
- - **/var/run/unit/control.sock **
885
-
886
- * - Log :ref: `file <troubleshooting-log >`
887
- - **/var/log/unit/unit.log **
888
-
889
- * - Non-privileged :ref: `user and group <security-apps >`
890
- - **unit **
891
-
892
-
893
- .. tab :: 29
894
-
895
- .. warning ::
896
-
897
- Unit's 1.20+ packages aren't built for Fedora 29.
898
- This distribution is obsolete;
899
- please update.
900
-
901
- Supported architecture: x86-64.
902
-
903
- #. To configure Unit's repository,
904
- create the following file named
905
- **/etc/yum.repos.d/unit.repo **:
906
-
907
- .. code-block :: ini
908
-
909
- [unit]
910
- name =unit repo
911
- baseurl =https://packages.nginx.org/unit/fedora/$releasever/$basearch/
912
- gpgkey =https://unit.nginx.org/keys/nginx-keyring.gpg
913
- gpgcheck =1
914
- enabled =1
915
-
916
- #. Install the core package
917
- and other packages you need:
918
-
919
- .. code-block :: console
920
-
921
- # yum install unit
922
-
923
- .. code-block :: console
924
-
925
- # yum install :nxt_hint:`unit-devel <Required to install the Node.js module>` unit-jsc8 unit-perl \
926
- unit-php unit-python27 unit-python37 unit-ruby
927
-
928
- .. code-block :: console
929
-
930
- # systemctl restart unit # Necessary for Unit to pick up any changes in language module setup
931
-
932
- Runtime details:
933
-
934
- .. list-table ::
935
-
936
- * - Control :ref: `socket <sec-socket >`
937
- - **/var/run/unit/control.sock **
938
-
939
- * - Log :ref: `file <troubleshooting-log >`
940
- - **/var/log/unit/unit.log **
941
-
942
- * - Non-privileged :ref: `user and group <security-apps >`
943
- - **unit **
944
-
945
-
946
- .. _installation-precomp-centos :
947
- .. _installation-precomp-rhel :
948
-
949
- ====================
950
- RHEL and derivatives
951
- ====================
952
-
953
- .. tabs ::
954
- :prefix: rhel
955
-
956
- .. tab :: 9.x
957
-
958
- Supported architecture: x86-64.
959
-
960
- #. To configure Unit's repository,
961
- create the following file named
962
- **/etc/yum.repos.d/unit.repo **:
963
-
964
- .. code-block :: ini
965
-
966
- [unit]
967
- name =unit repo
968
- baseurl =https://packages.nginx.org/unit/rhel/$releasever/$basearch/
969
- gpgkey =https://unit.nginx.org/keys/nginx-keyring.gpg
970
- gpgcheck =1
971
- enabled =1
972
-
973
- #. Install the core package
974
- and other packages you need:
975
-
976
- .. code-block :: console
977
-
978
- # yum install unit
979
-
980
- .. code-block :: console
981
-
982
- # yum install :nxt_hint:`unit-devel <Required to install the Node.js module and build Go apps>` unit-go unit-jsc8 unit-jsc11 \
983
- unit-perl unit-php unit-python39 unit-wasm
984
-
985
- .. code-block :: console
986
-
987
- # systemctl restart unit # Necessary for Unit to pick up any changes in language module setup
988
-
989
- Runtime details:
990
-
991
- .. list-table ::
992
-
993
- * - Control :ref: `socket <sec-socket >`
994
- - **/var/run/unit/control.sock **
995
-
996
- * - Log :ref: `file <troubleshooting-log >`
997
- - **/var/log/unit/unit.log **
998
-
999
- * - Non-privileged :ref: `user and group <security-apps >`
1000
- - **unit **
1001
-
1002
-
1003
- .. tab :: 8.x
1004
-
1005
- Supported architecture: x86-64.
1006
-
1007
- #. To configure Unit's repository,
1008
- create the following file named
1009
- **/etc/yum.repos.d/unit.repo **:
1010
-
1011
- .. code-block :: ini
1012
-
1013
- [unit]
1014
- name =unit repo
1015
- baseurl =https://packages.nginx.org/unit/rhel/$releasever/$basearch/
1016
- gpgkey =https://unit.nginx.org/keys/nginx-keyring.gpg
1017
- gpgcheck =1
1018
- enabled =1
1019
-
1020
- #. Install the core package
1021
- and other packages you need:
1022
-
1023
- .. code-block :: console
1024
-
1025
- # yum install unit
1026
-
1027
- .. code-block :: console
1028
-
1029
- # yum install :nxt_hint:`unit-devel <Required to install the Node.js module>` unit-jsc8 unit-jsc11 \
1030
- unit-perl unit-php unit-python27 unit-python36 unit-python38 unit-python39 unit-wasm
1031
-
1032
- .. code-block :: console
1033
-
1034
- # systemctl restart unit # Necessary for Unit to pick up any changes in language module setup
1035
-
1036
- Runtime details:
1037
-
1038
- .. list-table ::
1039
-
1040
- * - Control :ref: `socket <sec-socket >`
1041
- - **/var/run/unit/control.sock **
1042
-
1043
- * - Log :ref: `file <troubleshooting-log >`
1044
- - **/var/log/unit/unit.log **
1045
-
1046
- * - Non-privileged :ref: `user and group <security-apps >`
1047
- - **unit **
1048
-
1049
-
1050
- .. tab :: 7.x
1051
-
1052
- .. note ::
1053
-
1054
- Official packages for CentOS 7.x are also available.
1055
-
1056
- Supported architecture: x86-64.
1057
-
1058
- #. To configure Unit's repository,
1059
- create the following file named
1060
- **/etc/yum.repos.d/unit.repo **:
1061
-
1062
- .. code-block :: ini
1063
-
1064
- [unit]
1065
- name =unit repo
1066
- baseurl =https://packages.nginx.org/unit/rhel/$releasever/$basearch/
1067
- gpgkey =https://unit.nginx.org/keys/nginx-keyring.gpg
1068
- gpgcheck =1
1069
- enabled =1
1070
-
1071
- #. Install the core package
1072
- and other packages you need:
1073
-
1074
- .. code-block :: console
1075
-
1076
- # yum install unit
1077
-
1078
- .. code-block :: console
1079
-
1080
- # yum install :nxt_hint:`unit-devel <Required to install the Node.js module>` unit-jsc8 unit-jsc11 \
1081
- unit-perl unit-php unit-python27 unit-python36
1082
-
1083
- .. code-block :: console
1084
-
1085
- # systemctl restart unit # Necessary for Unit to pick up any changes in language module setup
1086
-
1087
- Runtime details:
1088
-
1089
- .. list-table ::
1090
-
1091
- * - Control :ref: `socket <sec-socket >`
1092
- - **/var/run/unit/control.sock **
1093
-
1094
- * - Log :ref: `file <troubleshooting-log >`
1095
- - **/var/log/unit/unit.log **
1096
-
1097
- * - Non-privileged :ref: `user and group <security-apps >`
1098
- - **unit **
1099
-
1100
-
1101
- .. tab :: 6.x
1102
-
1103
- .. warning ::
1104
-
1105
- Unit's 1.20+ packages aren't built for RHEL 6.
1106
- This distribution is obsolete;
1107
- please update.
1108
-
1109
- Supported architectures: i386, x86-64.
1110
-
1111
- #. To configure Unit's repository,
1112
- create the following file named
1113
- **/etc/yum.repos.d/unit.repo **:
1114
-
1115
- .. code-block :: ini
1116
-
1117
- [unit]
1118
- name =unit repo
1119
- baseurl =https://packages.nginx.org/unit/rhel/$releasever/$basearch/
1120
- gpgkey =https://unit.nginx.org/keys/nginx-keyring.gpg
1121
- gpgcheck =1
1122
- enabled =1
1123
-
1124
- #. Install the core package
1125
- and other packages you need:
1126
-
1127
- .. code-block :: console
1128
-
1129
- # yum install unit
1130
-
1131
- .. code-block :: console
1132
-
1133
- # yum install :nxt_hint:`unit-devel <Required to install the Node.js module>` unit-jsc8 unit-perl \
1134
- unit-php unit-python
1135
-
1136
- .. code-block :: console
1137
-
1138
- # systemctl restart unit # Necessary for Unit to pick up any changes in language module setup
1139
-
1140
- Runtime details:
1141
-
1142
- .. list-table ::
1143
-
1144
- * - Control :ref: `socket <configuration-socket >`
1145
- - **/var/run/unit/control.sock **
1146
-
1147
- * - Log :ref: `file <troubleshooting-log >`
1148
- - **/var/log/unit/unit.log **
1149
-
1150
- * - Non-privileged :ref: `user and group <security-apps >`
1151
- - **unit **
1152
-
1153
- .. note ::
1154
-
1155
- Use these steps
1156
- for binary-compatible distributions:
1157
- AlmaLinux,
1158
- CentOS,
1159
- Oracle Linux,
1160
- or Rocky Linux.
1161
-
1162
-
1163
- .. _installation-precomp-ubuntu :
1164
-
1165
- ======
1166
- Ubuntu
1167
- ======
1168
-
1169
- .. tabs ::
1170
- :prefix: ubuntu
1171
-
1172
- .. tab :: 23.04
1173
-
1174
- Supported architectures: arm64, x86-64.
1175
-
1176
- #. Download and save NGINX's signing key:
1177
-
1178
- .. code-block :: console
1179
-
1180
- # curl --output /usr/share/keyrings/nginx-keyring.gpg \
1181
- https://unit.nginx.org/keys/nginx-keyring.gpg
1182
-
1183
- This eliminates the
1184
- "packages cannot be authenticated"
1185
- warnings
1186
- during installation.
1187
-
1188
- #. To configure Unit's repository,
1189
- create the following file named
1190
- **/etc/apt/sources.list.d/unit.list **:
1191
-
1192
- .. code-block :: none
1193
-
1194
- deb [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ lunar unit
1195
- deb-src [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ lunar unit
1196
-
1197
- #. Install the core package
1198
- and other packages you need:
1199
-
1200
- .. code-block :: console
1201
-
1202
- # apt update
1203
-
1204
- .. code-block :: console
1205
-
1206
- # apt install unit
1207
-
1208
- .. code-block :: console
1209
-
1210
- # apt install :nxt_hint:`unit-dev <Required to install the Node.js module and build Go apps>` unit-go unit-jsc11 unit-jsc17 unit-jsc18 unit-jsc19 unit-jsc20 \
1211
- unit-perl unit-php unit-python3.11 unit-ruby unit-wasm
1212
-
1213
- .. code-block :: console
1214
-
1215
- # systemctl restart unit # Necessary for Unit to pick up any changes in language module setup
1216
-
1217
- Runtime details:
1218
-
1219
- .. list-table ::
1220
-
1221
- * - Control :ref: `socket <sec-socket >`
1222
- - **/var/run/control.unit.sock **
1223
-
1224
- * - Log :ref: `file <troubleshooting-log >`
1225
- - **/var/log/unit.log **
1226
-
1227
- * - Non-privileged :ref: `user and group <security-apps >`
1228
- - **unit **
1229
-
1230
-
1231
- .. tab :: 22.10
1232
-
1233
- .. warning ::
1234
-
1235
- Unit's 1.31+ packages aren't built for Ubuntu 22.10.
1236
- This distribution is obsolete;
1237
- please update.
1238
-
1239
- Supported architectures: arm64, x86-64.
1240
-
1241
- #. Download and save NGINX's signing key:
1242
-
1243
- .. code-block :: console
1244
-
1245
- # curl --output /usr/share/keyrings/nginx-keyring.gpg \
1246
- https://unit.nginx.org/keys/nginx-keyring.gpg
1247
-
1248
- This eliminates the
1249
- "packages cannot be authenticated"
1250
- warnings
1251
- during installation.
1252
-
1253
- #. To configure Unit's repository,
1254
- create the following file named
1255
- **/etc/apt/sources.list.d/unit.list **:
1256
-
1257
- .. code-block :: none
1258
-
1259
- deb [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ kinetic unit
1260
- deb-src [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ kinetic unit
1261
-
1262
- #. Install the core package
1263
- and other packages you need:
1264
-
1265
- .. code-block :: console
1266
-
1267
- # apt update
1268
-
1269
- .. code-block :: console
1270
-
1271
- # apt install unit
1272
-
1273
- .. code-block :: console
1274
-
1275
- # apt install :nxt_hint:`unit-dev <Required to install the Node.js module and build Go apps>` unit-go unit-jsc11 unit-jsc17 unit-jsc18 unit-jsc19 \
1276
- unit-perl unit-php unit-python2.7 unit-python3.10 unit-ruby unit-wasm
1277
-
1278
- .. code-block :: console
1279
-
1280
- # systemctl restart unit # Necessary for Unit to pick up any changes in language module setup
1281
-
1282
- Runtime details:
1283
-
1284
- .. list-table ::
1285
-
1286
- * - Control :ref: `socket <sec-socket >`
1287
- - **/var/run/control.unit.sock **
1288
-
1289
- * - Log :ref: `file <troubleshooting-log >`
1290
- - **/var/log/unit.log **
1291
-
1292
- * - Non-privileged :ref: `user and group <security-apps >`
1293
- - **unit **
1294
-
1295
-
1296
- .. tab :: 22.04
1297
-
1298
- Supported architectures: arm64, x86-64.
1299
-
1300
- #. Download and save NGINX's signing key:
1301
-
1302
- .. code-block :: console
1303
-
1304
- # curl --output /usr/share/keyrings/nginx-keyring.gpg \
1305
- https://unit.nginx.org/keys/nginx-keyring.gpg
1306
-
1307
- This eliminates the
1308
- "packages cannot be authenticated"
1309
- warnings
1310
- during installation.
1311
-
1312
- #. To configure Unit's repository,
1313
- create the following file named
1314
- **/etc/apt/sources.list.d/unit.list **:
1315
-
1316
- .. code-block :: none
1317
-
1318
- deb [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ jammy unit
1319
- deb-src [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ jammy unit
1320
-
1321
- #. Install the core package
1322
- and other packages you need:
1323
-
1324
- .. code-block :: console
1325
-
1326
- # apt update
1327
-
1328
- .. code-block :: console
1329
-
1330
- # apt install unit
1331
-
1332
- .. code-block :: console
1333
-
1334
- # apt install :nxt_hint:`unit-dev <Required to install the Node.js module and build Go apps>` unit-go unit-jsc11 unit-jsc16 unit-jsc17 unit-jsc18 \
1335
- unit-perl unit-php unit-python2.7 unit-python3.10 unit-ruby unit-wasm
1336
-
1337
- .. code-block :: console
1338
-
1339
- # systemctl restart unit # Necessary for Unit to pick up any changes in language module setup
1340
-
1341
- Runtime details:
1342
-
1343
- .. list-table ::
1344
-
1345
- * - Control :ref: `socket <sec-socket >`
1346
- - **/var/run/control.unit.sock **
1347
-
1348
- * - Log :ref: `file <troubleshooting-log >`
1349
- - **/var/log/unit.log **
1350
-
1351
- * - Non-privileged :ref: `user and group <security-apps >`
1352
- - **unit **
1353
-
1354
-
1355
- .. tab :: 21.10
1356
-
1357
- .. warning ::
1358
-
1359
- Unit's 1.28+ packages aren't built for Ubuntu 21.10.
1360
- This distribution is obsolete;
1361
- please update.
1362
-
1363
- Supported architectures: arm64, x86-64.
1364
-
1365
- #. Download and save NGINX's signing key:
1366
-
1367
- .. code-block :: console
1368
-
1369
- # curl --output /usr/share/keyrings/nginx-keyring.gpg \
1370
- https://unit.nginx.org/keys/nginx-keyring.gpg
1371
-
1372
- This eliminates the
1373
- "packages cannot be authenticated"
1374
- warnings
1375
- during installation.
1376
-
1377
- #. To configure Unit's repository,
1378
- create the following file named
1379
- **/etc/apt/sources.list.d/unit.list **:
1380
-
1381
- .. code-block :: none
1382
-
1383
- deb [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ impish unit
1384
- deb-src [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ impish unit
1385
-
1386
- #. Install the core package
1387
- and other packages you need:
1388
-
1389
- .. code-block :: console
1390
-
1391
- # apt update
1392
-
1393
- .. code-block :: console
1394
-
1395
- # apt install unit
1396
-
1397
- .. code-block :: console
1398
-
1399
- # apt install :nxt_hint:`unit-dev <Required to install the Node.js module>` unit-jsc11 unit-jsc16 unit-jsc17 unit-jsc18 \
1400
- unit-perl unit-php unit-python2.7 unit-python3.9 unit-python3.10 unit-ruby
1401
-
1402
- .. code-block :: console
1403
-
1404
- # systemctl restart unit # Necessary for Unit to pick up any changes in language module setup
1405
-
1406
- Runtime details:
1407
-
1408
- .. list-table ::
1409
-
1410
- * - Control :ref: `socket <sec-socket >`
1411
- - **/var/run/control.unit.sock **
1412
-
1413
- * - Log :ref: `file <troubleshooting-log >`
1414
- - **/var/log/unit.log **
1415
-
1416
- * - Non-privileged :ref: `user and group <security-apps >`
1417
- - **unit **
1418
-
1419
-
1420
- .. tab :: 21.04
1421
-
1422
- .. warning ::
1423
-
1424
- Unit's 1.27+ packages aren't built for Ubuntu 21.04.
1425
- This distribution is obsolete;
1426
- please update.
1427
-
1428
- Supported architectures: arm64, x86-64.
1429
-
1430
- #. Download and save NGINX's signing key:
1431
-
1432
- .. code-block :: console
1433
-
1434
- # curl --output /usr/share/keyrings/nginx-keyring.gpg \
1435
- https://unit.nginx.org/keys/nginx-keyring.gpg
1436
-
1437
- This eliminates the
1438
- "packages cannot be authenticated"
1439
- warnings
1440
- during installation.
1441
-
1442
- #. To configure Unit's repository,
1443
- create the following file named
1444
- **/etc/apt/sources.list.d/unit.list **:
1445
-
1446
- .. code-block :: none
1447
-
1448
- deb [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ hirsute unit
1449
- deb-src [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ hirsute unit
1450
-
1451
- #. Install the core package
1452
- and other packages you need:
1453
-
1454
- .. code-block :: console
1455
-
1456
- # apt update
1457
-
1458
- .. code-block :: console
1459
-
1460
- # apt install unit
1461
-
1462
- .. code-block :: console
1463
-
1464
- # apt install :nxt_hint:`unit-dev <Required to install the Node.js module>` unit-jsc11 unit-jsc15 unit-jsc16 unit-jsc17 \
1465
- unit-perl unit-php unit-python2.7 unit-python3.9 unit-ruby
1466
- # systemctl restart unit # Necessary for Unit to pick up any changes in language module setup
1467
-
1468
- Runtime details:
1469
-
1470
- .. list-table ::
1471
-
1472
- * - Control :ref: `socket <sec-socket >`
1473
- - **/var/run/control.unit.sock **
1474
-
1475
- * - Log :ref: `file <troubleshooting-log >`
1476
- - **/var/log/unit.log **
1477
-
1478
- * - Non-privileged :ref: `user and group <security-apps >`
1479
- - **unit **
1480
-
1481
-
1482
- .. tab :: 20.10
1483
-
1484
- .. warning ::
1485
-
1486
- Unit's 1.25+ packages aren't built for Ubuntu 20.10.
1487
- This distribution is obsolete;
1488
- please update.
1489
-
1490
- Supported architectures: arm64, x86-64.
1491
-
1492
- #. Download and save NGINX's signing key:
1493
-
1494
- .. code-block :: console
1495
-
1496
- # curl --output /usr/share/keyrings/nginx-keyring.gpg \
1497
- https://unit.nginx.org/keys/nginx-keyring.gpg
1498
-
1499
- This eliminates the
1500
- "packages cannot be authenticated"
1501
- warnings
1502
- during installation.
1503
-
1504
- #. To configure Unit's repository,
1505
- create the following file named
1506
- **/etc/apt/sources.list.d/unit.list **:
1507
-
1508
- .. code-block :: none
1509
-
1510
- deb [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ groovy unit
1511
- deb-src [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ groovy unit
1512
-
1513
- #. Install the core package
1514
- and other packages you need:
1515
-
1516
- .. code-block :: console
1517
-
1518
- # apt update
1519
-
1520
- .. code-block :: console
1521
-
1522
- # apt install unit
1523
-
1524
- .. code-block :: console
1525
-
1526
- # apt install :nxt_hint:`unit-dev <Required to install the Node.js module>` unit-jsc11 unit-jsc13 unit-jsc14 unit-jsc15 \
1527
- unit-perl unit-php unit-python3.8 unit-ruby
1528
-
1529
- .. code-block :: console
1530
-
1531
- # systemctl restart unit # Necessary for Unit to pick up any changes in language module setup
1532
-
1533
- Runtime details:
1534
-
1535
- .. list-table ::
1536
-
1537
- * - Control :ref: `socket <sec-socket >`
1538
- - **/var/run/control.unit.sock **
1539
-
1540
- * - Log :ref: `file <troubleshooting-log >`
1541
- - **/var/log/unit.log **
1542
-
1543
- * - Non-privileged :ref: `user and group <security-apps >`
1544
- - **unit **
1545
-
1546
-
1547
- .. tab :: 20.04
1548
-
1549
- Supported architectures: arm64, x86-64.
1550
-
1551
- #. Download and save NGINX's signing key:
1552
-
1553
- .. code-block :: console
1554
-
1555
- # curl --output /usr/share/keyrings/nginx-keyring.gpg \
1556
- https://unit.nginx.org/keys/nginx-keyring.gpg
1557
-
1558
- This eliminates the
1559
- "packages cannot be authenticated"
1560
- warnings
1561
- during installation.
1562
-
1563
- #. To configure Unit's repository,
1564
- create the following file named
1565
- **/etc/apt/sources.list.d/unit.list **:
1566
-
1567
- .. code-block :: none
1568
-
1569
- deb [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ focal unit
1570
- deb-src [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ focal unit
1571
-
1572
- #. Install the core package
1573
- and other packages you need:
1574
-
1575
- .. code-block :: console
1576
-
1577
- # apt update
1578
-
1579
- .. code-block :: console
1580
-
1581
- # apt install unit
753
+ # apt install unit
1582
754
1583
755
.. code-block :: console
1584
756
@@ -1603,71 +775,6 @@ Ubuntu
1603
775
- **unit **
1604
776
1605
777
1606
- .. tab :: 19.10
1607
-
1608
- .. warning ::
1609
-
1610
- Unit's 1.20+ packages aren't built for Ubuntu 19.10.
1611
- This distribution is obsolete;
1612
- please update.
1613
-
1614
- Supported architecture: x86-64.
1615
-
1616
- #. Download and save NGINX's signing key:
1617
-
1618
- .. code-block :: console
1619
-
1620
- # curl --output /usr/share/keyrings/nginx-keyring.gpg \
1621
- https://unit.nginx.org/keys/nginx-keyring.gpg
1622
-
1623
- This eliminates the
1624
- "packages cannot be authenticated"
1625
- warnings
1626
- during installation.
1627
-
1628
- #. To configure Unit's repository,
1629
- create the following file named
1630
- **/etc/apt/sources.list.d/unit.list **:
1631
-
1632
- .. code-block :: none
1633
-
1634
- deb [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ eoan unit
1635
- deb-src [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ eoan unit
1636
-
1637
- #. Install the core package
1638
- and other packages you need:
1639
-
1640
- .. code-block :: console
1641
-
1642
- # apt update
1643
-
1644
- .. code-block :: console
1645
-
1646
- # apt install unit
1647
-
1648
- .. code-block :: console
1649
-
1650
- # apt install :nxt_hint:`unit-dev <Required to install the Node.js module>` unit-jsc11 unit-perl \
1651
- unit-php unit-python2.7 unit-python3.7 unit-python3.8 unit-ruby
1652
-
1653
- .. code-block :: console
1654
-
1655
- # systemctl restart unit # Necessary for Unit to pick up any changes in language module setup
1656
-
1657
- Runtime details:
1658
-
1659
- .. list-table ::
1660
-
1661
- * - Control :ref: `socket <sec-socket >`
1662
- - **/var/run/control.unit.sock **
1663
-
1664
- * - Log :ref: `file <troubleshooting-log >`
1665
- - **/var/log/unit.log **
1666
-
1667
- * - Non-privileged :ref: `user and group <security-apps >`
1668
- - **unit **
1669
-
1670
-
1671
778
.. tab :: 18.04
1672
779
1673
780
.. warning ::
0 commit comments