![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
搭建服务器
曾路人
技术宅
展开
-
linux 设置开机自动执行脚本
在etc/rc.d/rc.local 脚本中添加 需要执行脚本的路径第一次可能需要打开执行权限 chmod +x rc.local例在 opt 下有一个 test.sh 文件,只需要在rc.local文件最后一行添加 /opt/test.sh 即可...原创 2020-01-12 18:04:53 · 151 阅读 · 0 评论 -
c++ boost安装
boost 官网:https://sourceforge.net/projects/boost/files/boost/5.1Easy Build and InstallIssue the following commands in the shell (don't type$; that represents the shell's prompt):$ cd path/t...原创 2020-01-02 22:02:44 · 187 阅读 · 0 评论 -
rpm 安装mysql5.7
什么都不要想先去官网看看:https://dev.mysql.com/doc/mysql-yum-repo-quick-guide/en/#repo-qg-yum-installingrepo 源下载地址:https://dev.mysql.com/downloads/repo/yum/最好先su root 先切换到rootrpm -ivhmysql80-community-...原创 2019-12-22 14:01:08 · 740 阅读 · 0 评论 -
远程连接linux 提示访问22端口失败
首先在94的服务器上看是否开启了22端口 netstat -ntl (netstat -ntal 有更详细的东西) 没有开启那肯定是连不上的一般来说我们远程链接用的是ssh方式 如Xshell 新建链接的时候所以在Linux上 which ssh看一下是否有这个东西(没有就安装咯)如果有看下是否开启 systemctl status sshd 服务(没开就开启咯 sy...原创 2023-05-04 12:20:04 · 2293 阅读 · 1 评论 -
Linux 固定ip设置
先参考 :https://blog.csdn.net/qq_38138069/article/details/80982527linux 网络配置的文件在/etc/sysconfig/network-scripts/ 目录下ifconfig查看自己的网卡信息 ens33 对应文件为ifcfg-ens33打开根据他的设置完成后 看是否能ping通主机 ping 1...原创 2019-11-28 15:39:58 · 197 阅读 · 1 评论