MySQL数据库主主同步配置实战
最近云服务器大减价,趁机买了几台,博客就放在其中一台上,为了不让剩下的两台服务器闲置,打算都利用起来,对博客网站进行负载均衡。使用两台数据库进行主主同步配置,扩展网站数据库架构,提高数据库的读写性能。以下是MySQL主主同步配置实战过程。...阅读全文
echo "# Disable the PWR LED" | sudo tee -a /boot/config.txtecho "dtparam=pwr_led_trigger=none" | sudo tee -a /boot/config.txtecho "dtparam=pwr_led_activelow=off" | sudo tee -a /boot/config.txt
echo "# Disable Ethernet LEDs" | sudo tee -a /boot/config.txtecho "dtparam=eth_led0=14" | sudo tee -a /boot/config.txtecho "dtparam=eth_led1=14" | sudo tee -a /boot/config.txt
echo "dtoverlay=pi3-disable-wifi" | sudo tee -a /boot/config.txt
echo "dtoverlay=pi3-disable-bt" | sudo tee -a /boot/config.txt
echo "blacklist snd_bcm2835"> /etc/modprobe.d/alsa-blacklist.conf
apt-mirror
软件,搭建一个自己的镜像站,提高树莓派更新系统的速度。比特币是一场真正的革命,它远远超越了单纯的投资。