CentOS7 Apache+Mono Web站點部署
安裝Mono
配置Yum源 參考
yum install yum-utils
rpm –import “http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF”
yum-config-manager –add-repo http://download.mono-project.com/repo/centos7/
安裝mono
yum install -y mono-devel
安裝httpd、mod_mono
yum install -y httpd apache2-mod_mono
配置mod_mono.conf
vi /etc/httpd/conf.d/mod_mono.conf
新增
MonoServerPath /usr/bin/mod-mono-server4
配置Web站點
新增Web目錄
mkdir /home/aspnet
新增站點配置檔案
vi /etc/httpd/conf.d/aspnet.conf
配置內容
Alias /aspnet "/home/aspnet"
MonoApplications "/aspnet:/home/aspnet"
<Location /aspnet>
SetHandler mono
</Location>
<Directory /home/aspnet>
AllowOverride Options
Require all granted
</Directory>
啟動Web站點
啟動httpd
systemctl start httpd
新增到自動啟動
systemctl enable httpd
結果驗收,在瀏覽器中開啟
[域名/IP]/aspnet
相關文章
- CentOS7搭建個人站點CentOS
- 如何部署HTTPS站點HTTP
- Forever +nginx部署Node站點Nginx
- windows雲伺服器部署web網站Windows伺服器Web網站
- 前端靜態站點部署方案前端
- Web伺服器的部署地點Web伺服器
- centos7 部署 memcacheCentOS
- CentOS7上部署httpsCentOSHTTP
- 釋出並部署NCF站點的那些事
- centos 監控web站點是否500 指令碼CentOSWeb指令碼
- Abp框架Web站點的安全性提升框架Web
- 輕鬆部署 Laravel 應用 | 《09. 手動部署 - 配置 Nginx 站點》LaravelNginx
- [Linux]釋出並部署NCF站點的那些事Linux
- CentOS7離線部署JDKCentOSJDK
- centos7部署djangoCentOSDjango
- CentOS7部署BindCentOS
- CentOS7部署cephCentOS
- python web 部署PythonWeb
- 使用BeetleX在Linux下部署.NET多站點服務Linux
- CentOS7 docker安裝部署教程CentOSDocker
- 如何使用 Apache Web 伺服器配置多個站點ApacheWeb伺服器
- 如何輕鬆建站?站點一鍵部署搭建(詳細教程)
- 利用麥咖啡(McAfee)打造超安全的Web站點目錄Web
- Centos7系統部署django專案CentOSDjango
- asp.net core 2.1 部署 centos7ASP.NETCentOS
- CentOS7部署Docker(聯網)CentOSDocker
- Centos7安裝安裝部署dockerCentOSDocker
- CentOS7 輕鬆部署 Laravel 應用CentOSLaravel
- CentOS7部署geoserver和postgisCentOSServer
- centos7下zookeeper叢集安裝部署CentOS
- Centos7部署Redis叢集CentOSRedis
- centos7部署element-plusCentOS
- Centos7搭建部署confluence7.4.6CentOS
- linux web環境部署LinuxWeb
- Flutter Web 開發部署FlutterWeb
- Flutter2 for Web,寫了個部落格站點,已上線FlutterWeb
- centos7後臺服務部署jar包CentOSJAR
- CentOS7系統GitLab安裝部署教程。CentOSGitlab
- Centos7部署nmon監控工具CentOS