Skip to content

spendist/raspbian

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f0a27ee · Jan 17, 2025

History

10 Commits
Nov 27, 2018
Jan 17, 2025
Feb 4, 2017
Feb 17, 2017

Repository files navigation

raspbian Initial Install

raspberry PI debian linux v8     # After install image

1 Configure Network##

###1.1首先安装必要的软件###

# apt-get install vim tree

# vim /etc/network/interface 

         auto eth0     iface eth0 inet static     address 192.168.0.6     netmask 255.255.255.0     network 192.168.0.0     gateway 192.168.0.254     dns-nameservers 192.168.0.254 114.114.114.114     

###1.2关闭 dhcp ###     # systemctl stop dhcpcd

    # systemctl disable dhcpcd

    # systemctl daemon-reload

2 Configure apache and php and mysql

    # apt-get install apache2 php5 mysql-server

3 arp-scan 使用

如果没有这个软件包,则 apt-get install nmap arp-scan 安装之 命令示例: # arp-scan --interface=eth0 --localnet --ouifile=/usr/share/ieee-oui.txt

其中 ieee-oui.txt 可以从网上下载最新版本的MAC 与厂商的对照表, 详细信息请参阅:https://regauth.standards.ieee.org/standards-ra-web/pub/view.html ,下载回来后略加工就可以形成 ieee-oui.txt 文件格式。其中第一列为MAC硬件地址的前4个字节,第二个字段为制造商,中间空格\t分隔

配置局域网 SAMBA参见 sam.conf:

修改完成以后,使用命令  # testparm 检测一下是否参数使用正确。  # /etc/init.d/samba restart 重新启动服务就可以看见了 用命令: # smbpasswd spender 设置三个用户的访问密码 # gdedit -w -L 查看当前所有用户

配置 minildna 有点遗憾的是,它不支持 中文文件名

raspbian Initial Install

raspberry PI debian linux v8     # After install image

1 Configure Network##

###1.1首先安装必要的软件###

# apt-get install vim tree

# vim /etc/network/interface 

         auto eth0     iface eth0 inet static     address 192.168.0.6     netmask 255.255.255.0     network 192.168.0.0     gateway 192.168.0.254     dns-nameservers 192.168.0.254 114.114.114.114     

###1.2关闭 dhcp ###     # systemctl stop dhcpcd

    # systemctl disable dhcpcd

    # systemctl daemon-reload

2 Configure apache and php and mysql

    # apt-get install apache2 php5 mysql-server

3 apr-scan 使用

如果没有这个软件包,则 apt-get install nmap arp-scan 安装之 命令示例: # arp-scan --interface=eth0 --localnet --ouifile=/usr/share/ieee-oui.txt

其中 ieee-oui.txt 可以从网上下载最新版本的MAC 与厂商的对照表, 详细信息请参阅:https://regauth.standards.ieee.org/standards-ra-web/pub/view.html ,下载回来后略加工就可以形成 ieee-oui.txt 文件格式。其中第一列为MAC硬件地址的前4个字节,第二个字段为制造商,中间空格\t分隔

配置局域网 SAMBA参见 sam.conf:

修改完成以后,使用命令  # testparm 检测一下是否参数使用正确。  # /etc/init.d/samba restart 重新启动服务就可以看见了 用命令: # smbpasswd spender 设置三个用户的访问密码 # gdedit -w -L 查看当前所有用户

配置 minildna 有点遗憾的是,它不支持 中文文件名

About

raspberry PI debian linux v8

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published