概要
中古ノート買ってみた。
wsl1のubuntu18.04にmono入れてみた。
apacheでasp.netを探ってみた。
参考にしたページ
手順
libapache2-mod-monoとmono-apache-server4は、Linux上のApacheウェブサーバーでASP.NETアプリケーションを動かすための、協調して動作する2つのコンポーネントです。
mono-apache-server4のインストール
# apt search mono-apache-server4
Sorting... Done
Full Text Search... Done
mono-apache-server4/bionic 4.2-2.1 all
ASP.NET 4.5 backend for mod_mono Apache module
mono-xsp4-base/bionic,now 4.2-2.1 all [installed,automatic]
base libraries for XSP 4.0
# apt install mono-apache-server4
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
efibootmgr libefiboot1 libefivar1
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
mono-apache-server4
0 upgraded, 1 newly installed, 0 to remove and 23 not upgraded.
Need to get 41.2 kB of archives.
After this operation, 143 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic/universe amd64 mono-apache-server4 all 4.2-2.1 [41.2 kB]
Fetched 41.2 kB in 3s (12.5 kB/s)
Preconfiguring packages ...
Selecting previously unselected package mono-apache-server4.
(Reading database ... 39504 files and directories currently installed.)
Preparing to unpack .../mono-apache-server4_4.2-2.1_all.deb ...
Unpacking mono-apache-server4 (4.2-2.1) ...
Setting up mono-apache-server4 (4.2-2.1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
libapache2-mod-monoのインストール
# apt search libapache2-mod-mono
Sorting... Done
Full Text Search... Done
libapache2-mod-mono/bionic 3.8-3 amd64
Apache module for running ASP.NET applications on Mono
mono-apache-server4/bionic,now 4.2-2.1 all [installed]
ASP.NET 4.5 backend for mod_mono Apache module
# apt install libapache2-mod-mono
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
efibootmgr libefiboot1 libefivar1
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
libapache2-mod-mono
0 upgraded, 1 newly installed, 0 to remove and 23 not upgraded.
Need to get 35.1 kB of archives.
After this operation, 112 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libapache2-mod-mono amd64 3.8-3 [35.1 kB]
Fetched 35.1 kB in 2s (18.1 kB/s)
Preconfiguring packages ...
Selecting previously unselected package libapache2-mod-mono.
(Reading database ... 39522 files and directories currently installed.)
Preparing to unpack .../libapache2-mod-mono_3.8-3_amd64.deb ...
Unpacking libapache2-mod-mono (3.8-3) ...
Setting up libapache2-mod-mono (3.8-3) ...
Using mono-apache-server4...
apache2_invoke: Enable module mod_mono
invoke-rc.d: could not determine current runlevel
apache2_invoke: Enable module mod_mono_auto
invoke-rc.d: could not determine current runlevel
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1.6) ...
写真
以上。
