Kamus Linux

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

 Set HOSTNAME CENTOS 7

Reboot -r
 Cek Hard Disk

 Setting LVM
 EXTEND LVM

 Mount CIFS

 Error password sha


ALTER USER 'username'@'localhost' IDENTIFIED WITH
mysql_native_password BY 'password';

 Password MYSQL
mysqld_safe --skip-grant-tables &
UPDATE mysql.user SET Password=PASSWORD('NEW-PASSWORD') WHERE
User='root';
mysql

 Setting time : ntpdate ip

 [root@mysql-8 ~]# grep 'temporary password' /var/log/mysqld.log

 Setting repo

mv /etc/yum.repos.d/*.repo /tmp/
vi /etc/yum.repos.d/local.repo
[LocalRepo]
name=LocalRepository
baseurl=file:///cdrom
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
cd /cdrom/Packages
rpm -ivh createrepo-*el7.noarch.rpm libxml2-python-*.x86_64.rpm
deltarpm-*.el7.x86_64.rpm python-deltarpm-*el7.x86_64.rpm
 Apache dan PHP
yum -y install httpd
systemctl start httpd.service
systemctl enable httpd.service
firewall-cmd --permanent --zone=public --add-service=http
firewall-cmd --permanent --zone=public --add-service=https
firewall-cmd --reload

yum -y install php


yum -y install php-cli php-pear php-pdo php-mysqlnd php-gd php-
mbstring php-mcrypt php-xml

yum -y install php-gd php-ldap php-odbc php-pear php-xml php-xmlrpc


php-mbstring php-soap curl curl-devel

You might also like