CentOS7 安装远程桌面
Linux 6-21 820浏览 0评论yum 源使用是阿里的:https://opsx.alibaba.com/mirror?lang=zh-CN rm -rf /etc/yum.repos.d/* curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo 一、桌面环境 首先安装桌面环境,这里安装 GNOME。 yum -y groups install "GNOME Desktop" 关于桌面环境相关命令 # 从命令行切换到桌面环境 startx...
CentOS修改系统时间
Linux 3-11 890浏览 0评论操作: date –s '1987-05-02 10:10:10' clock –w //将日期写入CMOS 补充: 修改Linux时间一般涉及到3个命令: date:修改系统当前的时间 clock:修改CMOS时间(查看CMOS时间:clock -r) hwclock:修改系统硬件时间 hwclock 用法: hwclock --show //查看硬件时钟 hwclock --s...
Linux环境下使用vsftpd搭建ftpd服务器
Linux 2-13 853浏览 0评论环境是Centos5.6,由于需要提供ftp服务,就找了一款比较小巧的ftp服务器端软件,vsftpd(vsftpd 的名字代表”very secure FTP daemon”, 安全是它的开发者 Chris Evans 考虑的首要问题之一。在这个 FTP 服务器设计开发的最开始的时候,高安全性就是一个目标。)
CentOS MySQL 5.5 源码安装
Linux 2-11 780浏览 0评论1. 安装需要系统库相关库文件: [root@localhost ~]# yum install -y gcc gcc-c++ gcc-g77 autoconf automake zlib* fiex* libxml* ncurses-devel libmcrypt* libtool-ltdl-devel* 2.需要的两个包 [root@localhost /]# cd /usr/local/src/ [root@localhost src]# ll
CentOS7安装iptables防火墙
Linux 2-7 889浏览 0评论CentOS7默认的防火墙不是iptables,而是firewalle. 安装iptable iptable-service #先检查是否安装了iptables
CentOS 7 yum 安装 mysql-devel
Linux 2-6 1016浏览 0评论CentOS 7 yum没有mysql也没有mysql-devel 解决办法: 1. 下载mysql的repo源 wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
CentOS 7.0编译安装Nginx1.6.0+MySQL5.6.19+PHP5.5.14
Linux 2-6 696浏览 0评论一、配置防火墙,开启80端口、3306端口 CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。 1、关闭firewall: systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止firewall开机启动 2、安装iptables防火墙 yum install iptables-services #安装 vi /etc/sysconfig/iptables #...
Linux 查看文件以及磁盘空间大小管理
Linux 2-1 1409浏览 0评论查看文件大小 查看当前文件夹下所有文件大小(包括子文件夹) du -sh # du -h 15M ./package 16K ./.fontconfig 4.0K ./.cache 5.1M ./.rpmdb 20M .
CentOS 6.X 网卡(eth0)自动激活方法
Linux 1-31 1597浏览 0评论1.自动激活网卡 安装了CENTOS 6.X后,每次启动了系统都需要手动激话网卡,以下方法可以在系统启动后自动激活网卡。 vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE="eth0" HWADDR="00:0C:29:FC:1C:72" NM_CONTROLLED="yes" ONBOOT="no" 修改ONBOOT为yes vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE="eth0" HWADDR="00:0C:29:FC:1C:72" N...