Skip to content

Instantly share code, notes, and snippets.

@malwador
Created September 3, 2016 03:50
Show Gist options
  • Save malwador/5d525c9afe74137cfe692cbe8ce0c398 to your computer and use it in GitHub Desktop.
Save malwador/5d525c9afe74137cfe692cbe8ce0c398 to your computer and use it in GitHub Desktop.
Log of migration SPT
root@ubuntu:~# php -v
PHP 5.5.9-1ubuntu4.19 (cli) (built: Jul 28 2016 19:31:33)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies
==
root@ubuntu:~# apache2 -v
Server version: Apache/2.4.7 (Ubuntu)
Server built: Jul 15 2016 15:34:04
==
root@ubuntu:~# mysql --version
mysql Ver 14.14 Distrib 5.5.50, for debian-linux-gnu (x86_64) using readline 6.3
==
root@ubuntu:~# apt-get install fail2ban git vim
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
git-man liberror-perl libgpm2 libpython2.7 patch python-pyinotify
vim-runtime
Suggested packages:
python-gamin mailx git-daemon-run git-daemon-sysvinit git-doc git-el
git-email git-gui gitk gitweb git-arch git-bzr git-cvs git-mediawiki git-svn
gpm diffutils-doc python-pyinotify-doc ctags vim-doc vim-scripts
The following NEW packages will be installed:
fail2ban git git-man liberror-perl libgpm2 libpython2.7 patch
python-pyinotify vim vim-runtime
0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
Need to get 10.4 MB of archives.
After this operation, 54.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.linode.com/ubuntu/ trusty/main libgpm2 amd64 1.20.4-6.1 [16.5 kB]
Get:2 http://mirrors.linode.com/ubuntu/ trusty-updates/main libpython2.7 amd64 2.7.6-8ubuntu0.2 [1,039 kB]
Get:3 http://mirrors.linode.com/ubuntu/ trusty/universe fail2ban all 0.8.11-1 [129 kB]
Get:4 http://mirrors.linode.com/ubuntu/ trusty/main liberror-perl all 0.17-1.1 [21.1 kB]
Get:5 http://mirrors.linode.com/ubuntu/ trusty-updates/main git-man all 1:1.9.1-1ubuntu0.3 [699 kB]
Get:6 http://mirrors.linode.com/ubuntu/ trusty-updates/main git amd64 1:1.9.1-1ubuntu0.3 [2,586 kB]
Get:7 http://mirrors.linode.com/ubuntu/ trusty-updates/main patch amd64 2.7.1-4ubuntu2.3 [86.4 kB]
Get:8 http://mirrors.linode.com/ubuntu/ trusty/main python-pyinotify all 0.9.4-1build1 [24.5 kB]
Get:9 http://mirrors.linode.com/ubuntu/ trusty/main vim-runtime all 2:7.4.052-1ubuntu3 [4,888 kB]
Get:10 http://mirrors.linode.com/ubuntu/ trusty/main vim amd64 2:7.4.052-1ubuntu3 [956 kB]
Fetched 10.4 MB in 0s (37.8 MB/s)
Selecting previously unselected package libgpm2:amd64.
(Reading database ... 24846 files and directories currently installed.)
Preparing to unpack .../libgpm2_1.20.4-6.1_amd64.deb ...
Unpacking libgpm2:amd64 (1.20.4-6.1) ...
Selecting previously unselected package libpython2.7:amd64.
Preparing to unpack .../libpython2.7_2.7.6-8ubuntu0.2_amd64.deb ...
Unpacking libpython2.7:amd64 (2.7.6-8ubuntu0.2) ...
Selecting previously unselected package fail2ban.
Preparing to unpack .../fail2ban_0.8.11-1_all.deb ...
Unpacking fail2ban (0.8.11-1) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../liberror-perl_0.17-1.1_all.deb ...
Unpacking liberror-perl (0.17-1.1) ...
Selecting previously unselected package git-man.
Preparing to unpack .../git-man_1%3a1.9.1-1ubuntu0.3_all.deb ...
Unpacking git-man (1:1.9.1-1ubuntu0.3) ...
Selecting previously unselected package git.
Preparing to unpack .../git_1%3a1.9.1-1ubuntu0.3_amd64.deb ...
Unpacking git (1:1.9.1-1ubuntu0.3) ...
Selecting previously unselected package patch.
Preparing to unpack .../patch_2.7.1-4ubuntu2.3_amd64.deb ...
Unpacking patch (2.7.1-4ubuntu2.3) ...
Selecting previously unselected package python-pyinotify.
Preparing to unpack .../python-pyinotify_0.9.4-1build1_all.deb ...
Unpacking python-pyinotify (0.9.4-1build1) ...
Selecting previously unselected package vim-runtime.
Preparing to unpack .../vim-runtime_2%3a7.4.052-1ubuntu3_all.deb ...
Adding 'diversion of /usr/share/vim/vim74/doc/help.txt to /usr/share/vim/vim74/doc/help.txt.vim-tiny by vim-runtime'
Adding 'diversion of /usr/share/vim/vim74/doc/tags to /usr/share/vim/vim74/doc/tags.vim-tiny by vim-runtime'
Unpacking vim-runtime (2:7.4.052-1ubuntu3) ...
Selecting previously unselected package vim.
Preparing to unpack .../vim_2%3a7.4.052-1ubuntu3_amd64.deb ...
Unpacking vim (2:7.4.052-1ubuntu3) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up libgpm2:amd64 (1.20.4-6.1) ...
Setting up libpython2.7:amd64 (2.7.6-8ubuntu0.2) ...
Setting up fail2ban (0.8.11-1) ...
* Starting authentication failure monitor fail2ban [ OK ]
Setting up liberror-perl (0.17-1.1) ...
Setting up git-man (1:1.9.1-1ubuntu0.3) ...
Setting up git (1:1.9.1-1ubuntu0.3) ...
Setting up patch (2.7.1-4ubuntu2.3) ...
Setting up python-pyinotify (0.9.4-1build1) ...
Setting up vim-runtime (2:7.4.052-1ubuntu3) ...
Processing /usr/share/vim/addons/doc
Setting up vim (2:7.4.052-1ubuntu3) ...
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode
Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
Processing triggers for ureadahead (0.100.0-16) ...
==
root@ubuntu:~# apt-get install php5-curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libcurl3
The following NEW packages will be installed:
libcurl3 php5-curl
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 200 kB of archives.
After this operation, 701 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.linode.com/ubuntu/ trusty-updates/main libcurl3 amd64 7.35.0-1ubuntu2.8 [173 kB]
Get:2 http://mirrors.linode.com/ubuntu/ trusty-updates/main php5-curl amd64 5.5.9+dfsg-1ubuntu4.19 [27.2 kB]
Fetched 200 kB in 0s (14.7 MB/s)
Selecting previously unselected package libcurl3:amd64.
(Reading database ... 27415 files and directories currently installed.)
Preparing to unpack .../libcurl3_7.35.0-1ubuntu2.8_amd64.deb ...
Unpacking libcurl3:amd64 (7.35.0-1ubuntu2.8) ...
Selecting previously unselected package php5-curl.
Preparing to unpack .../php5-curl_5.5.9+dfsg-1ubuntu4.19_amd64.deb ...
Unpacking php5-curl (5.5.9+dfsg-1ubuntu4.19) ...
Processing triggers for libapache2-mod-php5 (5.5.9+dfsg-1ubuntu4.19) ...
Setting up libcurl3:amd64 (7.35.0-1ubuntu2.8) ...
Setting up php5-curl (5.5.9+dfsg-1ubuntu4.19) ...
Creating config file /etc/php5/mods-available/curl.ini with new version
php5_invoke: Enable module curl for apache2 SAPI
php5_invoke: Enable module curl for cli SAPI
Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
Processing triggers for libapache2-mod-php5 (5.5.9+dfsg-1ubuntu4.19) ...
installed duplicator on dev site - couldnt use it due to PHP time outs.
entire site was 1.6GB (including some csv and zip files)
had to reverse back to FTP.
Too bad no SSH so I could do git or rsync.
had to export the db using adminer ==> 64MB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment