Linux?
sudo hostnamectl set-hostname hogeserver.tar3.net
sudo vim /etc/hostname hogeserver.tar3.net
sudo yum update
sudo yum install epel-release sudo yum install bind-utils net-tools vim rsync ntp wget openssh-server
net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1
sysctl -p
nmtui
ip addr show
systemctl restart NetworkManager
service network-manager restart
pool 2.centos.pool.ntp.org iburst pool 3.centos.pool.ntp.org iburst
server (ntpサーバーホスト名1) iburst server (ntpサーバーホスト名2) iburst
sudo systemctl restart chronyd.service
sudo chronyc -a makestep
sudo chronyc tracking
chronyc sources
sudo systemctl status chronyd
server ntp.tar3.net
systemctl stop firewalld.service systemctl disable firewalld.service
Enforcing ← SELinux有効
Permissive ← SELinux無効
SELINUX=disabled ← システム起動時にSELinuxを無効化
sudo systemctl status vmware-tools.service
root: hoge@nifty.com echo test | mail root
yum install mod_ldap -y
AuthzLDAPAuthoritative on
#AuthzLDAPAuthoritative on
systemctl restart httpd
sudo yum install httpd
ip addr show ip a
export http_proxy="http://proxy.hoge.net:8080" export https_proxy=$http_proxy export ftp_proxy=$http_proxy export no_proxy="127.0.0.1, 192.168.0.0/16, localhost"
sudo chmod +x /etc/profile.d/proxy.sh
sh /etc/profile.d/proxy.sh