UPWORK/ODESK guru: Tips and Tricks for clients

skype: upwork.link , email: [email protected]

Archive for November, 2013

Protected: Forcing a hard disk to reallocate bad sectors

without comments

This content is password protected. To view it please enter your password below:

Written by spectre

November 26th, 2013 at 2:31 pm

Posted in Arrays and Disks

Protected: Postfix before Plesk

without comments

This content is password protected. To view it please enter your password below:

Written by spectre

November 26th, 2013 at 1:50 pm

Posted in Plesk FUCK

Intel Raid Controller RS2BL040 Slow Performance – BBU problems.

without comments

Just for the record:

When BBU is not exists, the default cache policy is no cache. So, forcing it to use even BBU not present helped in that case the fsync value goes up to above 3000. There are still lower fsync values and jumping speed values, but now these are much better than before.
Summary: BBU is recommended using a system like this.

Read the rest of this entry »

Written by spectre

November 22nd, 2013 at 2:32 pm

ConfigServer Services firewall installation guide for Plesk

without comments

Config Server Firewall (csf) and Login Failure Daemon (lfd) is a robust firewall solution having Stateful Packet Inspection (SPI), Login/Intrusion Detection and Security application for Linux servers. Although it is more compatible with CPanel we have been able to use the same for the Plesk hosting control panel also and it is running fine.

Read the rest of this entry »

Written by spectre

November 21st, 2013 at 11:23 pm

Posted in Tips and Tricks

Add user to Webmin through command line of terminal.

without comments

They have to be a system user.

vim /etc/webmin/miniserv.users

looks like:

Read the rest of this entry »

Written by spectre

November 20th, 2013 at 11:40 am

Posted in webmin hacks

Switch 1and1 dedicated server default IP from DHCP to static

without comments

Apparently, out-of-the-box 1and1 dedicated server – at least the CentOS 6 64 bit minimal configuration – comes with dynamic server IP address. Yes, I know! Pretty stupid and confusing, an oxymoron by itself. But a fact.

Read the rest of this entry »

Written by spectre

November 19th, 2013 at 2:22 am

Posted in Tips and Tricks

How to get the sizes of the tables of a mysql database.

without comments

You can use this query :

mysql> select table_name as 'Table', round(((data_length + index_length) / 1024 / 1024), 2) "Size in MB"
from information_schema.tables where table_schema = 'database' and table_name = 'log';
+----------+------------+
| Table    | Size in MB |
+----------+------------+
| log      |    2357.02 |
+----------+------------+
1 row in set (0.00 sec)

mysql> 

Read the rest of this entry »

Written by spectre

November 18th, 2013 at 11:34 am

Posted in Mysql

Facking Plesk – last step of real Linux

without comments

Below are notes about fucking with Plesk …

Read the rest of this entry »

Written by spectre

November 14th, 2013 at 8:44 pm

Align partitions for best performance using parted

without comments

There are two common problems when creating partitions in Linux on big storage arrays. The first is easy, and the warning message from fdisk is a bit of a giveaway:

WARNING: The size of this disk is 8.0 TB (7970004230144 bytes).
DOS partition table format can not be used on drives for volumes
larger than (2199023255040 bytes) for 512-byte sectors. Use parted(1) and GUID 
partition table format (GPT).

Read the rest of this entry »

Written by spectre

November 4th, 2013 at 2:31 pm

Email notifications from Redmine with sendmail of exim.

without comments

[email protected] [~/]# cat config/configuration.yml | egrep -A 6 '^default'
default:
  # Outgoing emails configuration (see examples above)
  email_delivery:
    delivery_method: :sendmail
    sendmail_settings:
      location: /usr/sbin/sendmail
      arguments: ""
[email protected] [~/]# 

Written by spectre

November 2nd, 2013 at 2:46 pm