当前位置: 首页 > news >正文

5g空间大吗企业网站wordpress 页面空白

5g空间大吗企业网站,wordpress 页面空白,html5 微网站 免费,wordpress网站怎样CentOS MySQL 5.7编译安装 MySQL 5.7 GA版本的发布#xff0c;也就是说从现在开始5.7已经可以在生产环境中使用#xff0c;有任何问题官方都将立刻修复。 MySQL 5.7主要特性#xff1a; 更好的性能#xff1a;对于多核CPU、固态硬盘、锁有着更好的优化#xff0c;每秒100…CentOS MySQL 5.7编译安装 MySQL 5.7 GA版本的发布也就是说从现在开始5.7已经可以在生产环境中使用有任何问题官方都将立刻修复。 MySQL 5.7主要特性 更好的性能对于多核CPU、固态硬盘、锁有着更好的优化每秒100W QPS已不再是MySQL的追求下个版本能否上200W QPS才是吾等用户更关心的更好的InnoDB存储引擎更为健壮的复制功能复制带来了数据完全不丢失的方案传统金融客户也可以选择使用MySQL数据库。此外GTID在线平滑升级也变得可能更好的优化器优化器代码重构的意义将在这个版本及以后的版本中带来巨大的改进Oracle官方正在解决MySQL之前最大的难题原生JSON类型的支持更好的地理信息服务支持InnoDB原生支持地理位置类型支持GeoJSONGeoHash特性新增sys库以后这会是DBA访问最频繁的库MySQL 5.7已经作为数据库可选项添加到《OneinStack》 安装依赖包 ? 1 yum -y install gcc gcc-c ncurses ncurses-devel cmake 下载相应源码包 ? 1 2 3 cd /root/oneinstack/src wget http://downloads.sourceforge.net/project/boost/boost/1.59.0/boost_1_59_0.tar.gz wget http://cdn.mysql.com/Downloads/MySQL-5.7/mysql-5.7.11.tar.gz 添加mysql用户 ? 1 useradd -M -s /sbin/nologin mysql 预编译 ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 tar xzf boost_1_59_0.tar.gz tar xzf mysql-5.7.11.tar.gz mkdir -p /data/mysql cd mysql-5.7.11 cmake . -DCMAKE_INSTALL_PREFIX/usr/local/mysql \ -DMYSQL_DATADIR/data/mysql \ -DDOWNLOAD_BOOST1 \  #从MySQL 5.7.5开始Boost库是必需的 -DWITH_BOOST../boost_1_59_0 \ -DSYSCONFDIR/etc \ -DWITH_INNOBASE_STORAGE_ENGINE1 \ -DWITH_PARTITION_STORAGE_ENGINE1 \ -DWITH_FEDERATED_STORAGE_ENGINE1 \ -DWITH_BLACKHOLE_STORAGE_ENGINE1 \ -DWITH_MYISAM_STORAGE_ENGINE1 \ -DENABLED_LOCAL_INFILE1 \ -DENABLE_DTRACE0 \ -DDEFAULT_CHARSETutf8mb4 \ -DDEFAULT_COLLATIONutf8mb4_general_ci \ -DWITH_EMBEDDED_SERVER1 编译安装 ? 1 2 make -j grep processor /proc/cpuinfo | wc -l #编译很消耗系统资源小内存可能编译通不过 make install 启动脚本设置开机自启动 ? 1 2 3 4 /bin/cp /usr/local/mysql/support-files/mysql.server /etc/init.d/mysqld chmod x /etc/init.d/mysqld chkconfig --add mysqld chkconfig mysqld on /etc/my.cnf仅供参考 ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 cat /etc/my.cnf EOF [client] port 3306 socket /tmp/mysql.sock default-character-set utf8mb4 [mysqld] port 3306 socket /tmp/mysql.sock basedir /usr/local/mysql datadir /data/mysql pid-file /data/mysql/mysql.pid user mysql bind-address 0.0.0.0 server-id 1 init-connect SET NAMES utf8mb4 character-set-server utf8mb4 #skip-name-resolve #skip-networking back_log 300 max_connections 1000 max_connect_errors 6000 open_files_limit 65535 table_open_cache 128 max_allowed_packet 4M binlog_cache_size 1M max_heap_table_size 8M tmp_table_size 16M read_buffer_size 2M read_rnd_buffer_size 8M sort_buffer_size 8M join_buffer_size 8M key_buffer_size 4M thread_cache_size 8 query_cache_type 1 query_cache_size 8M query_cache_limit 2M ft_min_word_len 4 log_bin mysql-bin binlog_format mixed expire_logs_days 30 log_error /data/mysql/mysql-error.log slow_query_log 1 long_query_time 1 slow_query_log_file /data/mysql/mysql-slow.log performance_schema 0 explicit_defaults_for_timestamp #lower_case_table_names 1 skip-external-locking default_storage_engine InnoDB #default-storage-engine MyISAM innodb_file_per_table 1 innodb_open_files 500 innodb_buffer_pool_size 64M innodb_write_io_threads 4 innodb_read_io_threads 4 innodb_thread_concurrency 0 innodb_purge_threads 1 innodb_flush_log_at_trx_commit 2 innodb_log_buffer_size 2M innodb_log_file_size 32M innodb_log_files_in_group 3 innodb_max_dirty_pages_pct 90 innodb_lock_wait_timeout 120 bulk_insert_buffer_size 8M myisam_sort_buffer_size 8M myisam_max_sort_file_size 10G myisam_repair_threads 1 interactive_timeout 28800 wait_timeout 28800 [mysqldump] quick max_allowed_packet 16M [myisamchk] key_buffer_size 8M sort_buffer_size 8M read_buffer 4M write_buffer 4M EOF 初始化数据库 注 之前版本mysql_install_db是在mysql_basedir/script下5.7放在了mysql_install_db/bin目录下,且已被废弃--initialize会生成一个随机密码(~/.mysql_secret)而--initialize-insecure不会生成密码--datadir目标目录下不能有数据文件启动数据库 ? 1 /usr/local/mysql/bin/mysqld --initialize-insecure --usermysql --basedir/usr/local/mysql --datadir/data/mysql 设置数据库密码 ? 1 2 3 4 5 dbrootpwdoneinstack #数据库root密码 /usr/local/mysql/bin/mysql -e grant all privileges on *.* to root127.0.0.1 identified by \$dbrootpwd\ with grant option; /usr/local/mysql/bin/mysql -e grant all privileges on *.* to rootlocalhost identified by \$dbrootpwd\ with grant option; 转载于:https://www.cnblogs.com/Su-per-man/p/9078705.html
http://wiki.neutronadmin.com/news/264118/

相关文章:

  • 建设部人才交流中心网站天津北辰做网站
  • 网站优化建设深圳百度100%秒收录
  • 网站建设工作分解结构图或表wordpress页面加密
  • 可以做家教的网站有哪些wordpress 新建模板
  • 男子做网站曹县网站建设公司
  • 舆情网站wordpress 百度百科
  • 网站播放视频插件有限公司和有限责任的区别在哪里
  • 北京建设工程质量协会网站做网站需要那些东西
  • thinkphp开发大型网站阿里巴巴的网站二维码怎么做
  • 电商品牌网站开发运营北京最新新闻报道
  • 个人网站模板html免费北京展板设计制作公司
  • 徐州市建设局网站首页wordpress 调用评论数量
  • 零基础网站建设教程wordpress 商务模板
  • 51做网站建设企业官网个人网站设计源码
  • 网站风格什么意思正规拉新推广平台有哪些
  • 工信部网站域名备案查询系统分析网站优缺点
  • 如何建一个商业网站专做中医教学网站
  • 镜子厂家东莞网站建设思创医惠网站建设
  • 网站建设预算申请表c2c模式有哪些
  • 微网站建设代运营昆明建网站电话
  • seo模板建站番禺区保安服务公司
  • 基于PHP网站开发的管理系统设计与开发wordpress设置vip用户可见
  • 小型网站开发要多少钱wordpress the author
  • 网站开发培训机构排名企业网站建设有几种形式
  • 怎么做公司网站文案影视公司网页设计
  • 上海外贸网站推广盆景网站建设swot分析
  • 江西省建设厅教育网站上查询语文建设 官方网站
  • 达州网站建设哪家好如何选网站空间
  • 汽车之家网站系统是什么做的合肥专业网站排名推广
  • wordpress头像网站做网站的小图标