buy tb500

Archive for May, 2017

Change a user name and email address in Office 365

Monday, May 22nd, 2017

 

Please refer to this article

 

https://support.office.com/en-us/article/Change-a-user-name-and-email-address-in-Office-365-fb5ac074-e203-4e1f-9843-b9d1a3e03297

 

package account without emails and public_html contents – cPanel

Tuesday, May 9th, 2017

/scripts/pkgacct –skiphomedir USER

 

You must enable the PECL memcached or memcache extension to use memcache.inc. cpanel

Friday, May 5th, 2017

Solutions

 

yum install ea4-experimental
yum install ea-php56-php-memcache
yum install ea-php56-php-memcached
yum install ea-memcached

That should fix the issue. i have tried it and fixed my issue. 
Reference

https://forums.cpanel.net/threads/installing-memcache-and-memcached-with-easyapache4.566261/

queueprocd isn’t running? at /usr/local/cpanel/Cpanel/TaskQueue/Manager.pm line 150

Thursday, May 4th, 2017

The issue can be fix by run the following command

 

/scripts/restartsrv_queueprocd

 

 

#1273 – Unknown collation: ‘utf8mb4_unicode_520_ci’

Thursday, May 4th, 2017

1) Click the “Export” tab for the database

2) Click the “Custom” radio button

3) Go the section titled “Format-specific options” and change the dropdown for “Database system or older MySQL server to maximize output compatibility with:” from NONE to MYSQL40.

4) Scroll to the bottom and click “GO”.

I’m not certain if doing this causes any data loss, however in the one time I’ve tried it I did not notice any. Neither did anyone who responded in the forums linked to above.

 

Reference

http://stackoverflow.com/questions/29916610/1273-unknown-collation-utf8mb4-unicode-ci-cpanel/29939906#29939906

Restore Database Plesk Oynx – Linux command line

Thursday, May 4th, 2017

1- plesk db  databasename < databasename.sql

or

2- mysql -uadmin -p”`cat /etc/psa/.psa.shadow`” databasename < databasename.sql

Find and Replace in Linux

Thursday, May 4th, 2017
sed -i 's/original/new/g' file.txt

  • sed = Stream EDitor
  • -i = in-place (i.e. save back to the original file)
  • The command string:
    • s = the substitute command
    • original = a regular expression describing the word to replace (or just the word itself)
    • new = the text to replace it with
    • g = global (i.e. replace all and not just the first occurrence)
  • file.txt = the file name