-
RB750gr3快速设置
Nov 22, 2017
开箱照 以下为开箱照 RB750快速设置 首先下载Winbox,winbox64.exe,将1口连接光猫,2口连接电脑。 下载打开后,软件会自动搜索到路由器MAC,登录名为admin,密码为空,点击connect登录。 …
-
梅林固件安装Shadowsocks
Nov 19, 2017
登录路由器后台,系统管理>系统设置,将Enable SSH设置为LAN only。 通过SSH登录路由器,参考以下执行,在此推荐Putty。 cd /tmp wget https://github.com/hq450/fancyss_history_package/raw/master/fancyss_arm/shadowsocks_4.1.1.tar.gz tar -zxvf shadowsocks_4.1.1.tar.gz cd shadowsocks chmod +x install.sh ./install.sh 2017年11月19日 14:40:36: 固件平台【koolshare merlinarmv7l】符合安装要求,开始安装插件! 2017年11月19日 14:40:36: 清理旧文件 2017年11月19日 14:40:36: 开始复制文件! 2017年11月19日 14:40:36: 复制相关二进制文件! 2017年11月19日 14:40:42: 创建一些二进制文件的软链接! 2017年11月19日 14:40:42: 复制ss的脚本文件! 2017年11月19日 14:40:44: 复制网页文件! 2017年11月19日 14:40:44: 移除安装包! 2017年11月19日 14:40:44: 为新安装文件赋予执行权限... 2017年11月19日 14:40:44: 设置一些默认值 2017年11月19日 14:40:47: 一点点清理工作... 2017年11月19日 14:40:47: 插件安装成功,你为什么这么屌?! 2017年11月19日 14:40:47: 更新完毕,请等待网页自动刷新! 完成后重启路由器,在软件中心中即可看到影梭已经安装成功! …
-
按需安装Office2016组件
Oct 20, 2017
所需软件 Office 2016 下载地址 http://nrdoc.com office2016install.zip 下载地址 https://pan.baidu.com/s/1jIMOFfK DAEMON Tools Lite 下载地址 https://www.daemon-tools.cc/chn/downloads 步骤 1、下载Office2016和DAEMON Tools Lite,安装DAEMON Tools Lite,将office2016镜像(iso)文件挂载到虚拟光驱。 …
-
Typecho登录时提示AccessDenied
Oct 03, 2017
Typecho安装完成后,登录后提示Access Denied,解决方法如下: 找到php.ini文件,我的在/usr/local/php/etc/php.ini …
-
Linux下修复分辨率显示异常
Aug 26, 2017
家里放了台老旧的台式机,显卡是GTX 660Ti,windows下必须安装特定的驱动版本才能显示最佳分辨率(1680x1050),如果更新到最新的Nvidia驱动,反而显示器无法正常显示(1024x768)。 …
-
一加3T开启黑白屏模式
Aug 21, 2017
一加5发布后,唯一让我眼红的就是那块屏幕,还有类似于水墨屏的阅读体验。 其实一加3T中也可以使用黑白屏模式,在开发者模式中可以找到设置。 设置->开发者选项->模拟颜色空间->全色盲。 …
-
sitemap-generators使用实例
Aug 13, 2017
sitemap-generators是一款Sitemap生成工具,使用它可以生成符合sitemap.org规范的Sitemap文件,以便于提交给各个网站工具平台。 …
-
Dropbox脚本工具DropboxUploader
Jul 28, 2017
Dropbox Uploader是一款专为Dropbox开发的BASH脚本,可以实现上传、下载、删除、列出文件清单、在线分享、同步和备份等功能。 它使用BASH脚本语言写成,只需要cURL即可使用。 …
-
Linux下批量转换PNG和JPG
Jul 17, 2017
我们用到的软件名为imagemagick,一款强大的图片处理软件。 Debian系使用apt-get install imagemagick来安装,Fedora系通过yum install imagemagick来安装。 …
-
p7zip使用实例
Jun 16, 2017
以下是CentOS7中7za的使用实例,CentOS下安装p7zip可以参考此文 [root@localhost ~]# 7za 7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21 p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,1 CPU x64) Usage: 7za <command> [<switches>...] <archive_name> [<file_names>...] [<@listfiles...>] <Commands> a : Add files to archive b : Benchmark d : Delete files from archive e : Extract files from archive (without using directory names) h : Calculate hash values for files i : Show information about supported formats l : List contents of archive rn : Rename files in archive t : Test integrity of archive u : Update files to archive x : eXtract files with full paths <Switches> -- : Stop switches parsing -ai[r[-|0]]{@listfile|!wildcard} : Include archives -ax[r[-|0]]{@listfile|!wildcard} : eXclude archives -ao{a|s|t|u} : set Overwrite mode -an : disable archive_name field -bb[0-3] : set output log level -bd : disable progress indicator -bs{o|e|p}{0|1|2} : set output stream for output/error/progress line -bt : show execution time statistics -i[r[-|0]]{@listfile|!wildcard} : Include filenames -m{Parameters} : set compression Method -mmt[N] : set number of CPU threads -o{Directory} : set Output directory -p{Password} : set Password -r[-|0] : Recurse subdirectories -sa{a|e|s} : set Archive name mode -scc{UTF-8|WIN|DOS} : set charset for for console input/output -scs{UTF-8|UTF-16LE|UTF-16BE|WIN|DOS|{id}} : set charset for list files -scrc[CRC32|CRC64|SHA1|SHA256|*] : set hash function for x, e, h commands -sdel : delete files after compression -seml[.] : send archive by email -sfx[{name}] : Create SFX archive -si[{name}] : read data from stdin -slp : set Large Pages mode -slt : show technical information for l (List) command -snh : store hard links as links -snl : store symbolic links as links -sni : store NT security information -sns[-] : store NTFS alternate streams -so : write data to stdout -spd : disable wildcard matching for file names -spe : eliminate duplication of root folder for extract command -spf : use fully qualified file paths -ssc[-] : set sensitive case mode -ssw : compress shared files -stl : set archive timestamp from the most recently modified file -stm{HexMask} : set CPU thread affinity mask (hexadecimal number) -stx{Type} : exclude archive type -t{Type} : Set type of archive -u[-][p#][q#][r#][x#][y#][z#][!newArchiveName] : Update options -v{Size}[b|k|m|g] : Create volumes -w[{path}] : assign Work directory. Empty path means a temporary directory -x[r[-|0]]{@listfile|!wildcard} : eXclude filenames -y : assume Yes on all queries 压缩文档 [root@localhost oneinstack]# du -sh ##当前目录大小 1.8M . [root@localhost oneinstack]# 7za a oi.7z * ##将当前目录所有文件压缩保存为oi.7z 7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21 p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,1 CPU x64) Scanning the drive: 7 folders, 128 files, 1541017 bytes (1505 KiB) Creating archive: oi.7z Items to compress: 135 Files read from disk: 128 Archive size: 131726 bytes (129 KiB) Everything is Ok [root@localhost oneinstack]# ls -lh oi.7z ###压缩后大小 -rw-r--r-- 1 root root 129K Jun 16 15:59 oi.7z p7zip默认使用7z格式,当然它还支持一些通用的压缩格式,如7z, lzma, cab, zip, gzip, bzip2, Z 和tar等等…… …