试玩Aid Learning
记录一下步骤
## 打开Terminal复制回车即可 cd /etc/apt/&& cp sources.list sources.list.bk&& echo deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free > sources.list&& echo deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free >> sources.list&& echo deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free >> sources.list&& echo deb https://mirrors.tuna.tsinghua.edu.cn/debian-security/ buster/updates main contrib non-free >> sources.list&& echo deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free >> sources.list&& echo deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free >> sources.list&& echo deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free >> sources.list&& echo deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security/ buster/updates main contrib non-free >> sources.list&& apt update&& echo 换源已完成!&& cd /home
# 1.安装 apt install default-mysql-server # 2.初始化数据 mysql_install_db # 3.启动mysql service mysql start # 4.修改root用户密码 /usr/bin/mysqladmin -u root password ‘密码‘ # 5.登录mysql mysql -u root -p # 6.开启root用户远程访问权限(填root的密码) ## 写入权限 grant all on *.* to ‘%‘ identified by ‘‘ with grant option; ## 刷新权限并退出 flush privileges; quit; # 7.编辑配置文件 vim /etc/mysql/mariadb.conf.d/50-server.cnf # 8.修改 bind-address=0.0.0.0 # 9. 重启mysql kill -9 `pgrep mysql` service mysql start ## 问题一:每次启动都会报错.回车一下就行(有没有大佬知道怎么解决的QAQ) ## 问题二:不能自动启动
安卓(Android)手机安装Linux 系统并搭建 jdk 环境与tomcat 服务器
a.mysql
service mysql startb.tomcat
/url/local/tomcat8/bin/startup.shc.ngrok
1. 使用screen打开新窗口 screen -S aaa 2. 启动服务 /usr/local/ngrok http 10000 3. 后台运行 ctrl + a + d 4. 查看后台运行 screen -r aaa
相关推荐
aydh 2020-11-12
CoderToy 2020-11-16
emmm00 2020-11-17
王艺强 2020-11-17
ribavnu 2020-11-16
bianruifeng 2020-11-16
wangshuangbao 2020-11-13
苏康申 2020-11-13
vivenwan 2020-11-13
moyekongling 2020-11-13
云中舞步 2020-11-12
要啥自行车一把梭 2020-11-12
kuwoyinlehe 2020-11-12
minerk 2020-11-12
vitasfly 2020-11-12
jazywoo在路上 2020-11-11
敏敏张 2020-11-11
世樹 2020-11-11