CentOS7 安装操作命令
程序员文章站
2024-01-27 08:49:04
#timedatectl set-timezone Asia/Shanghai 关闭SELinux vi /etc/sysconfig/selinux #SELINUX=enforcing SELINUX=disabled setenforce 0 getenforce #yum install - ......
#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
推荐阅读
-
Linux中tar命令操作文件的基本使用教程
-
php-extension - php 使用phpize 安装扩展readline , 安装后可以进入命令行交互模式但敲入第二行php代码后报错!!
-
CentOS 5.4 安装 Tuxedo 8.0 操作步骤
-
mongoDB安装启动对文档的增删改操作
-
三个小命令检查电脑是否被安装木马
-
小弟我在windows2008并且是64位的操作系统上安装PHP出现的有关问题
-
Linux GUI下怎么打开命令行并操作Oracle数据库?
-
阿里云Centos7安装LNMP+wordpress
-
docker安装并持久化postgresql数据库的操作步骤
-
linux基本操作和常用命令(2)