#CentOs7

CentOS7.2 切换成iptables规则

关闭firewallservicefirewalldstopsystemctldisablefirewalld.service#禁止firewall开机启动安装iptables规则:yuminstalliptables-services#安装打开/etc/sysconfig/iptables配置文件默认:#sample...

CentOS7.2 安装Chrome

/etc/yum.repos.d/目录下新建文件google-chrome.repo,向其中添加如下内容:[google-chrome]name=google-chromebaseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearchenabled=1gpg...
代码星球 代码星球·2020-08-09

CentOS7.2 设置静态ip

先找到配置文件:[root@localhostbin]#cd/etc/sysconfig/network-scripts[root@localhostnetwork-scripts]#lsifcfg-eno16777736ifdown-pppifup-ibifup-Teamifcfg-loifdown-routesif...
代码星球 代码星球·2020-08-09

CentOS7.2 安装Tomcat

Centos默认安装JDK现在要删除旧版本的jdk,安装新版本jdk查看现有jdk:[root@localhost桌面]#rpm-qa|grepjdkjava-1.8.0-openjdk-headless-1.8.0.65-3.b17.el7.x86_64java-1.7.0-openjdk-1.7.0.91-2.6....
代码星球 代码星球·2020-08-09

nginx + uwsgi 发布django项目!(linux为centos7)

1.在linux上安装python3,参考链接:https://www.cnblogs.com/kimyeee/p/7250560.html安装python3时候,建议不要更改默认的python,,默认python指向python2,,linux有一些东西需要用到,,比如yum,,如果将python默认指向python...

Xshell连接Centos7

13:53:102019-08-05一个月暑假开始学习搭建一个自己的博客我是用阿里云的服务器搭建自己的博客先利用XShell连接我的服务器XShell下载地址:https://www.netsarang.com/zh/free-for-home-school/(免费版)首先了解下XShell是什么:Xshell是一个强...
代码星球 代码星球·2020-08-09

Centos7VMware虚拟机最小化安装后,安装Tenda U12 USB无线网卡驱动

前几天买下了TendaU12USB无线网卡,想连接上无线玩玩,可惜买下折腾了一周才解决他它驱动问题,前后在VMware上装了十多次,测试了好几个内核版本才搞定,好了废话不多说,分享下我安装过程的经验:  原本是在CentOS7最小化后安装驱动的,没想到遇到这么多问题,只能现在图形化界面先进行调试,完了再最小化安装。安装...

VMware安装Centos7后有线线缆被拔出

背景:在win10系统中的虚机软件VMwareWorkstation中安装CentOS7桌面版,安装过程中没有设置网络1.确认你win10系统打开了这两个服务:VMwareDHCPService和VMwareNATService方法:电脑——右键——管理—&m...

Centos7安装JDK8以及环境配置

 下载,选择centos764位版本https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html 解压tar-zxvfjdk-8u202-linux-x64.tar.gz移动目录sudomkd...

centos7 下载安装tomcat9

 需要Java环境https://www.cnblogs.com/sea-stream/p/10404360.html官网下载安装包wgethttp://archive.apache.org/dist/tomcat/tomcat-9/v9.0.0.M18/bin/apache-tomcat-9.0.0.M18...

centos7 Python3终端中敲击方向键显示「^[[C^[[D」

 [root@localhostsrc]#python3Python3.7.2(default,Feb162019,21:52:05)[GCC4.8.520150623(RedHat4.8.5-36)]onlinuxType"help","copyright","credits"or"license"form...

Centos7:查看某个端口被哪个进程占用

 netstat-lnp|grep8031  参考:https://blog.csdn.net/u010886217/article/details/83626236https://blog.csdn.net/windflybird/article/details/80157993...

CentOS7 下curl使用

 curl工具工具的主页:https://curl.haxx.se/NAMEcurl-transferaURLSYNOPSIScurl[options][URL...]DESCRIPTIONcurlisatooltotransferdatafromortoaserver,usingoneofthesuppor...
代码星球 代码星球·2020-08-09

CentOS7 使用firewalld打开关闭防火墙以及端口

 1.firewalld的基本使用启动systemctlstartfirewalld关闭systemctlstopfirewalld查看状态systemctlstatusfirewalld开机禁用systemctldisablefirewalld开机启用systemctlenablefirewalld&nbs...

CentOS7 yum 安装git

 查看系统是否已经安装gitgit--versionyum安装gityuminstall-ygit安装成功[root@localhostbin]#git--versiongitversion1.8.3.1卸载gityumremovegit 参考:https://www.cnblogs.com/lia...
代码星球 代码星球·2020-08-09
首页上一页...2021222324...下一页尾页