EverKB

Knowledge Base Ever

Instalirajte CentOS Linux 7 i njegovu konfiguraciju

2019-11-12 15:33:09

oznaka: CentOS, Linux, Minimal ISO, Fedora Media Writer,YUM, Instalacija CentOS-a

Prvo preuzmite ISO instalacijsku datoteku za CentOS Linux 7 koji koristi Minimalnu ISO. Preuzeta ISO datoteka zapisat će se na USB flash pogon koristeći Fedora Media Writer. Minimalni ISO minimalna je instalacija, obično se može lako postaviti u grafičkom sučelju, poput postavljanja vremenske zone, particije tvrdog diska, postavljanja lozinke korijenskog korisnika i drugih stavki koje se mogu postaviti.

Zatim, nakon što pričekate da se instalacija završi, možete pokrenuti dhcp uslugu kako biste dobili ip adresu uređaja kako bismo se mogli prijaviti kroz ssh softver i izvršiti naredbu.
[root@localhost ~]dhclient
[root@localhost ~]# ip a
1: lo:  mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: enp0s3:  mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 08:00:27:cc:59:fa brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.17/24 brd 192.168.0.255 scope global dynamic enp0s3
       valid_lft 86370sec preferred_lft 86370sec
Podesite naziv stroja
hostnamectl set-hostname atlantis1
Instalirajte wget, vim, emacs i drugi softver
yum install wget -y
yum install vim -y
yum install emacs -y
Ako poslužitelj pristupa YUM službenom spremištu softvera spor, možete konfigurirati adresu zrcala izvora YUM.
cd /etc/yum.repos.d/
mkdir repo.bak
mv *.repo repo.bak/

wget http://mirrors.aliyun.com/repo/Centos-7.repo
wget http://mirrors.163.com/.help/CentOS7-Base-163.repo

yum clean allyum makecache
yum list | grep epel-release
yum install -y epel-release

wget -O /etc/yum.repos.d/epel-7.repo http://mirrors.aliyun.com/repo/epel-7.rep

yum clean all
yum makecache

yum repolist enabled
yum repolist all

oznaka

CentOS7 CentOS PHP Linux Python3 Python MySQL MariaDB YUM JavaScript CSS Redis MySQL8 caching_sha2_password HTML mysql_native_password PHP7 MariaDB10.4 PostgreSQL sub folder availability eth0 pdo_sqlsrv SOCKS5 Web Server date Install MongoDB mssql-tools register_shutdown_function Symfony File Upload php-fpm sqlsrv Zend Framework ADDDATE DevExpress JetBrain network interface Shadowsocks-Libev unixODBC-devel height Port 80 string Aura error_get_last password policy requirements SOCKS Web Development data INDENTIFIED BY msodbcsql Redis5 SVN Fedora Media Writer SQLAlchemy absolute Deepin jemalloc mysqlclient Shadowsocks toggle convert FuelPHP margin PHPUnit Framework ss5.passwd at-symbol Error Control Operator password SOCKET vps daemon process IIS MongoDB4 sudoers center Fatal Errors Phalcon SQL Server 2017 WiFi .htaccess DATE_SUB set_error_handler TestCase Compiling PHP frequency conflict PHPUnit ss5.conf apr Elasticsearch7.3 particles.js Slim Vincent Garreau daemon HTTP MongoDB Sudo Failed to build these modules: _uuid pg_bha.conf SQL Server width DATE_ADD ip command MySQL-python scrollbar Tcp BBR Compiling Apache Frameworks libpython3.7m.so.1.0 PHPStorm ss5-3.8.9 Apache2.4 Elasticsearch NodeJs show VIM CURLOPT_POSTFIELDS Minimal ISO substr Bluetooth Failed to build these modules: _ctypes PECL SQL Date Funcitons Wi-Fi date sub INTERVAL root Tag Cloud CodeIgniter font-size Laravel ss5 apache httpd dual network interfaces node.js ShadowsocksR vertical-align CURLFille horiz-align mb_substr PyCharm SUBDATE BarManager exec PEAR SOCKS5 Proxy Server WebStorm date add IntelliJIDEA remi Tag Chrome find PHP5.5 src Apache du jQuery nginx Shadowsocks-Python V2Ray cURL hide