摘要: cd ~ ls -al 这里可以看到一个 .bash_profile 的文件 然后vim 它 vim .bash_profile 插入如下代码 PATH=$PATH:$HOME/binexport JAVA_HOME=/apps/upgrade_sjzx/jdk/jdk1.8.0_162export 阅读全文
posted @ 2022-09-27 08:44 hxxhdaily 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 实现通过手柄让小车前进/后退/左转/右转 成品展示 视频演示 https://www.bilibili.com/video/BV1Va4y1t7sP?pop_share=1 材料: 彩色杜邦线 若干 arduino 开发板1个 L298n 电机驱动模块 1个 9V 电池一个 直流电机 4个 ps2 阅读全文
posted @ 2020-03-29 14:07 hxxhdaily 阅读(7749) 评论(2) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-11-01 16:56 hxxhdaily 阅读(7) 评论(0) 推荐(0) 编辑
摘要: unzip apache-tomcat-7.0.55-windows- x64.zip 解压zip文件 chmod +x startup.sh shutdown.sh catalina.sh 增加执行权限,./startup.sh 执行 tail -f ../logs/catalina.out 持续 阅读全文
posted @ 2019-07-27 15:28 hxxhdaily 阅读(156) 评论(1) 推荐(0) 编辑
摘要: 1. 检查有无自带的mariadb数据库 1) rpm -qa | grep mariadb #检查有无mariadb数据库 2) rpm -e --nodeps mariadb-libs-5.5.35-3.el7.x86_64 #卸载mariadb数据库 rpm -e --nodeps maria 阅读全文
posted @ 2019-07-27 15:24 hxxhdaily 阅读(882) 评论(0) 推荐(0) 编辑
摘要: 1.去JDK官网下载相应版本的JDK,Linux64位,( jdk-8u151-linux-x64.tar.gz包) 2. 先检查有没有自带安装OpenJDK 1) java –version 2) rpm -qa | grep java 3. 如果安装则先卸载 1) rpm -e –nodeps 阅读全文
posted @ 2019-07-27 15:14 hxxhdaily 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 1) i #进入编辑文本模式 2) Esc #退出编辑文本模式 3) :w #保存当前修改 4) :q #不保存退出vi 5) :wq #保存当前修改并退出vi 阅读全文
posted @ 2019-07-27 15:08 hxxhdaily 阅读(293) 评论(0) 推荐(0) 编辑
摘要: cd .. #返回上一级目录 cd ../.. #返回上两级目录 cd - #返回上次所在目录 cp file1 file2 #将file1复制为file2 cp -a dir1 dir2 #复制一个目录 cp -a /tmp/dir1 . #复制一个目录到当前工作目录(.代表当前目录) ls #查 阅读全文
posted @ 2019-07-27 15:04 hxxhdaily 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 1.ip [选项] 操作对象{link|addr|route...} ip addr show #显示网卡IP信息 2.修改IP配置 1) root权限 2) cd /etc/sysconfig/network-scripts/ #进入网络配置文件目录 3) ls #查看目录下所有文件 4) vi命 阅读全文
posted @ 2019-07-27 14:11 hxxhdaily 阅读(167) 评论(0) 推荐(0) 编辑
摘要: hostname #计算机名 passwd #修改密码 reboot #重启 shutdown –r now #立刻重启(root用户使用) shutdown –r 10 #过10分钟自动重启(root用户使用) shutdown –r 18:00 #在时间为18:00的时候重启(root用户使用) 阅读全文
posted @ 2019-07-27 14:10 hxxhdaily 阅读(204) 评论(0) 推荐(0) 编辑