直接使用命令行命令:
sudo /usr/lib/vmware/bin/vmware-vmx --new-sn xxxx-xxxx-xxxx-xxxx-xxxx
直接使用命令行命令:
sudo /usr/lib/vmware/bin/vmware-vmx --new-sn xxxx-xxxx-xxxx-xxxx-xxxx
Colour depth | 640×480 | 800×600 | 1024×768 | 1280×1024 | 1400×1050 | 1600×1200 |
---|---|---|---|---|---|---|
8 (256) | 769 | 771 | 773 | 775 | ||
15 (32K) | 784 | 787 | 790 | 793 | ||
16 (65K) | 785 | 788 | 791 | 794 | 834 | 884 |
24 (16M) | 786 | 789 | 792 | 795 |
特制作此计算器,用于快速计算论坛四则运算验证码,粘贴计算式即可显示答案!
本地下载:
calc-html
网盘下载:
https://pan.baidu.com/share/link?shareid=461045&uk=2432974331
前戏:先登录服务器
lftp <ip>
user <username>
<password>
关键在于put命令后加-c参数
> put -c <filename>
" 语法高亮
syntax on
" 自动缩进
set ai
" 显示行号
set nu
" tab宽度
set tabstop=4
" 不要自动备份文件
set nobackup
" 不自动换行
set nowrap
" 字体名称、高度、字符集
set gfn=Consolas:h11:cANSI:qDRAFT
" 默认文件编码
set fileencoding=utf-8
" 文件编码
set fileencodings=utf-8,cp93
" 不响应鼠标
set mouse=
set ttymouse=
" 不使用系统剪贴版
set clipboard=
setterm -blank 0
添加内核启动参数consoleblank=0
chmod 777 /var/lib/tftpboot
1、修改文件系统权限
chmod -R 777 /var/ftp/pub/
2、使用可写入型的SELinux Context值
semanage fcontext -a -t public_content_rw_t '/var/ftp/pub(/.*)?' #semanage来自于policycoreutils-python包
restorecon -R /var/ftp/pub/
3、修改SELinux布尔值放行匿名上传(写入)
setsebool -P allow_ftpd_anon_write=1
4、修改/etc/vsftpd/vsftpd.conf配置文件
anonymous_enable=YES #启用匿名模式
anon_upload_enable=yes #允许匿名用户上传文件
anon_mkdir_write_enable=yes #允许匿名用户创建目录
anon_other_write_enable=yes #允许匿名用户删除、移动、修改文件权限等其他修改操作
write_enable=YES #全局可写开关,默认已开启(Debian系默认关闭)
chown_uploads=YES #可选,对于匿名用户上传的文件,是否指定其所有者(不指定则为ftp)
chown_username=ftp #如果chown_uploads设为YES,指定哪个用户为匿名上传文件的所有者
chown_upload_mode=644 #貌似效果不如anon_umask
anon_umask=000 #匿名上传文件的umask值,为8进制,必须以0开头,chown_uploads=NO时有效
local_umask=000 #本地用户上传文件的umask值,为8进制,必须以0开头,chown_uploads=YES时有效
no_anon_password=YES #匿名用户无需密码验证
seccomp_sandbox=NO #某些发行版上传出现530报错可以尝试这个参数
bash脚本调用tr命令修改文件名,tr命令参数由用户指定。The bash script will call command ‘tr’ to change file names. parameters transfered to ‘tr’ is specified by user.
# Usage: fn-tr -p <tr parameters> -r <file/directory> <file/directory> ...
# -p parameters will transfered to command 'tr' 指定将会传递给tr命令的参数
# -d change directory 对目录执行更改操作
# -f change normal file 对普通文件执行更改操作
# -r recursive 递归搜索子目录
举例Example:
将/docs下文件名中的多个连续空格压缩到一个 remove duplicated white spaces of the filenames under /docs
ftr -p '-s " "' -fr /docs/*
bash脚本下载:bash script download:
https://gitee.com/mjpclab/Shell-Utility/raw/master/bin/fn-tr
https://raw.githubusercontent.com/mjpclab/Shell-Utility/master/bin/fn-tr
# Usage: chfcase [-lur] <file/directory> <file/directory> ...
# -l change file name to lower case (default) 更改文件名为小写(默认)
# -u change file name to upper case 更改文件名为大写
# -d change directory 对目录执行更改操作
# -f change normal file 对普通文件执行更改操作
# -r recursive 递归搜索子目录
#
举例Example:
更改当前目录及所有子目录普通文件名为小写 Change all normal file names to lowercase under current directory recursively:
chfcase -lfr *
将当/var/html下的子目录更改为大写 Change directory name which under /var/www to upper case
chfcase -ud /var/html/*
bash脚本下载:bash script download:
https://gitee.com/mjpclab/Shell-Utility/raw/master/bin/fn-case
https://raw.githubusercontent.com/mjpclab/Shell-Utility/master/bin/fn-case