apache2+fast-cgi+php的安装步骤

#1. mysql安装 ``` shell #  tar xvfz mysql-5.0.24.tar.gz (直接解压) # cd mysql-5.0.24 (进入解压缩后的文件目录) ./configure --prefix=/usr/local/mysql --enable-thread-safe-client --with-named-curses-libs=/usr/
2021-11-11 08:39:03 346 0 0

Debian9安装unas4.0笔记

安装Debian9(Debian9以下版本升级至Debian9亦可,当然新安装的纯净系统效果最好),获得root权限后按以下步骤操作:1、先执行apt update和apt upgrade将所有软件升级到最新: # 更新软件源 $ apt update # 升级软件 $ apt upgrade 2、依次执行以下代码: $ apt install dirmngr # 添加U-NAS软件源密钥 $ gpg --keyserver keyserver.ubuntu.com --recv-keys AB9E1E90EDAEFB47 $ gpg -a --export AB
2020-12-23 16:13:20 410 0 0

MAC下homebrew换源

homebrew速度真的慢,安装完后直接换源 ```shell cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"\n git remote set-url origin https://mirrors.ustc.edu.cn/homebrew-core.git git pull cd "$(brew --repo)"/Library/T
2020-08-12 08:54:12 348 0 0

mac下安装pytorch

## 安装conda 下载安装包后安装 ## 安装pytorch ```shell conda install pytorch torchvision -c pytorch -y ``` ## 创建虚拟环境 ``` conda create -n dp37 python=3.7 numpy matplotlib pandas jupyter notebook -y ``` ## 进入dp37虚拟环
2020-04-19 09:29:03 319 0 0

sourcetree 和git 安装笔记

1. 不能保存密码 git config --global credential.helper osxkeychain​ 2.超时设置 git config --global http.lowSpeedLimit 0 git config --global http.lowSpe
2020-03-20 08:37:51 545 0 0

Mac Mojave系统和开发环境安装笔记

# mac系统安装 --- ## Homebrew Install 通过命令行安装homebrew,然后安装下常用的命令行工具 ``` xcode-select --install /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew ins
2019-06-19 13:20:49 536 0 0

debian9虚拟内存开启交换分区

#开16G 创建一个 文件作为swap区:名字为/swapfile1 大小为bs*count = 1024*2000000=16G,count代表的是大小 dd if=/dev/zero of=/swapfile bs=1024 count=16000000 #将其转化为swap文件 mkswap /swapfile #将其改为只有root权限才能修改: chown root:root /sw
2019-03-14 12:09:13 769 0 0

debian下创建新用户root 用户

直接在root用户下: useradd -m aaa -g 0 -s /bin/bash -d /home/aaa passwd aaa 关于useradd命令的参数意义如下,供参考: -c<备注>:加上备注文字。备注文字会保存在passwd的备注栏位中; -d<登入目录>
2019-03-07 10:26:41 829 0 0

Win下批处理后台运行和关闭

启动脚本 run.vbs Dim RunKcptun Set fso = CreateObject("Scripting.FileSystemObject") Set WshShell = WScript.CreateObject("WScript.Shell") '获取文件路径 currentPath = fso.GetFile(Wscript.ScriptFullName).Pare
2019-03-05 15:30:42 485 0 0

邮件服务器配置

邮件服务器配置 1 、绑定域名( ffkey.com ): 添加 A 记录指向服务器 IP ,添加 MX 记录指向 ffkey.com 2 、软件安装: 2.1 查看安装 rpm -qa | grep sendmail rpm -qa | grep dovecot rpm -qa | grep cyrus 2.2 安装服务 安装邮件服务器
2019-03-02 19:50:56 295 0 0