Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@kenhphongtro ~]# yum -y install wget && wget http://hocvps.com/install && bash install
- Loaded plugins: fastestmirror
- base | 3.7 kB 00:00
- base/primary_db | 4.7 MB 00:00
- extras | 3.4 kB 00:00
- extras/primary_db | 37 kB 00:00
- updates | 3.4 kB 00:00
- updates/primary_db | 4.3 MB 00:00
- vz-base | 951 B 00:00
- vz-base/primary | 1.3 kB 00:02
- vz-base 3/3
- vz-updates | 951 B 00:00
- vz-updates/primary | 2.2 kB 00:00
- vz-updates 8/8
- Setting up Install Process
- Resolving Dependencies
- --> Running transaction check
- ---> Package wget.x86_64 0:1.12-1.4.el6 will be updated
- ---> Package wget.x86_64 0:1.12-8.el6 will be an update
- --> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package: wget-1.12-8.el6.x86_64
- --> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: wget-1.12-8.el6.x86_64
- --> Running transaction check
- ---> Package openssl.x86_64 0:1.0.0-20.el6_2.5 will be updated
- ---> Package openssl.x86_64 0:1.0.1e-48.el6_8.3 will be an update
- --> Finished Dependency Resolution
- Dependencies Resolved
- =========================================================================================================================
- Package Arch Version Repository Size
- =========================================================================================================================
- Updating:
- wget x86_64 1.12-8.el6 base 484 k
- Updating for dependencies:
- openssl x86_64 1.0.1e-48.el6_8.3 updates 1.5 M
- Transaction Summary
- =========================================================================================================================
- Upgrade 2 Package(s)
- Total download size: 2.0 M
- Downloading Packages:
- (1/2): openssl-1.0.1e-48.el6_8.3.x86_64.rpm | 1.5 MB 00:00
- (2/2): wget-1.12-8.el6.x86_64.rpm | 484 kB 00:00
- -------------------------------------------------------------------------------------------------------------------------
- Total 16 MB/s | 2.0 MB 00:00
- warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
- Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
- Importing GPG key 0xC105B9DE:
- Userid : CentOS-6 Key (CentOS 6 Official Signing Key) <centos-6-key@centos.org>
- Package: centos-release-6-2.el6.centos.7.x86_64 (installed)
- From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
- Running rpm_check_debug
- Running Transaction Test
- Transaction Test Succeeded
- Running Transaction
- Updating : openssl-1.0.1e-48.el6_8.3.x86_64 1/4
- Updating : wget-1.12-8.el6.x86_64 2/4
- Cleanup : wget-1.12-1.4.el6.x86_64 3/4
- Cleanup : openssl-1.0.0-20.el6_2.5.x86_64 4/4
- Updated:
- wget.x86_64 0:1.12-8.el6
- Dependency Updated:
- openssl.x86_64 0:1.0.1e-48.el6_8.3
- Complete!
- --2017-02-17 07:39:17-- http://hocvps.com/install
- Resolving hocvps.com... 107.191.52.55
- Connecting to hocvps.com|107.191.52.55|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 1077 (1.1K) [application/octet-stream]
- Saving to: “installâ€
- 100%[===============================================================================>] 1,077 --.-K/s in 0s
- 2017-02-17 07:39:18 (101 MB/s) - “install†saved [1077/1077]
- Loaded plugins: fastestmirror
- Determining fastest mirrors
- * base: mirror.digistar.vn
- * extras: mirror.digistar.vn
- * updates: mirror.digistar.vn
- Setting up Install Process
- Resolving Dependencies
- --> Running transaction check
- ---> Package bc.x86_64 0:1.06.95-1.el6 will be installed
- ---> Package gawk.x86_64 0:3.1.7-6.el6 will be updated
- ---> Package gawk.x86_64 0:3.1.7-10.el6_7.3 will be an update
- --> Finished Dependency Resolution
- Dependencies Resolved
- =========================================================================================================================
- Package Arch Version Repository Size
- =========================================================================================================================
- Installing:
- bc x86_64 1.06.95-1.el6 base 110 k
- gawk x86_64 3.1.7-10.el6_7.3 base 780 k
- Transaction Summary
- =========================================================================================================================
- Install 1 Package(s)
- Upgrade 1 Package(s)
- Total download size: 890 k
- Downloading Packages:
- (1/2): bc-1.06.95-1.el6.x86_64.rpm | 110 kB 00:00
- (2/2): gawk-3.1.7-10.el6_7.3.x86_64.rpm | 780 kB 00:00
- -------------------------------------------------------------------------------------------------------------------------
- Total 7.9 MB/s | 890 kB 00:00
- Running rpm_check_debug
- Running Transaction Test
- Transaction Test Succeeded
- Running Transaction
- Installing : bc-1.06.95-1.el6.x86_64 1/3
- Updating : gawk-3.1.7-10.el6_7.3.x86_64 2/3
- Cleanup : gawk-3.1.7-6.el6.x86_64 3/3
- Installed:
- bc.x86_64 0:1.06.95-1.el6
- Updated:
- gawk.x86_64 0:3.1.7-10.el6_7.3
- Complete!
- Chung ta se kiem tra cac thong so VPS cua ban de dua ra cai dat hop ly
- =========================================================================
- =========================================================================
- Thong so server cua ban nhu sau
- =========================================================================
- Loai CPU : Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz
- Tong so CPU core : 1
- Toc do moi core : 1999.986 MHz
- Tong dung luong RAM : 1024 MB
- Tong dung luong swap : 1024 MB
- Tong dung luong o dia : 20G GB
- IP cua server la : 61.14.232.196
- =========================================================================
- =========================================================================
- =========================================================================
- Chuan bi qua trinh cai dat...
- =========================================================================
- Ban hay lua chon phien ban PHP muon su dung:
- 1) PHP 7.1
- 2) PHP 5.6
- 3) PHP 5.5
- 4) PHP 5.4
- Nhap vao lua chon cua ban [1-4]: 2
- Nhap vao ten mien chinh (non-www hoac www) roi an [ENTER]: kenhphongtro.com
- Nhap vao port quan ly server roi an [ENTER]: 1919
- =========================================================================
- Hoan tat qua trinh chuan bi...
- =========================================================================
- Loaded plugins: fastestmirror
- Loading mirror speeds from cached hostfile
- * base: mirror.digistar.vn
- * extras: mirror.digistar.vn
- * updates: mirror.digistar.vn
- Setting up Install Process
- Resolving Dependencies
- --> Running transaction check
- ---> Package epel-release.noarch 0:6-8 will be installed
- ---> Package yum-utils.noarch 0:1.1.30-37.el6 will be installed
- --> Processing Dependency: yum >= 3.2.29-56 for package: yum-utils-1.1.30-37.el6.noarch
- --> Processing Dependency: libxml2-python for package: yum-utils-1.1.30-37.el6.noarch
- --> Running transaction check
- ---> Package libxml2-python.x86_64 0:2.7.6-21.el6_8.1 will be installed
- --> Processing Dependency: libxml2 = 2.7.6-21.el6_8.1 for package: libxml2-python-2.7.6-21.el6_8.1.x86_64
- ---> Package yum.noarch 0:3.2.29-22.el6.centos.2 will be updated
- ---> Package yum.noarch 0:3.2.29-75.el6.centos will be an update
- --> Processing Dependency: python-urlgrabber >= 3.9.1-10 for package: yum-3.2.29-75.el6.centos.noarch
- --> Running transaction check
- ---> Package libxml2.i686 0:2.7.6-4.el6_2.4 will be updated
- ---> Package libxml2.x86_64 0:2.7.6-4.el6_2.4 will be updated
- ---> Package libxml2.i686 0:2.7.6-21.el6_8.1 will be an update
- --> Processing Dependency: libz.so.1(ZLIB_1.2.2.3) for package: libxml2-2.7.6-21.el6_8.1.i686
- ---> Package libxml2.x86_64 0:2.7.6-21.el6_8.1 will be an update
- ---> Package python-urlgrabber.noarch 0:3.9.1-8.el6 will be updated
- ---> Package python-urlgrabber.noarch 0:3.9.1-11.el6 will be an update
- --> Running transaction check
- ---> Package zlib.i686 0:1.2.3-27.el6 will be updated
- ---> Package zlib.x86_64 0:1.2.3-27.el6 will be updated
- ---> Package zlib.i686 0:1.2.3-29.el6 will be an update
- ---> Package zlib.x86_64 0:1.2.3-29.el6 will be an update
- --> Finished Dependency Resolution
- Dependencies Resolved
- =========================================================================================================================
- Package Arch Version Repository Size
- =========================================================================================================================
- Installing:
- epel-release noarch 6-8 extras 14 k
- yum-utils noarch 1.1.30-37.el6 base 112 k
- Installing for dependencies:
- libxml2-python x86_64 2.7.6-21.el6_8.1 updates 325 k
- Updating for dependencies:
- libxml2 i686 2.7.6-21.el6_8.1 updates 805 k
- libxml2 x86_64 2.7.6-21.el6_8.1 updates 805 k
- python-urlgrabber noarch 3.9.1-11.el6 base 86 k
- yum noarch 3.2.29-75.el6.centos updates 1.0 M
- zlib i686 1.2.3-29.el6 base 73 k
- zlib x86_64 1.2.3-29.el6 base 73 k
- Transaction Summary
- =========================================================================================================================
- Install 3 Package(s)
- Upgrade 6 Package(s)
- Total download size: 3.2 M
- Downloading Packages:
- (1/9): epel-release-6-8.noarch.rpm | 14 kB 00:00
- (2/9): libxml2-2.7.6-21.el6_8.1.i686.rpm | 805 kB 00:00
- (3/9): libxml2-2.7.6-21.el6_8.1.x86_64.rpm | 805 kB 00:00
- (4/9): libxml2-python-2.7.6-21.el6_8.1.x86_64.rpm | 325 kB 00:00
- (5/9): python-urlgrabber-3.9.1-11.el6.noarch.rpm | 86 kB 00:00
- (6/9): yum-3.2.29-75.el6.centos.noarch.rpm | 1.0 MB 00:00
- (7/9): yum-utils-1.1.30-37.el6.noarch.rpm | 112 kB 00:00
- (8/9): zlib-1.2.3-29.el6.i686.rpm | 73 kB 00:00
- (9/9): zlib-1.2.3-29.el6.x86_64.rpm | 73 kB 00:00
- -------------------------------------------------------------------------------------------------------------------------
- Total 6.4 MB/s | 3.2 MB 00:00
- Running rpm_check_debug
- Running Transaction Test
- Transaction Test Succeeded
- Running Transaction
- Updating : zlib-1.2.3-29.el6.x86_64 1/15
- Updating : libxml2-2.7.6-21.el6_8.1.x86_64 2/15
- Installing : libxml2-python-2.7.6-21.el6_8.1.x86_64 3/15
- Updating : python-urlgrabber-3.9.1-11.el6.noarch 4/15
- Updating : yum-3.2.29-75.el6.centos.noarch 5/15
- Updating : zlib-1.2.3-29.el6.i686 6/15
- Installing : yum-utils-1.1.30-37.el6.noarch 7/15
- Installing : epel-release-6-8.noarch 8/15
- Updating : libxml2-2.7.6-21.el6_8.1.i686 9/15
- Cleanup : yum-3.2.29-22.el6.centos.2.noarch 10/15
- Cleanup : libxml2-2.7.6-4.el6_2.4 11/15
- Cleanup : libxml2-2.7.6-4.el6_2.4 12/15
- Cleanup : zlib-1.2.3-27.el6 13/15
- Cleanup : python-urlgrabber-3.9.1-8.el6.noarch 14/15
- Cleanup : zlib-1.2.3-27.el6 15/15
- Installed:
- epel-release.noarch 0:6-8 yum-utils.noarch 0:1.1.30-37.el6
- Dependency Installed:
- libxml2-python.x86_64 0:2.7.6-21.el6_8.1
- Dependency Updated:
- libxml2.i686 0:2.7.6-21.el6_8.1 libxml2.x86_64 0:2.7.6-21.el6_8.1 python-urlgrabber.noarch 0:3.9.1-11.el6
- yum.noarch 0:3.2.29-75.el6.centos zlib.i686 0:1.2.3-29.el6 zlib.x86_64 0:1.2.3-29.el6
- Complete!
- Retrieving http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
- Preparing... ########################################### [100%]
- 1:remi-release ########################################### [100%]
- Retrieving http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm
- warning: /var/tmp/rpm-tmp.llVLHG: Header V4 RSA/SHA1 Signature, key ID 7bd9bf62: NOKEY
- Preparing... ########################################### [100%]
- 1:nginx-release-centos ########################################### [100%]
- --2017-02-17 11:40:05-- http://hocvps.com/scripts/repo/mariadb/centos/6/x86_64/5
- Resolving hocvps.com... 107.191.52.55
- Connecting to hocvps.com|107.191.52.55|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 218 [application/octet-stream]
- Saving to: “/etc/yum.repos.d/MariaDB.repoâ€
- 100%[===============================================================================>] 218 --.-K/s in 0s
- 2017-02-17 11:40:05 (32.4 MB/s) - “/etc/yum.repos.d/MariaDB.repo†saved [218/218]
- Stopping xinetd: [ OK ]
- Stopping saslauthd: [ OK ]
- Loaded plugins: fastestmirror
- Setting up Remove Process
- No Match for argument: mysql*
- Loading mirror speeds from cached hostfile
- Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
- Loaded plugins: fastestmirror
- Setting up Update Process
- Loading mirror speeds from cached hostfile
- Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
- =========================================================================
- Chuan bi xong, bat dau cai dat server...
- =========================================================================
- Loaded plugins: fastestmirror
- ====================================================== repo: remi =======================================================
- [remi]
- bandwidth = 0
- base_persistdir = /var/lib/yum/repos/x86_64/6
- baseurl =
- cache = 0
- cachedir = /var/cache/yum/x86_64/6/remi
- cost = 1000
- enabled = 1
- enablegroups = True
- exclude =
- failovermethod = priority
- ftp_disable_epsv = False
- gpgcadir = /var/lib/yum/repos/x86_64/6/remi/gpgcadir
- gpgcakey =
- gpgcheck = True
- gpgdir = /var/lib/yum/repos/x86_64/6/remi/gpgdir
- gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
- hdrdir = /var/cache/yum/x86_64/6/remi/headers
- http_caching = all
- includepkgs =
- keepalive = True
- mdpolicy = group:primary
- mediaid =
- metadata_expire = 21600
- metalink =
- mirrorlist = http://rpms.remirepo.net/enterprise/6/remi/mirror
- mirrorlist_expire = 86400
- name = Remi's RPM repository for Enterprise Linux 6 - x86_64
- old_base_cache_dir =
- password =
- persistdir = /var/lib/yum/repos/x86_64/6/remi
- pkgdir = /var/cache/yum/x86_64/6/remi/packages
- proxy = False
- proxy_dict =
- proxy_password =
- proxy_username =
- repo_gpgcheck = False
- retries = 10
- skip_if_unavailable = False
- ssl_check_cert_permissions = True
- sslcacert =
- sslclientcert =
- sslclientkey =
- sslverify = True
- throttle = 0
- timeout = 30.0
- username =
- Loaded plugins: fastestmirror
- =================================================== repo: remi-php56 ====================================================
- [remi-php56]
- bandwidth = 0
- base_persistdir = /var/lib/yum/repos/x86_64/6
- baseurl =
- cache = 0
- cachedir = /var/cache/yum/x86_64/6/remi-php56
- cost = 1000
- enabled = 1
- enablegroups = True
- exclude =
- failovermethod = priority
- ftp_disable_epsv = False
- gpgcadir = /var/lib/yum/repos/x86_64/6/remi-php56/gpgcadir
- gpgcakey =
- gpgcheck = True
- gpgdir = /var/lib/yum/repos/x86_64/6/remi-php56/gpgdir
- gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
- hdrdir = /var/cache/yum/x86_64/6/remi-php56/headers
- http_caching = all
- includepkgs =
- keepalive = True
- mdpolicy = group:primary
- mediaid =
- metadata_expire = 21600
- metalink =
- mirrorlist = http://rpms.remirepo.net/enterprise/6/php56/mirror
- mirrorlist_expire = 86400
- name = Remi's PHP 5.6 RPM repository for Enterprise Linux 6 - x86_64
- old_base_cache_dir =
- password =
- persistdir = /var/lib/yum/repos/x86_64/6/remi-php56
- pkgdir = /var/cache/yum/x86_64/6/remi-php56/packages
- proxy = False
- proxy_dict =
- proxy_username =
- repo_gpgcheck = False
- retries = 10
- skip_if_unavailable = False
- ssl_check_cert_permissions = True
- sslcacert =
- sslclientcert =
- sslclientkey =
- sslverify = True
- throttle = 0
- timeout = 30.0
- username =
- Loaded plugins: fastestmirror
- Setting up Install Process
- Loading mirror speeds from cached hostfile
- Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
- Loaded plugins: fastestmirror
- Setting up Install Process
- Loading mirror speeds from cached hostfile
- Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
- Loaded plugins: fastestmirror
- Setting up Install Process
- Loading mirror speeds from cached hostfile
- Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
- install: line 156: ntpdate: command not found
- Cannot access the Hardware Clock via any known method.
- Use the --debug option to see the details of our search for an access method.
- Cai dat xong, bat dau cau hinh server...
- =========================================================================
- error reading information on service nginx: No such file or directory
- error reading information on service nginx: No such file or directory
- error reading information on service php-fpm: No such file or directory
- error reading information on service php-fpm: No such file or directory
- error reading information on service exim: No such file or directory
- error reading information on service exim: No such file or directory
- error reading information on service syslog-ng: No such file or directory
- error reading information on service syslog-ng: No such file or directory
- error reading information on service fail2ban: No such file or directory
- error reading information on service fail2ban: No such file or directory
- mysql: unrecognized service
- exim: unrecognized service
- syslog-ng: unrecognized service
- chown: invalid user: `nginx:nginx'
- chown: invalid user: `nginx:nginx'
- install: line 225: /etc/nginx/nginx.conf: No such file or directory
- install: line 297: /usr/share/nginx/html/403.html: No such file or directory
- install: line 313: /usr/share/nginx/html/404.html: No such file or directory
- install: line 329: /etc/nginx/conf.d/kenhphongtro.com.conf: No such file or directory
- install: line 454: /etc/php-fpm.d/www.conf: No such file or directory
- install: line 708: /etc/my.cnf.d/server.cnf: No such file or directory
- install: line 773: /etc/php.d/*opcache*.ini: No such file or directory
- install: line 788: /etc/php.d/opcache-default.blacklist: No such file or directory
- install: line 795: /etc/fail2ban/jail.local: No such file or directory
- mysql: unrecognized service
- Thiet lap co ban cho MariaDB ...
- =========================================================================
- install: line 840: /usr/bin/mysqladmin: No such file or directory
- install: line 841: mysql: command not found
- install: line 842: mysql: command not found
- install: line 843: mysql: command not found
- install: line 844: mysql: command not found
- install: line 845: mysql: command not found
- mysql: unrecognized service
- Hoan tat qua trinh cau hinh...
- =========================================================================
- chown: invalid user: `nginx:nginx'
- chown: invalid user: `nginx:nginx'
- chown: invalid user: `nginx:nginx'
- chown: invalid user: `nginx:nginx'
- Cau hinh hoan tat, bat dau them menu hocvps, nhanh thoi...
- =========================================================================
- =========================================================================
- Scripts HocVPS da hoan tat qua trinh cai dat...
- =========================================================================
- Sau day la thong tin server moi cua ban, hay doc can than va luu giu lai
- de su dung sau nay:
- =========================================================================
- Website chinh: http://kenhphongtro.com/ hoac http://61.14.232.196/
- =========================================================================
- HocVPS Script Admin: http://kenhphongtro.com:1919/
- hoac http://61.14.232.196:1919/
- File Manager: http://kenhphongtro.com:1919/filemanager/
- hoac http://61.14.232.196:1919/filemanager/
- phpMyAdmin: http://kenhphongtro.com:1919/phpmyadmin/
- hoac http://61.14.232.196:1919/phpmyadmin/
- Server Info: http://kenhphongtro.com:1919/serverinfo/
- hoac http://61.14.232.196:1919/serverinfo/
- PHP OPcache: http://kenhphongtro.com:1919/op.php
- hoac http://61.14.232.196:1919/op.php
- =========================================================================
- Thong tin dang nhap mac dinh cho tat ca tool:
- Username: admin
- Password: 2335976ac5c79938f
- =========================================================================
- Thong tin quan ly duoc luu tai: /root/hocvps-script.txt
- =========================================================================
- ***Luu y: Port dang nhap SSH da duoc doi tu 22 sang 2222 de bao mat VPS
- =========================================================================
- De quan ly server, ban hay dung lenh "hocvps" khi ket noi SSH.
- Neu can ho tro, cac ban hay truy cap http://hocvps.com/script/
- =========================================================================
- Server se tu dong khoi dong lai sau 3s nua....
- [root@kenhphongtro ~]#
- Broadcast message from root@kenhphongtro
- (/dev/pts/0) at 11:41 ...
- The system is going down for reboot NOW!
- [SSH] INFO: DISCONNECT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement