{"id":1386,"date":"2020-11-08T22:40:09","date_gmt":"2020-11-08T13:40:09","guid":{"rendered":"http:\/\/boomboom-mix.net\/modules\/xpress\/?p=1386"},"modified":"2021-04-28T22:26:25","modified_gmt":"2021-04-28T13:26:25","slug":"ubuntu-18-04-server","status":"publish","type":"post","link":"http:\/\/boomboom-mix.net\/?p=1386","title":{"rendered":"Ubuntu 18.04 server"},"content":{"rendered":"<p>esxi 6.7 \u3067\u3001ubuntu 18.04 server \u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u5f8c\u306b\u3084\u3063\u305f\u3053\u3068\u3092\u30e1\u30e2\u3057\u3066\u307f\u308b\uff08\u8ab0\u304b\u306e\u5f79\u306b\u7acb\u3066\u3070\u5e78\u3044\u7684\u306a\uff09<\/p>\n<p><strong>\u2606\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u7684\u306b\u8cdb\u5426\u4e21\u8ad6\u3060\u304croot\u30d1\u30b9\u8a2d\u5b9a<\/strong><br \/>\n\u3053\u308c\u306fSCP\u304b\u3089\u306e\u63a5\u7d9a\u3067root\u6240\u6709\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u89e6\u308b\u5834\u5408\u3068\u304b\u3092\u60f3\u5b9a\u3057\u3066\u3067\u3059\u3002<br \/>\n<span style=\"color: #ff0000;\"><code>sudo su -<\/code><\/span><br \/>\n\u3067root\u306b\u306a\u308b\u3002<br \/>\n<span style=\"color: #ff0000;\"><code>passwd<\/code><\/span><br \/>\n\u3067\u30eb\u30fc\u30c8\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a2d\u5b9a\u3057\u306a\u304a\u3059\u3002<\/p>\n<p><strong>\u2606SSH\u8a2d\u5b9a<\/strong><br \/>\n<span style=\"color: #ff0000;\"><code>apt install -y openssh-server<\/code><\/span><br \/>\nvi \u3067 \/etc\/ssh\/sshd_config \u3092\u958b\u304d\u3001\u4e00\u6642\u7684\u306b\uff08\u9375\u8a2d\u5b9a\u3059\u308b\u307e\u3067\u306e\u9593\uff09\u30d1\u30b9\u30ef\u30fc\u30c9\u3067\u306eroot\u30ed\u30b0\u30a4\u30f3\u3092\u53ef\u80fd\u306b\u3059\u308b\u3002<br \/>\n<span style=\"color: #ff0000;\"><code>vi \/etc\/ssh\/sshd_config<\/code><\/span><br \/>\ni\u30ad\u30fc\u3092\u62bc\u3057\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u7de8\u96c6\u3002<br \/>\n<span style=\"color: #00ccff;\">PermitRootLogin yes<\/span><br \/>\n<span style=\"color: #00ccff;\">PasswordAuthentication yes<\/span><br \/>\nESC\u30ad\u30fc\u3092\u62bc\u3057\u305f\u3042\u3068\u306b <span style=\"color: #ff0000;\"><code>:wq<\/code><\/span> \u3067\u4fdd\u5b58\u7d42\u4e86\u3002<br \/>\n<span style=\"color: #ff0000;\"><code>systemctl restart ssh<\/code><\/span><br \/>\n\u4ee5\u5f8c\u306fPutty\u304b\u3089root\u3067\u306e\u4f5c\u696d\u3068\u3059\u308b\u3002<br \/>\n<span style=\"color: #ff0000;\"><code>ssh-keygen -t rsa<\/code><\/span><br \/>\n<span style=\"color: #ff0000;\"><code>cd \/<\/code><\/span><br \/>\n<span style=\"color: #ff0000;\"><code>mkdir .ssh<\/code><\/span><br \/>\n<span style=\"color: #ff0000;\"><code>cat \/root\/.ssh\/id_rsa.pub &gt;&gt; .ssh\/authorized_keys<\/code><\/span><br \/>\n<span style=\"color: #ff0000;\"><code>chmod 600 \/.ssh\/authorized_keys<\/code><\/span><br \/>\n\u518d\u5ea6 \/etc\/ssh\/sshd_config \u3092\u958b\u304d\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u7de8\u96c6\u5f8c\u4fdd\u5b58\u3059\u308b\u3002<br \/>\n<span style=\"color: #00ccff;\">#AuthorizedKeysFile %h\/.ssh\/authorized_keys<\/span><br \/>\n<span style=\"color: #00ccff;\">AuthorizedKeysFile \/.ssh\/authorized_keys<\/span><br \/>\n<span style=\"color: #ff0000;\"><code>systemctl restart ssh<\/code><\/span><br \/>\n\/root\/.ssh \u306e\u4e2d\u306e id_rsa \u304b\u3089\u30af\u30e9\u30a4\u30a2\u30f3\u30c8PC\u5074\u3067 puttygen \u3092\u4f7f\u3044 .ppk\u30d5\u30a1\u30a4\u30eb \u3092\u4f5c\u6210\u3059\u308b\u3002<br \/>\n\u7121\u4e8broot\u304b\u3089\u306e\u79d8\u5bc6\u9375\u3067\u306eputty\u306e\u30ed\u30b0\u30a4\u30f3\u304c\u6210\u529f\u3057\u305f\u3089\u30d1\u30b9\u30ef\u30fc\u30c9\u30ed\u30b0\u30a4\u30f3\u62d2\u5426\u306b\u623b\u3059\u305f\u3081\u3001<br \/>\n\/etc\/ssh\/sshd_config \u3092\u958b\u304d\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u7de8\u96c6\u3059\u308b\u3002<br \/>\n<span style=\"color: #00ccff;\">PermitRootLogin prohibit-password<\/span><br \/>\n\u307e\u305f\u306f<br \/>\n<span style=\"color: #00ccff;\">PermitRootLogin without-password<\/span><br \/>\n<span style=\"color: #00ccff;\">PermitEmptyPasswords no<\/span><br \/>\n<span style=\"color: #00ccff;\">PasswordAuthentication no<\/span><br \/>\n\u4fdd\u5b58\u3057\u305f\u3089sshd\u3092\u518d\u8d77\u52d5\u3059\u308b\u3002<br \/>\n<span style=\"color: #ff0000;\"><code>systemctl restart ssh<\/code><\/span><\/p>\n<p><strong>\u2606Japanese\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u8ffd\u52a0<\/strong><br \/>\n<code>wget -q https:\/\/www.ubuntulinux.jp\/ubuntu-ja-archive-keyring.gpg -O- | sudo apt-key add -<br \/>\nwget -q https:\/\/www.ubuntulinux.jp\/ubuntu-jp-ppa-keyring.gpg -O- | sudo apt-key add -<br \/>\nwget https:\/\/www.ubuntulinux.jp\/sources.list.d\/bionic.list -O \/etc\/apt\/sources.list.d\/ubuntu-ja.list<br \/>\n<\/code><br \/>\n<span style=\"color: #ff0000;\"><code>apt update<\/code><\/span><\/p>\n<p><strong>\u2606\u6642\u523b\u540c\u671f\u306e\u8a2d\u5b9a<\/strong><br \/>\n<span style=\"color: #ff0000;\"><code>timedatectl set-timezone Asia\/Tokyo<\/code><\/span><br \/>\n<span style=\"color: #ff0000;\"><code>timedatectl set-local-rtc true<\/code><\/span><br \/>\n<span style=\"color: #ff0000;\"><code>systemctl restart systemd-timesyncd<\/code><\/span><\/p>\n<p><strong>\u2606Windows\u306e\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u3092\u30de\u30a6\u30f3\u30c8<\/strong><br \/>\n<span style=\"color: #ff0000;\"><code>apt install cifs-utils<\/code><\/span><br \/>\n<span style=\"color: #ff0000;\"><code>mkdir -p \/mnt\/windows<\/code><\/span><br \/>\n<span style=\"color: #ff0000;\"><code>mount -t cifs -o username=******,password=****** \/\/******\/****** \/mnt\/windows<\/code><\/span><br \/>\n******\u306b\u66f8\u304f\u306e\u306f\u3001Windows\u306e\u30e6\u30fc\u30b6\u30fc\u540d,\u30d1\u30b9\u30ef\u30fc\u30c9 \/\/IP\u307e\u305f\u306f\u30db\u30b9\u30c8\u540d\/\u5171\u6709\u540d \u306e\u9806<\/p>\n<p><strong>\u2606smb\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/strong><br \/>\n<span style=\"color: #ff0000;\"><code>apt install samba<\/code><\/span><br \/>\n\/etc\/samba\/smb.conf \u3092\u7de8\u96c6\u3059\u308b\u3002<br \/>\nsamba\u7528\u30e6\u30fc\u30b6\u30fc\u306e\u4f5c\u6210(\u8907\u6570\u4eba\u3067\u4f7f\u3046\u30b5\u30fc\u30d0\u30fc\u3058\u3083\u306a\u3051\u308c\u3070LINUX\u30e6\u30fc\u30b6\u30fc\u3068\u540c\u671f\u306f\u5fc5\u8981\u306a\u3044)<br \/>\n<span style=\"color: #ff0000;\"><code>pdbedit -a \u30e6\u30fc\u30b6\u30fc\u540d<\/code><\/span><br \/>\n\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3059\u308b\u3002<br \/>\nsamba\u306e\u518d\u8d77\u52d5<br \/>\n<span style=\"color: #ff0000;\"><code>systemctl restart smbd<\/code><\/span><br \/>\n<span style=\"color: #ff0000;\"><code>systemctl restart nmbd<\/code><\/span><\/p>\n<p><strong>\u2606\u30d5\u30a1\u30a4\u30a2\u30fc\u30a6\u30a9\u30fc\u30eb\u8a2d\u5b9a<\/strong><br \/>\n<span style=\"color: #ff0000;\"><code>ufw allow 80\/tcp<br \/>\nufw allow ssh\u3067\u8a2d\u5b9a\u3057\u305f\u30dd\u30fc\u30c8\u756a\u53f7\/tcp<\/code><\/span><br \/>\n\u30dd\u30fc\u30c8\u3092\u7bc4\u56f2\u6307\u5b9a\u3057\u305f\u3044\u5834\u5408\u306f\u4e0b\u8a18\u306e\u3088\u3046\u306b\u66f8\u304f<br \/>\n<span style=\"color: #ff0000;\"><code>ufw allow 2300:2400\/tcp<\/code><\/span><br \/>\n\u6709\u52b9\u5316\u3059\u308b<br \/>\n<span style=\"color: #ff0000;\">ufw enable<\/span><br \/>\n\u72b6\u614b\u306e\u78ba\u8a8d<br \/>\n<span style=\"color: #ff0000;\">ufw status<\/span><br \/>\n\u30eb\u30fc\u30eb\u306e\u524a\u9664<br \/>\n<span style=\"color: #ff0000;\">ufw delete allow<\/span><\/p>\n<p><strong>\u2606\u500b\u4eba\u7684\u306b\u5fc5\u8981\u306a\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/strong><br \/>\n<span style=\"color: #ff0000;\"><code>dpkg --add-architecture i386<br \/>\napt update<br \/>\napt install libc6 libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 lib32ncurses5 libgtk2.0-0:i386<br \/>\napt install libpangox-1.0-0:i386 libpangoxft-1.0-0:i386 libidn11:i386<br \/>\napt install libstdc++5 libstdc++5:i386 lib32stdc++6 lib32gcc1 lib32ncurses5 zlib1g lib32z1<br \/>\napt install python apt-show-versions libapt-pkg-perl libauthen-pam-perl libio-pty-perl libnet-ssleay-perl unzip libsvn-java<\/code><\/span><\/p>\n<p>\u30ed\u30fc\u30ab\u30eb\u306e\u5225PC\u304b\u3089\u8996\u899a\u7684\u306b\u8a2d\u5b9a\u306a\u3093\u3084\u3089\u898b\u305f\u3044\uff08\u307e\u305f\u306fSS\u306b\u64ae\u308a\u305f\u3044\uff09\u6642\u306e\u305f\u3081\u306b<br \/>\n<strong>\u2606Webmin\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/strong><br \/>\n<span style=\"color: #ff0000;\"><code>curl -L -O http:\/\/www.webmin.com\/download\/deb\/webmin-current.deb<\/code><\/span><br \/>\n<span style=\"color: #ff0000;\"><code>dpkg -i webmin-current.deb<\/code><\/span><br \/>\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5b8c\u4e86\u3057\u305f\u3089 <span style=\"color: #00ccff;\">\/etc\/webmin\/miniserv.conf<\/span> \u3092\u7de8\u96c6\u3057\u3066\u5c11\u306a\u304f\u3066\u3082\u30dd\u30fc\u30c8\u306f\u5909\u66f4\u3057\u3066\u304a\u304f\u3079\u304d<br \/>\n<span style=\"color: #ff0000;\"><code>systemctl restart webmin<\/code><\/span><\/p>\n<p><strong>\u2606MySQL\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/strong><br \/>\n<span style=\"color: #ff0000;\"><code>apt install mysql-server<\/code><\/span><br \/>\n<span style=\"color: #ff0000;\"><code>mysql_secure_installation<\/code><\/span><br \/>\n\u30d1\u30b9\u30ef\u30fc\u30c9\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f7f\u7528\u3059\u308b\u304b\u805e\u304b\u308c\u308b\u306e\u3067 y \u304b n \u3092\u62bc\u3059\u3002<br \/>\ny \u3092\u62bc\u3057\u305f\u5834\u5408\u306b\u30d1\u30b9\u30ef\u30fc\u30c9\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u306e\u30ec\u30d9\u30eb\u3092\u805e\u304b\u308c\u308b\u306e\u30670\uff5e2\u3092\u62bc\u3059\u3002<br \/>\nmysql\u306eroot\u30d1\u30b9\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306e\u5165\u529b\u304c2\u56de\u51fa\u308b\u306e\u3067\u5165\u529b\u3059\u308b<br \/>\n\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u5805\u7262\u6027\u306e\u5f97\u70b9\u304c\u51fa\u308b\u306e\u3067\u826f\u3051\u308c\u3070 y \u3092\u62bc\u3059\u3002<br \/>\nMySQL\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u8a2d\u5b9a\u3059\u308b\u30c6\u30b9\u30c8\u7528\u306e\u533f\u540d\u30e6\u30fc\u30b6\u3092\u524a\u9664\u3059\u308b\u304b\u805e\u304b\u308c\u308b\u306e\u3067\u826f\u3051\u308c\u3070 y \u3092\u62bc\u3059\u3002<br \/>\n\u30ea\u30e2\u30fc\u30c8\u304b\u3089\u306eroot\u30ed\u30b0\u30a4\u30f3\u3092\u7981\u6b62\u3059\u308b\u304b\u805e\u304b\u308c\u308b\u306e\u3067 y \u304b n \u3092\u62bc\u3059\u3002<br \/>\ntest\u30e6\u30fc\u30b6\u30fc\u306e\u8a2d\u5b9a\u3092\u524a\u9664\u3057\u3066\u3088\u3044\u304b\u805e\u304b\u308c\u308b\u306e\u3067 y \u3092\u62bc\u3059\u3002<br \/>\n\u3053\u3053\u307e\u3067\u7b54\u3048\u305f\u8a2d\u5b9a\u3067\u826f\u3051\u308c\u3070\u6700\u5f8c\u306b y \u3092\u62bc\u3059\u3002<\/p>\n<p><strong>\u2606\u30d1\u30b9\u30ef\u30fc\u30c9\u30dd\u30ea\u30b7\u30fc\u306e\u5909\u66f4<\/strong><br \/>\n\u30d1\u30b9\u30ef\u30fc\u30c9\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u306e\u8a2d\u5b9a\u3092\u3059\u308b\u3068\u3001<br \/>\n\u30d1\u30b9\u30ef\u30fc\u30c9\u30dd\u30ea\u30b7\u30fc\u304c\u52dd\u624b\u306b\u5909\u66f4\u3055\u308c\u3001\u8a2d\u5b9a\u3057\u305f\u306f\u305a\u306e root \u30d1\u30b9\u30ef\u30fc\u30c9\u3082\u4f7f\u3048\u306a\u304f\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u8a2d\u5b9a\u3059\u308b<br \/>\n<strong><span style=\"color: #ff0000;\">\u6ce8)\u3053\u308c\u3092\u3057\u3066\u304a\u304b\u306a\u3044\u3068 phpmyadmin \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306b phpmyadmin \u306e\u7ba1\u7406\u30e6\u30fc\u30b6\u30fc\u3084 phpmyadmin \u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304c\u4f5c\u6210\u3055\u308c\u305a\u5f8c\u3067\u56f0\u308a\u307e\u3059\u3002<\/span><\/strong><br \/>\n<span style=\"color: #ff0000;\"><code>sudo mysql<\/code><\/span><br \/>\n<span style=\"color: #ff0000;\"><code>set global validate_password_policy=LOW;<\/code><\/span><br \/>\n\u4ee5\u4e0b\u306e yourpassword \u306e\u90e8\u5206\u3092\u8a2d\u5b9a\u3057\u305f\u3044root\u30d1\u30b9\u30ef\u30fc\u30c9\u306b\u5909\u3048\u3066\u5165\u529b\u3059\u308b\u3002<br \/>\n<span style=\"color: #ff0000;\"><code>ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'yourpassword';<\/code><\/span><br \/>\n<span style=\"color: #ff0000;\"><code>ALTER USER 'root'@'localhost' IDENTIFIED BY 'yourpassword';<\/code><\/span><br \/>\n<span style=\"color: #ff0000;\"><code>FLUSH PRIVILEGES;<\/code><\/span><br \/>\n<span style=\"color: #ff0000;\"><code>exit<\/code><\/span><\/p>\n<p><strong>\u2606Web\u74b0\u5883\u3084MC\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/strong><br \/>\n<span style=\"color: #ff0000;\"><code>apt install apache2<\/code><\/span><br \/>\n\/etc\/apache2\/sites-available \u306e\u4e2d\u306e000-default.conf\u3092\u958b\u304d\u3001\u516c\u958b\u3057\u305f\u3044\u8a2d\u5b9a\u3078\u5909\u66f4\u3059\u308b<br \/>\n<span style=\"color: #ff0000;\"><code>a2dissite 000-default.conf<\/code><\/span><br \/>\n<span style=\"color: #ff0000;\"><code>a2ensite 000-default.conf<\/code><\/span><br \/>\n\u7b49\u306e\u30b3\u30de\u30f3\u30c9\u3067\u5909\u3048\u305f\u8a2d\u5b9a\u3092\u53cd\u6620\u3055\u305b\u308b<br \/>\n<span style=\"color: #ff0000;\"><code>apt install php php-gd php-cgi php-imap php-pear php-xmlrpc php-xsl php-curl libapache2-mod-php php-mysql<\/code><\/span><br \/>\n<span style=\"color: #ff0000;\"><code>apt install mc imagemagick<\/code><\/span><\/p>\n<p><strong>\u2606Web\u74b0\u5883\u306e\u8a2d\u5b9a<\/strong><br \/>\n\/etc\/php\/php7.2\/apache2\/php.ini \u3092\u958b\u304d\u4ee5\u4e0b\u306e\u7b87\u6240\u3092\u5909\u66f4\u3059\u308b<br \/>\n<span style=\"color: #00ccff;\">expose_php = Off<\/span><br \/>\n<span style=\"color: #00ccff;\">date.timezone = Asia\/Tokyo<\/span><\/p>\n<p><strong>\u2606PhpMyAdmin\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/strong><br \/>\nUbuntu\u6a19\u6e96\u30ea\u30dd\u30b8\u30c8\u30ea\u306ePHPMyAdmin\u306fPHP7.2\u3068\u4e92\u63db\u6027\u304c\u7121\u304f\u3001count()\u7b49\u3067\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u306e\u3067\u6700\u65b0\u7248\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002<br \/>\n<span style=\"color: #ff0000;\"><code>add-apt-repository ppa:phpmyadmin\/ppa<\/code><\/span><br \/>\n<span style=\"color: #ff0000;\"><code>apt update<\/code><\/span><br \/>\n<span style=\"color: #ff0000;\"><code>apt install phpmyadmin<\/code><\/span><br \/>\nphpmyadmin\u3092\u8868\u793a\u3059\u308bWeb\u30b5\u30fc\u30d0\u30fc\u306e\u9078\u629e\u304c\u51fa\u308b\u306e\u3067apache2\u3092\u6307\u5b9a\u3059\u308b<br \/>\n\u305d\u306e\u6b21\u306e\u8cea\u554f\u306fYes\u3092\u62bc\u3059<br \/>\nMysql\u306eroot\u30d1\u30b9\u30922\u56de\u805e\u304b\u308c\u308b\u306e\u3067\u5165\u529b\u3059\u308b<br \/>\n<span style=\"color: #ff0000;\"><code>systemctl restart apache2<\/code><\/span><\/p>\n<p><strong>\u2606\u305d\u306e\u4ed6\u30a2\u30d7\u30ea\u3092\u5c0e\u5165\u3057\u305f\u5834\u5408\u306b<\/strong><br \/>\nsystemctl\u3067\u306e\u81ea\u52d5\u8d77\u52d5\u30a2\u30d7\u30ea\u3092\u30c1\u30a7\u30c3\u30af<br \/>\n<span style=\"color: #ff0000;\"><code>systemctl list-unit-files --type=service<\/code><\/span><\/p>\n<p>\u30b5\u30fc\u30d3\u30b9\u306e\u72b6\u614b\u8868\u793a\u306f(mysql\u306e\u5834\u5408)<br \/>\n<span style=\"color: #ff0000;\"><code>systemctl status mysql<\/code><\/span><\/p>\n<p>\u81ea\u52d5\u8d77\u52d5\u306e\u7121\u52b9\u5316(mysql\u306e\u5834\u5408)<br \/>\n<span style=\"color: #ff0000;\"><code>systemctl disable mysql<\/code><\/span><\/p>\n<p>\u81ea\u52d5\u8d77\u52d5\u306e\u6709\u52b9\u5316(mysql\u306e\u5834\u5408)<br \/>\n<span style=\"color: #ff0000;\"><code>systemctl enable mysql<\/code><\/span><\/p>\n<p>\u30b5\u30fc\u30d3\u30b9\u306e\u8d77\u52d5\u3001\u505c\u6b62\u3001\u518d\u8d77\u52d5(mysql\u306e\u5834\u5408)<br \/>\n<span style=\"color: #ff0000;\"><code>systemctl start mysql<\/code><\/span><br \/>\n<span style=\"color: #ff0000;\"><code>systemctl stop mysql<\/code><\/span><br \/>\n<span style=\"color: #ff0000;\"><code>systemctl restart mysql<\/code><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>esxi 6.7 \u3067\u3001ubuntu 18.04 server \u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u5f8c\u306b\u3084\u3063\u305f\u3053\u3068\u3092\u30e1\u30e2\u3057\u3066\u307f\u308b\uff08\u8ab0\u304b\u306e\u5f79\u306b\u7acb\u3066\u3070\u5e78\u3044\u7684\u306a\uff09 \u2606\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u7684\u306b\u8cdb\u5426\u4e21\u8ad6\u3060\u304croot\u30d1\u30b9\u8a2d\u5b9a \u3053\u308c\u306fSCP\u304b\u3089\u306e\u63a5\u7d9a\u3067root\u6240\u6709\u306e [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-1386","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"http:\/\/boomboom-mix.net\/index.php?rest_route=\/wp\/v2\/posts\/1386","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/boomboom-mix.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/boomboom-mix.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/boomboom-mix.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/boomboom-mix.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1386"}],"version-history":[{"count":7,"href":"http:\/\/boomboom-mix.net\/index.php?rest_route=\/wp\/v2\/posts\/1386\/revisions"}],"predecessor-version":[{"id":1538,"href":"http:\/\/boomboom-mix.net\/index.php?rest_route=\/wp\/v2\/posts\/1386\/revisions\/1538"}],"wp:attachment":[{"href":"http:\/\/boomboom-mix.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1386"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/boomboom-mix.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1386"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/boomboom-mix.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1386"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}