{"id":21899287,"url":"https://github.com/kecikeci/centos6.8-tools","last_synced_at":"2026-05-09T13:18:12.455Z","repository":{"id":195783314,"uuid":"120574480","full_name":"kecikeci/centos6.8-tools","owner":"kecikeci","description":"centos6.8+阿里云yum源+ssh密码登录+常用软件","archived":false,"fork":false,"pushed_at":"2018-02-12T03:34:57.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-27T06:15:32.643Z","etag":null,"topics":["docker-image","dockerfile"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kecikeci.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-02-07T06:42:19.000Z","updated_at":"2018-02-07T07:09:43.000Z","dependencies_parsed_at":"2023-09-19T15:54:17.210Z","dependency_job_id":null,"html_url":"https://github.com/kecikeci/centos6.8-tools","commit_stats":null,"previous_names":["kecikeci/centos6.8-tools"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kecikeci%2Fcentos6.8-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kecikeci%2Fcentos6.8-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kecikeci%2Fcentos6.8-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kecikeci%2Fcentos6.8-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kecikeci","download_url":"https://codeload.github.com/kecikeci/centos6.8-tools/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244911759,"owners_count":20530691,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker-image","dockerfile"],"created_at":"2024-11-28T14:40:26.455Z","updated_at":"2026-05-09T13:18:07.408Z","avatar_url":"https://github.com/kecikeci.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# centos6.8-tools\ncentos6.8+阿里云yum源+ssh密码登录+常用软件\n\n## 基于官方centos6.8镜像，https://c.163.com/hub#/m/repository/?repoId=2968\n登录网易云才能进去链接\n\nssh初始密码root123，可用passwd命令修改\n\n自用基础镜像\n\n拉取镜像：docker pull hub.c.163.com/gu641034445/public/centos6.8-tools:latest\n\n## 个人博客：https://4xx.me\n \n```\n# centos6.8+阿里云yum源+ssh密码登录+常用软件\n# 基于官方centos6.8镜像，https://c.163.com/hub#/m/repository/?repoId=2968\n# ssh初始密码root，可用passwd命令修改\n# 个人博客：https://4xx.me\nFROM hub.c.163.com/library/centos:6.8\nMAINTAINER https://4xx.me\n\nRUN cp -f /usr/share/zoneinfo/Asia/Shanghai /etc/localtime\nRUN yum install wget -y\n\n# 更换阿里源\nRUN mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup\nRUN wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo\n\n# 安装常用软件\nRUN yum clean all\nRUN yum install -y yum-plugin-ovl || true\nRUN yum install -y vim tar wget curl rsync bzip2 iptables tcpdump less telnet net-tools lsof sysstat cronie passwd openssl openssh-server\n# 安装ssh\nRUN yum install passwd openssl openssh-server -y\nRUN ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key\nRUN ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key\nRUN sed -i \"s/#UsePrivilegeSeparation.*/UsePrivilegeSeparation no/g\" /etc/ssh/sshd_config\nRUN sed -i \"s/UsePAM.*/UsePAM no/g\" /etc/ssh/sshd_config\nRUN echo \"root:root123\" | chpasswd\n# 安装htop\n# RUN rpm -ivh http://mirrors.sohu.com/fedora-epel/epel-release-latest-6.noarch.rpm\n# RUN yum install htop -y\n\n# 清除yum缓存\nRUN yum clean all\nRUN rm -rf /var/cache/yum/*\n\nEXPOSE 22\nCMD [\"/usr/sbin/sshd\", \"-D\"]\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkecikeci%2Fcentos6.8-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkecikeci%2Fcentos6.8-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkecikeci%2Fcentos6.8-tools/lists"}