1,安装httpd
1.下载httpd
命令如下:
wget http://archive.apache.org/dist/httpd/httpd-2.2.17.tar.gz
2.解压文件:
tar xvf httpd-2.2.17.tar.gz
cd httpd-2.2.17
3.设置环境变量:
./configure -prefix=/usr/local/httpd
4.编译安装
make && make install
2,关闭防火墙
suse12关闭防火墙
systemctl stop SuSEfirewall2.service
取消开机启动防火墙
systemctl disable SuSEfirewall2.service
开启防火墙
systemctl enable SuSEfirewall2.service
开机启动防火墙
systemctl start SuSEfirewall2.service
3,安装jdk
4,安装mysql
rpm -ivh mysql-community-common-8.0.26-1.sles12.x86_64.rpm
rpm -ivh mysql-community-client-plugins-8.0.26-1.sles12.x86_64.rpm
rpm -ivh mysql-community-common-8.0.26-1.sles12.x86_64.rpm
rpm -ivh mysql-community-libs-8.0.26-1.sles12.x86_64.rpm
rpm -ivh mysql-community-client-8.0.26-1.sles12.x86_64.rpm
rpm -ivh mysql-community-server-8.0.26-1.sles12.x86_64.rpm
卸载:
rpm -ev mysql-community-common-8.0.26-1.sles12.x86_64.rpm --nodeps
rpm -ev mysql-community-client-plugins-8.0.26-1.sles12.x86_64.rpm --nodeps
rpm -ev mysql-community-common-8.0.26-1.sles12.x86_64.rpm --nodeps
rpm -ev mysql-community-libs-8.0.26-1.sles12.x86_64.rpm --nodeps
rpm -ev mysql-community-client-8.0.26-1.sles12.x86_64.rpm --nodeps
rpm -ev mysql-community-server-8.0.26-1.sles12.x86_64.rpm --nodeps