Merge branch 'master' of github.com:webmin/webmin

This commit is contained in:
Jamie Cameron
2022-07-03 14:36:11 -07:00
8 changed files with 109 additions and 52 deletions

53
README-zh-cn.md Normal file
View File

@@ -0,0 +1,53 @@
## 内容
* [更新日志](https://github.com/webmin/webmin/blob/master/CHANGELOG.md)
* [关于](#关于)
* [安装](#安装)[<img src="https://github.com/webmin-devel/webmin/blob/master/media/download-23x14-stable.png?raw=true" title="稳定版">](http://webmin.com/download.html)[<img src="https://github.com/webmin-devel/webmin/blob/master/media/download-23x14-devel.png?raw=true" title="Development Versions">](http://webmin.com/devel.html)
* [文档](#文档)
* [致谢](#致谢)
* [许可](#许可)
## 关于
**Webmin** 是一个基于网页的类Unix服务器系统管理工具全球安装超过 _1,000,000_ 次(没错,事宝藏!)。有了它,运维快人一步!比如用户,磁盘配额,服务或者配置文件,比如更改,控制开源应用,再比如 BIND DNS Server管理 Apache HTTP Server PHP MySQL 还有[许多许多好东西](https://doxfer.webmin.com/Webmin/Introduction)。
[![Quick UI overview 2021](https://user-images.githubusercontent.com/4426533/114315375-61a1c480-9b07-11eb-9aaf-4aa949a39ab7.png)](https://www.youtube.com/watch?v=daYG6O4AsEw)
可通过安装可定制的模块来扩展可用性。 除此之外,还有另外两个扩展其功能的项目:
* [Virtualmin](https://www.virtualmin.com) 是一个强大的,灵活的,最受欢迎的,最全面的 Linux 和 BSD 系统网络托管控制面板,在全球拥有超过 _150,000次_ 安装。它有开源社区支持的版本以及功能更丰富的Premium版本
* [Usermin](https://github.com/webmin/usermin) 顾名思义,呈现和控制以用户为中心的功能子集,而不是管理员级别的任务。
Webmin 包括 _116_ 个[标准模块](https://doxfer.webmin.com/Webmin/Webmin_Modules),并且至少有同样多的第三方模块。
### 系统要求
Perl 5.10 或更高。
## 安装
Webmin 可以两种方法安装:
1. 下载一个预编译包可用于不同的发行版CentOS, Fedora, SuSE, Mandriva, Debian, Ubuntu, Solaris 和 [其他发行版](http://www.webmin.com/support.html))。[下载页面直达车](http://webmin.com/download.html);
<kbd>注:非常建议[在你的系统添加源](https://doxfer.webmin.com/Webmin/Installation),这样可以自动更新</kbd>
2. 下载并解压[源码](https://prdownloads.sourceforge.net/webadmin/webmin-1.996.tar.gz)然后运行[_setup.sh_](http://www.webmin.com/tgz.html) 脚本,无需任何选项,也就是说会直接安装到当前目录。或者使用命令行参数,例如目标目录。
<kbd>注:如果你正在安装 Webmin [到Windows](http://www.webmin.com/windows.html) 系统上,你必须运行 `perl setup.pl` 命令。Windows 版能否正常运行取决于许多程序,和可能不属于标准发行版的模块。你需要 _process.exe_ 命令, _sc.exe_ 命令,以及 _Win32::Daemon_ Perl 模块。</kbd>
## 文档
完整的 Webmin 还有它所有模块的详细配置都在[维基页面](https://doxfer.webmin.com/Webmin/Main_Page).
## 致谢
### 首席开发者
* [Jamie Cameron](http://www.webmin.com/about.html) [![](https://github.com/webmin-devel/webmin/blob/master/media/linkedin-15x15.png?raw=true)](https://www.linkedin.com/in/jamiecameron2)
### 贡献者
* [Joe Cooper](https://github.com/swelljoe)
* [Ilia Rostovtsev](https://github.com/iliajie)
* [Kay Marquardt](https://github.com/gnadelwartz)
* [Nawawi Jamili](https://github.com/nawawi) + [其他无偿奉献的开发者](https://github.com/webmin/webmin/graphs/contributors)
## 许可
Webmin 基于 [BSD 许可](https://github.com/webmin/webmin/blob/master/LICENCE)发布。

View File

@@ -6,6 +6,8 @@
* [Development](#development)
* [License](#license)
* [中文版](https://github.com/webmin/webmin/blob/master/README-zh-cn.md)
## About
**Webmin** is a web-based system administration tool for Unix-like servers, and services with over _1,000,000_ installations worldwide. Using it, it is possible to configure operating system internals, such as users, disk quotas, services or configuration files, as well as modify, and control open-source apps, such as BIND DNS Server, Apache HTTP Server, PHP, MySQL, and [many more](https://doxfer.webmin.com/Webmin/Introduction).
@@ -41,12 +43,14 @@ Complete set of documentation for Webmin and all of its modules can be found at
* [Jamie Cameron](http://www.webmin.com/about.html) [![](https://github.com/webmin-devel/webmin/blob/master/media/linkedin-15x15.png?raw=true)](https://www.linkedin.com/in/jamiecameron2)
### Contributors
* [Joe Cooper](https://github.com/swelljoe)
### Developers
* [Ilia Rostovtsev](https://github.com/iliajie)
* [Joe Cooper](https://github.com/swelljoe)
### Contributors
* [Kay Marquardt](https://github.com/gnadelwartz)
* [Nawawi Jamili](https://github.com/nawawi) + [57 more..](https://github.com/webmin/webmin/graphs/contributors)
* [Nawawi Jamili](https://github.com/nawawi)
* [unknown10777](https://github.com/unknown10777) + [90 more..](https://github.com/webmin/webmin/graphs/contributors)
## License

View File

@@ -2,21 +2,21 @@ index_title=备份配置文件
index_emods=系统上没有Webmin模块支持配置备份。
index_dest=备份目的地
index_mods=Webmin模块
index_sched=预定的?
index_sched=计划的?
index_when=是, $1
index_count=$1个模块
index_add=添加新的预定备份。
index_none=尚未定义计划的备份
index_add=添加新的备份计划
index_none=无备份计划
index_header=立即备份配置
index_now=立即备份
index_return=计划备份列表
index_return=备份计划列表
index_return2=备份和还原表格
index_header2=立即还原配置
index_now2=立即还原
index_apply=应用配置?
index_test=仅显示将恢复的内容?
index_jobs=预定备份
index_nostrftime=警告-一些备份作业在其文件名中使用但是在“模块配置”页面上未启用strftime替换。
index_nostrftime=警告-一些备份作业在其文件名中使用“%”但是在“模块配置”页面上未启用strftime替换。
index_tabsched=计划备份
index_tabbackup=立即备份
index_tabrestore=立即还原
@@ -68,7 +68,7 @@ backup_enone2=备份中没有所选模块的文件
backup_epre2=模块 $1拒绝还原 $2
backup_err=备份失败
backup_edest=绝对本地文件丢失或无效
backup_edest=绝对路径的文件丢失或无效
backup_eserver1=FTP服务器丢失或无效
backup_eserver2=SSH服务器丢失或无效
backup_epath=FTP服务器上的绝对路径丢失或无效
@@ -80,7 +80,7 @@ backup_esport=缺少或无效的SSH服务器端口
backup_emods=未选择模块
backup_title=备份配置
backup_doing=开始将模块配置文件备份到 $1 ..
backup_failed=..失败了! $1
backup_failed=了! $1
backup_done=..完成。最终备份大小为 $1其中包含 $2个文件。
restore_err=恢复失败
@@ -88,8 +88,8 @@ restore_emods=未选择模块或其他文件
restore_title=恢复配置
restore_doing=从 $1..开始恢复模块配置文件。
restore_testing=从 $1..中提取备份的内容
restore_failed=..失败了! $1
restore_done=..完成。已还原 $1个文件。
restore_failed=了! $1
restore_done=..完成。已恢复 $1个文件。
restore_done2=..备份中的文件是:
nice_ftp=通过FTP在 $1上的 $2
@@ -109,14 +109,14 @@ log_run_backup=已将 $1个模块备份到 $2
run_title=备份配置
run_doing=正在将 $1个模块备份到 $2 ..
run_ok=..备份成功完成。
run_failed=..备份失败!有关原因,请参上面的错误消息。
run_failed=寄了!请参上面的错误消息。
email_mods=模块备份:
email_mods=备份模块
email_failed=到 $1失败
email_ok=到 $1成功。
email_sfailed=$1的配置备份失败
email_sok=$1的配置备份成功
email_sfailed=$1的配置备份失败
email_sok=$1的配置备份成功
email_final=最终备份文件的大小为 $1
email_pre=运行备份前命令 $1 ..
email_post=运行备份后命令 $1 ..
email_prefailed=备份前命令失败
email_prefailed=备份前执行的命令寄了

View File

@@ -0,0 +1,2 @@
desc=备份配置文件
longdesc=进行手动或计划备份、恢复Webmin模块的配置文件

View File

@@ -1,2 +0,0 @@
desc_zh=备份配置文件
longdesc_zh=对Webmin模块管理的配置文件执行手动或计划的备份和还原。

View File

@@ -8,7 +8,7 @@ $product = $ARGV[0] || "webmin";
$ucproduct = ucfirst($product);
$< == 0 || die "atboot.pl must be run as root";
my $kill = &has_command("kill") || '/bin/kill';
my $kill = &has_command("kill");
if ($init_mode eq "osx") {
# Darwin System

View File

@@ -21,7 +21,7 @@ if ($product) {
unlink("$p/$product");
}
my $temp = &transname();
my $killcmd = &has_command('kill') || '/bin/kill';
my $killcmd = &has_command('kill');
$ENV{'WEBMIN_KILLCMD'} = $killcmd;
&copy_source_dest("$root_directory/webmin-systemd", "$temp");
my $lref = &read_file_lines($temp);

View File

@@ -1,23 +1,23 @@
index_apply=应用变更
index_applymsg=按下后,会给正在运行的$1进程发送一个SIGHUP信号以应用当前配置。
index_applymsg2=按下后,会执行 $1 命令以使当前配置生效。
index_applymsg=按下后,会给正在运行的 $1 发送SIGHUP信号以应用当前配置。
index_applymsg2=按下后,会执行 $1 命令以使当前配置生效。
index_dsa=DSA (SSH v2)
index_econfig=没找到ssh服务端配置文件 $1。可能没有安装sshd或者<a href='$2'>模块配置</a>可能有误。
index_esshd=没找到ssh服务端 $1。可能没有安装sshd或者<a href='$2'>模块配置</a>可能有误。
index_eversion=无法从ssh服务端 $1 中获取版本号。<a href='$2'>模块配置</a>可能有误。
index_eversion2=ssh服务端 $1 版本是 $2但是我只支持版本$1 的ssh服务端。
index_econfig=没找到SSH服务端配置文件 $1 。可能没有安装sshd或者<a href='$2'>模块配置</a>可能有误。
index_esshd=没找到SSH服务端 $1 。可能没有安装sshd或者<a href='$2'>模块配置</a>可能有误。
index_eversion=无法从SSH服务端 $1 中获取版本号。<a href='$2'>模块配置</a>可能有误。
index_eversion2=SSH服务端 $1 版本是 $2 ,但是我只支持版本$1 的SSH服务端。
index_return=模块索引
index_rsa=RSA (SSH v2)
index_rsa1=RSA (SSH v1)
index_start=
index_startmsg=按下后,我会启动sshd服务。它启动完成之前是不会有人通过ssh登录
index_start=启动
index_startmsg=按下后sshd服务会启动。它启动完成前不能通过SSH登录。
index_stop=停!
index_stopmsg=按下后,我会停止sshd服务端。它停止后是不会有人通过ssh登录的但现有的连接不会关闭。
index_title=ssh服务端
index_type=ssh密匙类型:
index_stopmsg=按下后sshd服务会停止运行。停止后不能通过SSH登录现有的连接不会关闭。可在“主机选项”更改
index_title=SSH服务端
index_type=SSH密匙类型:
index_version=$1
bits=bits
bits=比特
secs=秒
users_auth=允许使用密码验证吗?
@@ -39,18 +39,18 @@ users_expire=账户过期的前几天警告用户?
users_fcmd=仅用于命令
users_header=登录与验证选项
users_known=忽略用户的<tt>known_hosts</tt>文件吗?
users_mail=提醒用户有新邮件吗?
users_mail=提醒用户有新邮件吗?
users_maxauthtries=每连接尝试登录的最大次数
users_motd=登录时显示<tt>/etc/motd</tt>吗?
users_nopwd=只用RSA验证
users_nopwd=RSA验证
users_passwd=如果密码已过期,提示输入新的密码吗?
users_pempty=允许空密码登录吗?
users_pexpire_def=永不
users_pexpire=密码过期的前几天警告用户?
users_rhosts=忽略<tt>.rhosts</tt>文件吗?
users_rhostsauth=允许用<tt>hosts.equiv</tt>和<tt>.rhosts</tt>登录吗?
users_rhostsauth=允许用<tt>hosts.equiv</tt>和<tt>.rhosts</tt>登录吗?
users_rhostsrsa=检查 RSA 验证的<tt>hosts.equiv</tt>和<tt>.rhosts</tt>文件吗?
users_root=允许root吗?
users_root=允许root登录吗?
users_rrdef=和其他用户一样
users_rrhosts=忽略root用户的<tt>.rhosts</tt>文件吗?
users_rsa=允许RSA (SSH v1)验证吗?
@@ -72,7 +72,7 @@ net_idle_m=分
net_idle_h=小时
net_idle_d=天
net_idle_w=周
net_keep=如果客户机系统崩溃则断开连接?
net_keep=如果客户崩溃则断开连接?
net_listen=监听地址
net_listen_def=所有地址
net_grace=等待登录的时间
@@ -86,12 +86,12 @@ net_elisten=无效的监听IP地址
net_eport=无效的端口号
net_eidle=无效的无数据通信的等待时间
net_egrace=无效的等待登录时间
net_eprots=必须至少选一个协议
net_eprots=必须至少选一个协议
access_title=访问控制
access_header=网络和登录访问控制选项
access_allowu=允许用户
access_allowg=允许群组中的成员
access_allowu=允许用户
access_allowg=允许群组中的成员
access_all=所有人
access_denyu=禁止用户
access_denyg=禁止群组中的成员
@@ -107,16 +107,16 @@ access_eallowh=任何主机不许进入
access_edenyh=任何主机均可进入
misc_title=杂项选项
misc_header=其他杂项 SSH 服务选项
misc_header=SSH 服务端杂项选项
misc_x11=允许X11连接转发吗
misc_xoff=X11 显示偏移量
misc_xauth=<tt>xauth</tt> 程序的完整路径
misc_umask=SSH 服务的文件保护掩码
misc_umask=SSH 服务的文件保护掩码
misc_umask_def=保留原来的
misc_syslog=系统日志功能
misc_loglevel=日志级别
misc_bits=服务器的密钥大小
misc_quiet=记录最小的日志?
misc_quiet=记录最日志
misc_regen=服务器密钥再生的时间间隔
misc_regen_def=绝不
misc_fascist=记录详细的日志吗?
@@ -129,7 +129,7 @@ misc_ebits=为输入或无效的服务器密钥大小
misc_eregen=未输入或无效的密钥再生的时间间隔
misc_epid=未输入 PID 文件路径
start_err=无法启动 SSH 服务
start_err=无法启动sshd服务
hosts_title=客户端主机选项
hosts_header=SSH 客户端主机
@@ -140,16 +140,16 @@ hosts_return=客户端主机列表
host_create=添加主机选项
host_edit=编辑主机选项
host_header=用于 SSH 主机的客户端选项
host_header=用于ssh主机的客户端选项
host_name=主机的选项
host_user=以用户身份登录
host_user=以用户身份登录
host_user_def=当前登录
host_keep=如果服务器系统崩溃,则断开连接
host_keep=sshd服务停了还保留已连接的会话吗
host_hostname=要连接的真实主机名
host_hostname_def=同上
host_batch=如果需要则要求口令?
host_port=要连接至的端口
host_comp=压缩 SSH 通信
host_port=端口
host_comp=压缩SSH网络通信?
host_escape=Escape 字符
host_escape_none=无
host_clevel=压缩级
host_clevel=压缩