首页 文章 精选 留言 我的

精选列表

搜索[Java实现],共10000篇文章
优秀的个人博客,低调大师

基于nginx+keepalived架构实现的完整过程

Nginx 安装 1.安装PCRE软件包 tar zxvf pcre-8.10.tar.gz cd pcre-8.10 ./configure make && make install 2.安装Nginx软件包 tar zxvf nginx-1.2.6.tar.gz cd nginx-1.2.6 useradd -s /sbin/nologin -M www ./configure --prefix=/usr/local/nginx \ --user=www --group=www \ --with-http_stub_status_module \ --with-file-aio \ --with-http_ssl_module make && make install 3.Nginx 配置文件和启动 /usr/local/nginx/sbin/nginx -t #(加载配置文件) /usr/local/nginx/sbin/nginx #(启动) /usr/local/nginx/sbin/nginx -s reload#(重新加载) Nginx 负载均衡器(1+2) 0.准备过程 useradd www mkdir -p /data/logs/ chown -R www:www /data/logs/ ulimit -SHn 102400 1.安装 pcre tar zxvf pcre-8.20.tar.gz cd pcre-8.20 ./configure make && make install 2.安装nginx ./configure --user=www --group=www --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module 3.修改nginx配置文件 user www www; worker_processes 2; pid /usr/local/nginx/logs/nginx.pid; worker_rlimit_nofile 51200; events { use epoll; worker_connections 51200; } http { include mime.types; default_type application/octet-stream; charset utf-8; server_names_hash_bucket_size 128; client_header_buffer_size 32k; large_client_header_buffers 4 32k; sendfile on; tcp_nopush on; keepalive_timeout 60; tcp_nodelay on; gzip on; gzip_min_length 1k; gzip_buffers 4 16k; gzip_http_version 1.0; gzip_comp_level 2; gzip_types text/plain application/x-javascript text/css application/xml; gzip_vary on; upstream www.free.com { ip_hash; server 192.168.18.213:80; server 192.168.18.214:80; } #access log log_format access '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; access_log /data/logs/access.log access; server { listen 80; server_name www.free.com; location /{ proxy_pass http://www.free.com; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } #开启监控功能 location /nginx{ access_log off; stub_status on; } } } 4.检查配置文件 /usr/local/nginx/sbin/nginx -t 5.启动nginx /usr/local/nginx/sbin/nginx 6.重启加载配置文件 /usr/local/nginx/sbin/nginx -s reload Nginx+Keepalived 做负载均衡器 1.安装 keepalived tar zxvf keepalived-XXXX.tar.gz ./configure --prefix=/usr/local/keepalived --with-kernel-dir=/usr/src/kernels/2.6.XXXXXXXX/ make && make install cp /usr/local/keepalived/etc/rc.d/init.d/keepalived /etc/rc.d/init.d/ cp /usr/local/keepalived/etc/sysconfig/keepalived /etc/sysconfig/ mkdir /etc/keepalived cp /usr/local/keepalived/etc/keepalived/keepalived.conf /etc/keepalived/ cp /usr/local/keepalived/sbin/keepalived /usr/sbin/ service keepalived start 2.Master与Backup 的配置文件 Master: ! Configuration File for keepalived global_defs { notification_email { 15251076067@163.com } notification_email_from king_819@163.com smtp_server smtp.163.com smtp_connect_timeout 30 router_id LVS_DEVEL } # VIP1 vrrp_instance VI_1 { state MASTER interface eth0 virtual_router_id 51 mcast_src_ip 192.168.18.211 priority 100 advert_int 5 authentication { auth_type PASS auth_pass 1111 } virtual_ipaddress { 192.168.18.200 } } BackUP: ! Configuration File for keepalived global_defs { notification_email { 15251076067@163.com } notification_email_from king_819@163.com smtp_server smtp.163.com smtp_connect_timeout 30 router_id LVS_DEVEL } # VIP1 vrrp_instance VI_1 { state BACKUP interface eth0 virtual_router_id 51 mcast_src_ip 192.168.18.212 priority 90 advert_int 5 authentication { auth_type PASS auth_pass 1111 } virtual_ipaddress { 192.168.18.200 } } 监控Nginx负载均衡器脚本 1.编写脚本 vim nginx_pid.sh #!/bin/bash while : do nginxpid=`ps -C nginx --no-header | wc -l` if [ $nginxpid -eq 0 ];then /usr/local/nginx/sbin/nginx sleep 5 if [ $nginxpid -eq 0 ];then /etc/init.d/keepalived stop fi fi sleep 5 done 2.执行脚本 sh /root/nginx_pid.sh & nohup /bin/bash /root/nginx_pid.sh & 本文转自 dengaosky 51CTO博客,原文链接:http://blog.51cto.com/dengaosky/1957263,如需转载请自行联系原作者

优秀的个人博客,低调大师

如何使用高速通道实现跨VPC NAT公网共享

1.自建NAT网关 专有网络环境下,没有公网IP地址的云服务器ECS实例,可以通过一台绑定了EIP的ECS实例访问公网。如下图所示。 假如Client ECS不能访问公网,ping www.aliyun.com 失败。下文告诉用户如何操作可以让Client ECS上公网。 数据规划 SNAT GW ECS的规格参数举例如下: 地域:华东2 可用区:华东2 可用区B I/O优化实例:I/O优化实例 实例规格:1核1GB 网络类型:专有网络 虚拟交换机ID:vsw-11xxj71x8 操作系统:Ubuntu 14.04 64位 系统盘:40GB高效云盘 Client ECS的规格参数举例如下: 地域:华东2 可用区:华东2 可用区B I/O优化实例:I/O优化实例 实例规格:1核1GB 网络类型:专有网络 虚拟交换机ID:vsw-11xxj71x8 操作系统:Ubuntu

优秀的个人博客,低调大师

用dockerfile配置生成docker image并实现容器部署

前言: docker有个dockerfile 是什么东西,为什么我们要用他? 简单的说: 以前咱们docker run创建一个docker容器,有时候会附带不少的参数。 比如: 1 dockerrun-d-p22-p8080:8080ruifengyun /ubunt-redis "redis-serverredis.conf&&/usr/sbin/sshd-D" 会发现很是麻烦。 这个时候咱们可以创建编辑一个dockerfile文件,生成新的image,然后从这个新的镜像创建容器,容器里面相关联的启动项和端口,目录都是提前定义好的。 原文:http://rfyiamcool.blog.51cto.com/1030776/1541081 cat Dockerfile 1 2 3 4 5 6 7 8 9 10 11 #配置redis FROMubuntu MAINTAINERruifengyun "ruifengyun@qq.com" ADD. /start .sh /root/start .sh RUNapt-getupdate RUNapt-get install -yredis-server RUNapt-get install -yopenssh-server #CMDredis-server/etc/redis/redis.conf&&/usr/sbin/sshd-D CMD[ "redis-server" , "/etc/redis/redis.conf" ] EXPOSE6379 EXPOSE22 FROM 是作为镜像的基础 RUN 可以理解为在FROM下来的镜像做一些环境的部署。 CMD 是创建容器后,会运行的命令 EXPOSE 是暴露的端口 MAINTAINER 通知的邮件 ADD 相当于把主机的start.sh脚本传递给了容器里面。 VOLUME 是本地的路径的映射 WORKDIR 是执行的路径,也就是cmd entrypoint执行的路径。 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 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 root@dev-ops: /var/4 #dockerbuild-truiDockerfile Uploadingcontext2.048kB Uploadingcontext 2014 /08/16 09:50:59Error: open /tmp/docker-build829651796/Dockerfile :notadirectory root@dev-ops: /var/4 #dockerbuild-trui/redis. Uploadingcontext2.56kB Uploadingcontext Step0:FROMubuntu --->c4ff7513909d Step1:MAINTAINERVictorCoisnevictor.coisne@dotcloud.com --->Usingcache --->bbe0c91632f1 Step2:RUNapt-getupdate --->Running in b10a1a60dcb3 Ignhttp: //archive .ubuntu.comtrustyInRelease Ignhttp: //archive .ubuntu.comtrusty-updatesInRelease Ignhttp: //archive .ubuntu.comtrusty-securityInRelease Get:1http: //archive .ubuntu.comtrustyRelease.gpg[933B] Get:2http: //archive .ubuntu.comtrusty-updatesRelease.gpg[933B] Get:3http: //archive .ubuntu.comtrusty-securityRelease.gpg[933B] Get:4http: //archive .ubuntu.comtrustyRelease[58.5kB] Get:5http: //archive .ubuntu.comtrusty-updatesRelease[59.7kB] Get:6http: //archive .ubuntu.comtrusty-securityRelease[59.7kB] Get:7http: //archive .ubuntu.comtrusty /main Sources[1335kB] Get:8http: //archive .ubuntu.comtrusty /restricted Sources[5335B] Get:9http: //archive .ubuntu.comtrusty /universe Sources[7926kB] Get:10http: //archive .ubuntu.comtrusty /main amd64Packages[1743kB] Get:11http: //archive .ubuntu.comtrusty /restricted amd64Packages[16.0kB] Get:12http: //archive .ubuntu.comtrusty /universe amd64Packages[7589kB] Get:13http: //archive .ubuntu.comtrusty-updates /main Sources[138kB] Get:14http: //archive .ubuntu.comtrusty-updates /restricted Sources[1250B] Get:15http: //archive .ubuntu.comtrusty-updates /universe Sources[91.7kB] Get:16http: //archive .ubuntu.comtrusty-updates /main amd64Packages[375kB] Get:17http: //archive .ubuntu.comtrusty-updates /restricted amd64Packages[6341B] Get:18http: //archive .ubuntu.comtrusty-updates /universe amd64Packages[235kB] Get:19http: //archive .ubuntu.comtrusty-security /main Sources[47.4kB] Get:20http: //archive .ubuntu.comtrusty-security /restricted Sources[40B] Get:21http: //archive .ubuntu.comtrusty-security /universe Sources[11.9kB] Get:22http: //archive .ubuntu.comtrusty-security /main amd64Packages[167kB] Get:23http: //archive .ubuntu.comtrusty-security /restricted amd64Packages[40B] Get:24http: //archive .ubuntu.comtrusty-security /universe amd64Packages[57.0kB] Fetched19.9MB in 11min48s(28.1kB /s ) Readingpackagelists... --->9ce87ae24eeb Step3:RUNapt-get install -yredis-server --->Running in b28a88665c3f Readingpackagelists... Buildingdependencytree... Readingstateinformation... Thefollowingextrapackageswillbeinstalled: libjemalloc1redis-tools ThefollowingNEWpackageswillbeinstalled: libjemalloc1redis-serverredis-tools 0upgraded,3newlyinstalled,0toremoveand3notupgraded. Needtoget410kBofarchives. Afterthisoperation,1272kBofadditionaldiskspacewillbeused. Get:1http: //archive .ubuntu.com /ubuntu/ trusty /universe libjemalloc1amd643.5.1-2[76.8kB] Get:2http: //archive .ubuntu.com /ubuntu/ trusty /universe redis-toolsamd642:2.8.4-2[65.7kB] Get:3http: //archive .ubuntu.com /ubuntu/ trusty /universe redis-serveramd642:2.8.4-2[267kB] debconf:unabletoinitializefrontend:Dialog debconf:(TERMisnot set ,sothedialogfrontendisnotusable.) debconf:fallingbacktofrontend:Readline debconf:unabletoinitializefrontend:Readline debconf:(Thisfrontendrequiresacontrolling tty .) debconf:fallingbacktofrontend:Teletype dpkg-preconfigure:unabletore- open stdin: Fetched410kB in 4s(91.4kB /s ) Selectingpreviouslyunselectedpackagelibjemalloc1. (Readingdatabase...11518filesanddirectoriescurrentlyinstalled.) Preparingtounpack... /libjemalloc1_3 .5.1-2_amd64.deb... Unpackinglibjemalloc1(3.5.1-2)... Selectingpreviouslyunselectedpackageredis-tools. Preparingtounpack... /redis-tools_2 %3a2.8.4-2_amd64.deb... Unpackingredis-tools(2:2.8.4-2)... Selectingpreviouslyunselectedpackageredis-server. Preparingtounpack... /redis-server_2 %3a2.8.4-2_amd64.deb... Unpackingredis-server(2:2.8.4-2)... Processingtriggers for ureadahead(0.100.0-16)... Settinguplibjemalloc1(3.5.1-2)... Settingupredis-tools(2:2.8.4-2)... Settingupredis-server(2:2.8.4-2)... invoke-rc.d:policy-rc.ddeniedexecutionofstart. Processingtriggers for libc-bin(2.19-0ubuntu6.1)... Processingtriggers for ureadahead(0.100.0-16)... --->d37fb2bbe0b5 Step4:ENTRYPOINTredis-server /etc/redis/redis .conf&& /usr/sbin/sshd -D --->Running in f6c027ac643d --->ec7fe19bdfed Step5:USERdaemon --->Running in 0e3b10d07a16 --->d16398d08a4a Step6:EXPOSE6379 --->Running in c8ca52dde189 --->e0a9bcb25972 Step7:EXPOSE22 --->Running in 22845a6abd90 --->54bb130c7a44 Successfullybuilt54bb130c7a44 Removingintermediatecontainerb10a1a60dcb3 Removingintermediatecontainerb28a88665c3f Removingintermediatecontainerf6c027ac643d Removingintermediatecontainer0e3b10d07a16 Removingintermediatecontainerc8ca52dde189 Removingintermediatecontainer22845a6abd90 root@dev-ops: /var/4 # 原文:http: //rfyiamcool .blog.51cto.com /1030776/1541081 等折腾完了后,他会生成一个镜像 。 这个镜像是由咱们的dockerfile搞的。 原文:http://rfyiamcool.blog.51cto.com/1030776/1541081 这次咱们再创建容器,不用再加那么多参数了。 1 2 3 4 5 6 7 root@dev-ops:~ #dockerrun-d-Prui 116b30b056493237caca158849ae687c9beb4f8656be485c2a3cc71a27d8e951 root@dev-ops:~ # root@dev-ops:~ # root@dev-ops:~ #dockerps-a CONTAINERIDIMAGECOMMANDCREATEDSTATUSPORTSNAMES 116b30b05649rui:latestredis-server /etc/redis/redis .conf4secondsagoUp3seconds0.0.0.0:49153->6379 /tcp nostalgic_lumiere 咱们再来一个比较全的dockerfile例子: 功能是用来部署lnmp和wordpress ,配置看起来多 ,其实还是比较规范的。 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 原文:http: //rfyiamcool .blog.51cto.com /1030776/1541081 FROMubuntu:14.04 MAINTAINERliudehua<liudehua@xxx.com> #Keepupstartfromcomplaining RUNdpkg-divert-- local --rename--add /sbin/initctl RUN ln -sf /bin/true /sbin/initctl #Lettheconatinerknowthatthereisnotty ENVDEBIAN_FRONTENDnoninteractive RUNapt-getupdate RUNapt-get-yupgrade #BasicRequirements RUNapt-get-y install mysql-servermysql-clientnginxphp5-fpmphp5-mysqlphp-apcpwgenpython-setuptoolscurlgitunzip #WordpressRequirements RUNapt-get-y install php5-curlphp5-gdphp5-intlphp-pearphp5-imagickphp5-imapphp5-mcryptphp5-memcachephp5-mingphp5- ps php5-pspellphp5-recodephp5-sqlitephp5-tidyphp5-xmlrpcphp5-xsl #mysqlconfig RUN sed -i-e "s/^bind-address\s*=\s*127.0.0.1/bind-address=0.0.0.0/" /etc/mysql/my .cnf #nginxconfig RUN sed -i-e "s/keepalive_timeout\s*65/keepalive_timeout2/" /etc/nginx/nginx .conf RUN sed -i-e "s/keepalive_timeout2/keepalive_timeout2;\n\tclient_max_body_size100m/" /etc/nginx/nginx .conf RUN echo "daemonoff;" >> /etc/nginx/nginx .conf #php-fpmconfig RUN sed -i-e "s/;cgi.fix_pathinfo=1/cgi.fix_pathinfo=0/g" /etc/php5/fpm/php .ini RUN sed -i-e "s/upload_max_filesize\s*=\s*2M/upload_max_filesize=100M/g" /etc/php5/fpm/php .ini RUN sed -i-e "s/post_max_size\s*=\s*8M/post_max_size=100M/g" /etc/php5/fpm/php .ini RUN sed -i-e "s/;daemonize\s*=\s*yes/daemonize=no/g" /etc/php5/fpm/php-fpm .conf RUN sed -i-e "s/;catch_workers_output\s*=\s*yes/catch_workers_output=yes/g" /etc/php5/fpm/pool .d /www .conf RUN find /etc/php5/cli/conf .d/-name "*.ini" - exec sed -i-re 's/^(\s*)#(.*)/\1;\2/g' {}\; #nginxsiteconf ADD. /nginx-site .conf /etc/nginx/sites-available/default #SupervisorConfig RUN /usr/bin/easy_install supervisor RUN /usr/bin/easy_install supervisor-stdout ADD. /supervisord .conf /etc/supervisord .conf #InstallWordpress ADDhttp: //wordpress .org /latest . tar .gz /usr/share/nginx/latest . tar .gz RUN cd /usr/share/nginx/ && tar xvflatest. tar .gz&& rm latest. tar .gz RUN mv /usr/share/nginx/html/5 * /usr/share/nginx/wordpress RUN rm -rf /usr/share/nginx/www RUN mv /usr/share/nginx/wordpress /usr/share/nginx/www RUN chown -Rwww-data:www-data /usr/share/nginx/www #WordpressInitializationandStartupScript ADD. /start .sh /start .sh RUN chmod 755 /start .sh #privateexpose EXPOSE3306 EXPOSE80 CMD[ "/bin/bash" , "/start.sh" ] 再来一个mognodb的例子: 注: 可以用 \ 标识换行 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 FROMdockerfile /ubuntu #InstallMongoDB. RUN\ apt-keyadv--keyserverhkp: //keyserver .ubuntu.com:80--recv7F0CEB10&&\ echo 'debhttp://downloads-distro.mongodb.org/repo/ubuntu-upstartdist10gen' | tee /etc/apt/sources .list.d /mongodb .list&&\ apt-getupdate&&\ apt-get install -ymongodb-org&&\ mkdir -p /data/db VOLUME[ "/data" ] WORKDIR /data CMD[ "mongod" ] EXPOSE27017 EXPOSE28017 官网有不少的例子,有兴趣的朋友可以到https://github.com/dockerfile查看下。 在dockerfile使用cmd、entrypoint 需要注意: cmd 是可以写成shell的模式, 也就是 咱们平时写语句那样 CMD redis-server redis.conf && service sshd restart docker调用它的时候是用/bin/sh -c 调用的。 这个时候有些少许的问题,大家再测试的时候,最好在自己的本机也测一般。 sh -c 这东西挺奇妙的 ,貌似他的参数断句有问题,有些蛋疼。 一般来说,在用cmd启动的时候 用exec的模式多点 ,也就是 ['redis-server','/etc/redis/redis.conf'] 他自己会用空格组成一条命令。 一个dockerfile里面只能有一个CMD。 写多了没用。 本文转自 rfyiamcool 51CTO博客,原文链接:http://blog.51cto.com/rfyiamcool/1541081 ,如需转载请自行联系原作者

优秀的个人博客,低调大师

rsync+inotify 实现服务器文件实时同步

oneproxy数据库中间件说明 #wgethttp://www.onexsoft.com/software/oneproxy-rhel5-linux64-v6.0.0-ga.tar.gz #tar -zxvf oneproxy-rhel5-linux64-v6.0.0-ga.tar.gz -C /usr/local/ # cd /usr/local/oneproxy/ 1.指定中间件启动的shell脚本和启动文件的程序目录位置 # sed -i 's/^export.*$/export\ ONEPROXY_HOME=\/usr\/local\/oneproxy/g' demo.sh # sed -i 's/^ONEPROXY_HOME=.*$/ONEPROXY_HOME=\/usr\/local\/oneproxy/g' oneproxy.service # cp oneproxy.service /etc/init.d/oneproxy # chmod +x /etc/init.d/oneproxy #chkconfig --add oneproxy # chkconfig oneproxy on 二、oneproxy的管理 启动中间件: 方式一 # sh /usr/local/oneproxy/demo.sh 方式二 关闭中间件: 方式一 # /etc/init.d/oneproxy stop 方式二(需要通过mysql客户端登录控制台使用的管理平台的账号密码,为中间件默认密码) #安装MySQL客户端 # yum install mysql -y # mysql -uadmin -pOneProxy -h127.0.0.1 -P4041 mysql> shutdown force; ERROR 2013 (HY000): Lost connection to MySQL server during query # /etc/init.d/oneproxy start 三、oneproxy的配置 3.1基础配置 3.2管理平台的使用 默认登录管理平台账号密码: # mysql -uadmin -pOneProxy -h127.0.0.1 -P4041 3.2分表规则的 3.3主要参数说明 MySQL节点,与是否真实Master无关,可以用“@”来指定一个集群名字。通常来讲具有复制关系的主备节点,都应当用同一个集群名字,任何一个节点都必须属于一个集群,不指定的话,默认值为“default”。 proxy-slave-addresses,只读节点,只能用来转发读请求的MySQL节点,可以使用多次来指定多台MySQL节点,与是否真实Slave无关,可以用“@”来指定一个集群名字。通常来讲具有复制关系的主备节点,都应当用同一个集群名字,任何一个节点都必须属于一个集群,不指定的话,默认值为“default”。 proxy-user-list,所有后端MySQL节点都需要有这里指定的用户名,口令也要相同,可以用“@”来指定这个用户连接时所用的默认的数据库名,可以使用多次来指定多个用户。 proxy-group-policy,用来指定某个MySQL集群的分流策略,策略“master-only”表示只使用Master,为“read-failover”表示Master不可用时将读切到备,策略“read-slave”表示只读Slave,策略“read-balance”表示读所有的节点,可以使用多次来为不同的MySQL主备设置不同的策略。 proxy-group-security,用来指定某个MySQL集群的安全策略,策略0为无限制,策略1禁用了DDL(默认值),策略2表示一定要有Where条件,策略3表示只允许查询(Select)命令,可以使用多次来为不同的MySQL主备设置不同的策略。 proxy-part-tables,分库分表配置文件,json格式文本,主要包含表的分区逻辑及每个分区的集群位置,详情参考分库分表部份的介绍。 proxy-charset,客户端的字符集信息。 本文转自去轻狂书生51CTO博客,原文链接: http://blog.51cto.com/8999a/1964979 ,如需转载请自行联系原作者

资源下载

更多资源
Nacos

Nacos

Nacos /nɑ:kəʊs/ 是 Dynamic Naming and Configuration Service 的首字母简称,一个易于构建 AI Agent 应用的动态服务发现、配置管理和AI智能体管理平台。Nacos 致力于帮助您发现、配置和管理微服务及AI智能体应用。Nacos 提供了一组简单易用的特性集,帮助您快速实现动态服务发现、服务配置、服务元数据、流量管理。Nacos 帮助您更敏捷和容易地构建、交付和管理微服务平台。

Spring

Spring

Spring框架(Spring Framework)是由Rod Johnson于2002年提出的开源Java企业级应用框架,旨在通过使用JavaBean替代传统EJB实现方式降低企业级编程开发的复杂性。该框架基于简单性、可测试性和松耦合性设计理念,提供核心容器、应用上下文、数据访问集成等模块,支持整合Hibernate、Struts等第三方框架,其适用范围不仅限于服务器端开发,绝大多数Java应用均可从中受益。

Rocky Linux

Rocky Linux

Rocky Linux(中文名:洛基)是由Gregory Kurtzer于2020年12月发起的企业级Linux发行版,作为CentOS稳定版停止维护后与RHEL(Red Hat Enterprise Linux)完全兼容的开源替代方案,由社区拥有并管理,支持x86_64、aarch64等架构。其通过重新编译RHEL源代码提供长期稳定性,采用模块化包装和SELinux安全架构,默认包含GNOME桌面环境及XFS文件系统,支持十年生命周期更新。

Sublime Text

Sublime Text

Sublime Text具有漂亮的用户界面和强大的功能,例如代码缩略图,Python的插件,代码段等。还可自定义键绑定,菜单和工具栏。Sublime Text 的主要功能包括:拼写检查,书签,完整的 Python API , Goto 功能,即时项目切换,多选择,多窗口等等。Sublime Text 是一个跨平台的编辑器,同时支持Windows、Linux、Mac OS X等操作系统。

用户登录
用户注册
修改密码
忘记密码