UPWORK/ODESK guru: Tips and Tricks for clients

skype: odesk.by / upwork.link , email: [email protected]/upwork.link

Archive for December, 2013

Installation SuPHP/phpSuExec on Apache server with Plesk extension.

without comments

SuPHP Or PHPSuExec is a module that increases the security of the server and executes PHP files under the ownership of the owner of the file instead of the Apache user i.e. “apache”.

Read the rest of this entry »

Written by spectre

December 30th, 2013 at 12:29 pm

Posted in Php,Plesk FUCK

Generate a self-signed SSL certificate with subjectAlternateName extension

without comments

It’s often useful to create self-signed SSL certificates for testing or when you don’t need the authentication that CA signing provides. I started with Akadia’s handy tutorial on self-signing here: http://www.akadia.com/services/ssh_test_certificate.html.

Read the rest of this entry »

Written by spectre

December 30th, 2013 at 12:39 am

Posted in SSL

View the details of a certificate signing request with openssL

without comments

openssl req -in request.csr -noout -text

Written by spectre

December 30th, 2013 at 12:26 am

Posted in SSL

Openssl certificate decoder in command line

without comments

openssl x509 -in certificate.crt -text -noout

Written by spectre

December 30th, 2013 at 12:07 am

Posted in SSL

How to turn off php safe_mode off for a particular directory in a shared hosting environment?

without comments

Your service provider might have forgot to tell you that you need to enable your user defined php.ini configuration by adding this line in the .htaccess file that you find in your public_html folder:

Read the rest of this entry »

Written by spectre

December 23rd, 2013 at 9:53 pm

Posted in Php

Tips: execute shell commands in php on Linux server

without comments

Php has multiple functions to do this task. Lets take a look at each of these

1. system

Read the rest of this entry »

Written by spectre

December 16th, 2013 at 4:38 pm

Posted in Php

Exim: usefull commands 2

without comments

Message-IDs and spool files

The message-IDs that Exim uses to refer to messages in its queue are mixed-case alpha-numeric, and take the form of: XXXXXX-YYYYYY-ZZ. Most commands related to managing the queue and logging use these message-ids.

Read the rest of this entry »

Written by spectre

December 12th, 2013 at 9:40 am

Posted in Exim4

Disable or Enable crontab for specific user on Linux server

without comments

Most of the people use cron for scheduling tasks on hourly or daily basis. It is one of the very best tool which gives system administrators a lot of relief as computer can do their work when they are miles away from their systems.

Enabling/Disabling the cron for specific user is something which is not used by every person but could be useful for the system administrators or people who would like to put some restrictions on services which a normal user can use in a system.

Read the rest of this entry »

Written by spectre

December 10th, 2013 at 12:15 pm

Posted in Tips and Tricks

Migrate mysql users to another server

without comments

As a general rule, however, do not copy the mysql system schema from one server to another. As a consequence, and as far as I know, there is no “standard” way of copying users and user privileges from one server to another.

Read the rest of this entry »

Written by spectre

December 8th, 2013 at 5:53 pm

Posted in Mysql

Areca RAID Controller set password

without comments

There is cli64 tool which allow you to set different parameters, but don’t expect your first experience with that tool to be easy.

Read the rest of this entry »

Written by spectre

December 7th, 2013 at 5:50 pm

Posted in Tips and Tricks