#timedatectl set-timezone Asia/Shanghai
关闭SELinux
vi /etc/sysconfig/selinux
#SELINUX=enforcing
SELINUX=disabled
setenforce 0
getenforce
#yum install -y epel-release perl gcc gcc-c++ autoconf automake libtool m4
#yum -y install bzip2-devel harfbuzz-devel freetype-devel ncurses-devel libtermcap-devel bison-devel libpng-devel libjpeg-devel gd-devel curl-devel enchant-devel gmp-devel libc-client-devel openldap-devel libmcrypt-devel readline-devel libedit-devel recode-devel libtidy-devel expat-devel openssl-devel zlib-devel libxml2-devel libmcrypt-devel libtidy-devel libxslt-devel
centos7 vi /etc/yum/pluginconf.d/langpacks.conf
enable=1改为enable=0
yum groupinstall "X Window System"
yum groupinstall "GNOME Desktop"
systemctl set-default graphical.target
#systemctl set-default multi-user.target
vi /etc/ssh/sshd_config
PermitRootLogin no
AllowUsers user
UseDNS no
vi /etc/hosts.deny
sshd:all:deny
vi /etc/hosts.allow
sshd:127.0.0.1:allow How to install mpeg-4 aac decoder for CentOS 7 Linux
MPEG-4-AAC decoder and H.264 decoder
# yum -y install http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
# yum -y install libdvdcss gstreamer{,1}-plugins-ugly gstreamer-plugins-bad-nonfree gstreamer1-plugins-bad-freeworld libde265 x265
# yum -y install gstreamer1-libav
# yum -y install gstreamer1-vaapi
#yum install ffmpeg
centos7 安装simhei.ttf字体
cp复制字体目录到/usr/share/fonts/win/simhei.ttf
cd /usr/share/fonts/win/
mkfontscale
mkfontdir
fc-cache (更新字体缓存) VPN setup
yum -y install epel-release ppp iptables-services
yum -y install pptpd
systemctl start pptpd.service
systemctl enable pptpd.service
systemctl start iptables
systemctl enable iptables
vi /etc/pptpd.conf
cat /etc/ppp/options.pptpd
vi /etc/ppp/chap-secrets
vi /etc/sysctl.conf
net.ipv4.ip_forward = 1
sysctl -p
/sbin/iptables -F
/sbin/iptables -X
/sbin/iptables -Z
iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -o eth0 -j MASQUERADE
iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -o eth1 -j MASQUERADE
/sbin/service iptables save
/sbin/iptables -L yum install -y perl gcc gcc-c++ autoconf automake libtool m4 make git
git clone https://github.com/rofl0r/proxychains-ng.git
cd proxychains-ng/
./configure
make && make install
cp src/proxychains.conf /etc/
vi /etc/proxychains.conf
apache配置https生成证书
cd /usr/local/apache2.2.21/conf
openssl genrsa -out server.key 2048
openssl req -new -key server.key -out server.csr
openssl x509 -req -days 3650 -in server.csr -signkey server.key -out server.crt

CentOS7 安装操作命令的更多相关文章

  1. Centos7安装配置Apache+PHP+Mysql+phpmyadmin

    转载自: Centos7安装配置Apache+PHP+Mysql+phpmyadmin 一.安装Apache yum install httpd 安装成功后,Apache操作命令: systemctl ...

  2. 查找nginx安装的路径以及相关安装操作命令

    查找nginx安装的路径以及相关安装操作命令 Linux环境下,怎么确定Nginx是以那个config文件启动的? [root@localhost ~]# ps -ef | grep nginxroo ...

  3. CentOS7安装Docker-CE并部署项目

    前言 这是我第一次使用dokcer部署项目,现学现卖.成功之后把所有用到的安装及部署和操作命令做一个总结.如有不足,请指教. 使用的是阿里云服务器.CentOS7版本. Dokcer安装 1.Cent ...

  4. centos7安装kafka 转

    CentOS7安装和使用kafka         环境准备 安装kafka之前我们需要做一些环境的准备 1.centOS7系统环境 2.jdk环境 3.可用的zookeeper集群服务 安装jdk ...

  5. HP服务器 hp 360g5 centos7安装问题

    HP服务器  hp 360g5 centos7安装问题 一 :启动盘无法识别硬盘 1.进入安装光盘,用上下键选择安装centos--Install Centos7(注意不可按Enter键),如图: 2 ...

  6. CentOS7 安装Mono及Jexus

    CentOS7安装Mono及Juxes 1 安装Mono 1.1 安装yum-utils 因为安装要用到yum-config-manager,默认是没有安装的,所以要先安装yum-utils包.命令如 ...

  7. CentOS7安装mysql提示“No package mysql-server available.”

    针对centos7安装mysql,提示"No package mysql-server available."错误,解决方法如下: Centos 7 comes with Mari ...

  8. CentOS7安装Oracle 11gR2 安装

    概述 Oracle 在Linux和window上的安装不太一样,公司又是Linux系统上的Oracle,实在没辙,研究下Linux下Oracle的使用,oracle默认不支持CentOS系统安装,所以 ...

  9. Centos7安装完毕后重启提示Initial setup of CentOS Linux 7 (core)的解决方法

    问题: CentOS7安装完毕,重新开机启动后显示: Initial setup of CentOS Linux 7 (core) 1) [x] Creat user 2) [!] License i ...

随机推荐

  1. Python-12-简单推导

    列表推导:从其他列表创建列表 >>> [x * x for x in range(10)] [0, 1, 4, 9, 16, 25, 36, 49, 64, 81] 下面实现只打印能 ...

  2. 【Sass初级】嵌套选择器规则

    在CSS中,我们都知道所有代码都在一个“根级别”的选择器中,每个CSS的样式声明都写嵌套的话,那意客味需要写很多的代码. 今天我要带领大家进入到Sass的最基本原则中.这就是所谓的“基础规则(Ince ...

  3. 页面出现滚动条时,body里面的内容不能自动居中?

    弹窗后允许页面滚动 这种方式通常使用 position: absolute; ,可以看看我做的这个 Demo.主要用来应对弹窗内容很大很多的情况,超过了屏幕的宽高需要产生滚动条来方便浏览者查看.有一些 ...

  4. [Leetcode] 002. Add Two Numbers

    https://leetcode.com/problems/add-two-numbers/ public class Solution { public ListNode addTwoNumbers ...

  5. 1e9个兵临城下(容斥原理)

    链接:https://ac.nowcoder.com/acm/contest/321/A 来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 32768K,其他语言65536 ...

  6. Cent OS 6.5 下 Node.js安装

    打开官网 http://nodejs.org/ 点击那个绿色的INSTALL 按钮下载安装包,然后解压.   基本的环境我原本已经安装完毕,这是需求的环境,来源安装包中的README.md,需要的自行 ...

  7. java--时间日期用法

    转载大神 https://www.cnblogs.com/Mr-Lyu/p/5736152.html https://blog.csdn.net/yf198708/article/details/51 ...

  8. Win10 插入耳机后没有声音,拔出后电脑有声音

  9. selenum autoit上传图片

    目前,一般实现文件图片上传的方式都是有一个按钮,点击之后直接调用操作系统自身的弹框,选择文件后,实现上传.因为Selenium不支持调用操作系统的操作,所以这种情况下,利用Selenium无法完成图片 ...

  10. 宝塔面板安装的mysql5.5用命令行kill -9后启动不了

    1.查看mysql版本方法一:status;方法二:select version(); 2.Mysql启动.停止.重启常用命令a.启动方式1.使用 service 启动:[root@localhost ...