跳转到内容

ZczBlog

  • 首页
  • 前端
    • HTML
    • CSS
    • JavaScript
    • jQuery
  • Linux系统
    • Linux
    • Ubuntu/debian
  • 数据库
    • MySQL
    • NoSQL
  • PHP
  • 其他

Ubuntu/debian类别订阅

Debian桥接网络(bridge)针对多个交换机

一、安装bridge服务

1
apt-get install bridge-utils

二、建立… 继续阅读 Debian桥接网络(bridge)针对多个交换机

  • 发表于: 2023年9月22日 2023年9月22日
  • 作者: 张 存志
  • 分类: Linux系统, Ubuntu/debian

Debian安装UFW防火墙

1、ufw简介 UFW,即简单防火墙,是iptables的接口,旨在简化防火墙的配置过程。 尽管ip… 继续阅读 Debian安装UFW防火墙

  • 发表于: 2023年8月25日 2023年8月28日
  • 作者: 张 存志
  • 分类: Linux系统, Ubuntu/debian

Debian禁用和启用服务,disable、enable、mask

#执行systemctl disable xxx后,会禁用这个服务。它实现的方法是将服务对应的软连接… 继续阅读 Debian禁用和启用服务,disable、enable、mask

  • 发表于: 2023年8月7日 2023年8月7日
  • 作者: 张 存志
  • 分类: Linux系统, Ubuntu/debian

Debian编译安装Apache

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
apt install sudo ssh vim mc ncdu tree git curl nmap net-tools zip gcc automake autoconf libtool make rpm wget ntpdate psmisc telnet build-essential zlib1g-dev libpcre3-dev libssl-dev libexpat1-dev g++
 
wget http://archive.apache.org/dist/apr/apr-1.7.4.tar.gz
tar -zxf apr-1.7.4.tar.gz
cd apr-1.7.4
./configure --prefix=/usr/local/lib/apr
make
make install
 
wget http://archive.apache.org/dist/apr/apr-util-1.6.3.tar.gz
tar -zxf apr-util-1.6.3.tar.gz
cd apr-util-1.6.3
./configure --prefix=/usr/local/lib/apr-util -with-apr=/usr/local/lib/apr/bin/apr-1-config
make
make install
 
wget https://sourceforge.net/projects/pcre/files/pcre/8.45/pcre-8.45.tar.gz
tar -zxf pcre-8.45.tar.gz
cd pcre-8.45
./configure --prefix=/usr/local/lib/pcre
make
make install
 
wget https://downloads.apache.org/httpd/httpd-2.4.57.tar.gz
tar -zxvf httpd-2.4.57.tar.gz
cd httpd-2.4.57
cd srclib/
cp -r ../../apr-1.7.4/ apr/
cp -r ../../apr-util-1.6.3/ apr-util/
./configure --prefix=/usr/local/lib/apache2 --with-apr=/usr/local/lib/apr --with-apr-util=/usr/local/lib/apr-util --enable-dav --enable-proxy --enable-maintainer-mode --enable-rewrite --enable-access_compat --enable-alias --enable-auth_basic --enable-auth_digest --enable-authn_core --enable-authn_file --enable-authz_core --enable-authz_host --enable-authz_user --enable-autoindex --enable-dav_fs --enable-deflate --enable-dir --enable-env --enable-filter --enable-headers --enable-mime --enable-negotiation --enable-reqtimeout --enable-setenvif --enable-status --enable-ssl=shared --enable-expires=shared --enable-static-support --with-included-apr --with-mpm=prefork --enable-cache --enable-file-cache
make
make install
 
#安装完成之后查看libphp*.so 的位置 然后复制到/usr/local/lib/apache2/modules
find / -name "libphp*"
cp /usr/lib/apache2/modules/libphp7.1.so modules/libphp7.so
 
#修改Apache的配置文件
#关闭Apache的服务
systemctl disable apache2
#将安装的Apache设置开机启动, 在/etc/rc.local 文件中添加一行, 一定要给rc.local文件可执行权限, 否则文件不生效
/usr/local/lib/apache2/bin/apachectl start
 
 

 

  • 发表于: 2023年8月7日 2024年5月7日
  • 作者: 张 存志
  • 分类: Apache, Linux系统, Ubuntu/debian, 中间件

Debian cups Web页面的源代码存放目录

1
/usr/share/cups

 

  • 发表于: 2023年6月29日 2023年6月29日
  • 作者: 张 存志
  • 分类: Linux系统, Ubuntu/debian

Debian禁止/开启ping

一、SSH下修改:

1
vi /etc/sysctl.conf

文件中有 ne… 继续阅读 Debian禁止/开启ping

  • 发表于: 2023年5月9日 2023年5月9日
  • 作者: 张 存志
  • 分类: Linux系统, Ubuntu/debian

Ubuntu关闭防火墙

查看防火墙状态

1
2
systemctl status firewalld.service
service  iptables status

暂时关闭防火墙 [… 继续阅读 Ubuntu关闭防火墙

  • 发表于: 2023年2月13日 2023年2月13日
  • 作者: 张 存志
  • 分类: Linux系统, Ubuntu/debian

Debian修改var目录的大小

安装系统的时候, 分区必须选择 LVM的方式 相关命令 [crayon-684d9d8b025df3… 继续阅读 Debian修改var目录的大小

  • 发表于: 2022年11月7日 2025年2月5日
  • 作者: 张 存志
  • 分类: Linux系统, Ubuntu/debian

debian配置防火墙

1
2
iptables -L
vim /etc/iptables.test.rules

[crayon-684d9d8b0… 继续阅读 debian配置防火墙

  • 发表于: 2022年9月21日 2022年9月21日
  • 作者: 张 存志
  • 分类: Linux系统, Ubuntu/debian

debain查看samba信息

查看samba用户

1
pdbedit -L

添加samba… 继续阅读 debain查看samba信息

  • 发表于: 2022年7月6日 2022年12月12日
  • 作者: 张 存志
  • 分类: Linux系统, Ubuntu/debian

分页

上一页 页码: 1 页码: 2 页码: 3 页码: 4 页码: 5 页码: 6 下一页

© 2025  ZczBlog.                        豫ICP备18029062号