本机是安卓手机,安装的linux deploy,处理器arm aarch64,系统centos7.
安装宝塔面板要注意千万不要让宝塔修改镜像源,因为宝塔设置的镜像源不支持aarch64处理器。
(1).下载安装脚本
wget http://download.bt.cn/install/install_6.0.sh
(2).修改镜像代码
if [ "${yumStatus}" != "200" ] || [ "${time_total}" -ge "2" ];then
yum update ##我把这里下载镜像源的代码改成更新镜像源。
fi (3).执行安装脚本,全程安全路过
sh install_6.0.sh
(4).登录后台编译安装mysql5.6,nginx1.18,php7.0,phpmyadmin,安装完成只有mysql无法启动
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock'
发现没有生成tmp/mysql.sock文件,各种百度无果,后来想到如果给mysql启动用户设置为root呢?
[mysqld] user = root
完美启动成功mysql
(5).安装php5.6成功
(6).安装ftp成功
【一】.钩子文件的设置和创建(1).打开hooks目录,可以看到有一个post-commit.tmpl文件,这是一个模板文件。复制一份,重命名为post-commit,将其用户组设为www,并设置为可执行。chown www:www post-commitchmod +x post-commit(2...
1.远程仓库的协作模式开发者把自己最新的版本推到线上仓库,同时把线上仓库的最新代码,拉到自己本地即可2.注册git帐号国外: http://www.github.com国内: http://git.oschina.net2.在码云创建项目,不要初始化readmegit push https://gi...
1.关机Process.Start("shutdown", "-s -t 0"); 2. 注销 Proc...
public static string GetMD5(string str) { //创建MD5对象 MD5 md5 = MD5.C...
private const string fantizi = "高久峰是個程序員"; private const string jiantizi = "高久峰是个程序员...
navicat for mysql 11.1.13 企业破解版.绿色软件免安装,请直接打开安装说明.一定要看说明.下载地址: http://pan.baidu.com/s/1dFINxNN下载链接失效,直接点击上方QQ呼叫...