Linux中常用安装包
包含前后端开发环境,NGINX配置环境等
yum install libaio zlib zlib-devel pcre-devel openssl openssl-devel
yum install -y perl-Module-Install.noarch
rpm -Uvh https:///config/centos/packages-microsoft-prod.rpm
yum install aspnetcore-runtime-0
yum install -y pcre pcre-devel
yum install -y zlib zlib-devel
yum install -y openssl openssl-devel
yum install coreutils
yum -y install httpd httpd-manual mod_ssl mod_perl mod_auth_mysql
yum -y install php php-mysql gd php-gd gd-devel php-xml php-common php-mbstring php-ldap php-pear php-xmlrpc php-imap
安装NGINX
mkdir nginx
wget http:///download/nginx-1.25.1.tar.gz
./configure --with-http_stub_status_module --with-http_ssl_module
bash ./configure --with-http_stub_status_module --with-http_ssl_module# 如果不能执行 在前面加上 bash
make && make install
cd /usr/local/nginx
vim /usr/local/nginx/conf/nginx.conf
ln /usr/local/nginx/sbin/nginx /usr/local/bin/nginx
/root/easyblog/nginx -c /root/easyblog/nginx/conf/nginx.conf
/root/easyblog/nginx -s reload
安装宝塔面板
# 安装宝塔面板
yum install -y wget && wget -O install.sh https:///install/install_6.0.sh && sh install.sh ed8484bec