Some mathematical ideas

Recently I have been looking for work due to the failure of my businesses. One of my interests among many is abstract mathematics, and lately I have been encouraged to write more about some of the mathematical expressions of the square root of -1 and their geometrical and equational counterparts and how they relate to sub space field theory and various other topics that are of interest. I guess I can add this to my portfolio. Now, I have hundreds of diagrams like this lying around, perhaps they will be of use for someone else who wants to calculate event horizon vertices from the square root of -1 and beyond.

To those unfamiliar with the art of quantum electrodynamics I am investigated several temporal phenomenon that exist within spatial sequences of flat space in relation to the granularity of compositional ‘3 and 4dimensional space’. I’m not really sure how to put some of my more advanced ideas into maths or language, so hopefully it is received with a ‘best effort’ for semblance award by anyone forgiving enough to take the time to look at it.

I wanted to provide countour splice planes of 1 dimensional images that comprise 3 dimensional spatial phenomenon. I start by exploring it’s application to some more conventional ideas about m-verse theory. I wanted to concentrate mainly on how these contours might explain visible light in associated quantum intervals, boundaries or zones and how various intervals are responsible for visible light in a nervous system. For example I can write music indefinitely, and utilised a few of those ‘routines’ in creating this mathematics to elaborate a bit more about it.

Of course it is all well and good learning to divide or fold sub-space fields in the imaginary contour plane, and overriding granularity theory, but it’s not much good unless you develop some kind of sub-space language for the quantum node interval structure. I provide some very rough ideas how 4 quadrant universal theory could be applied in the electrical dimensional and spatial time sense for the application of a sub space navigational computer of some kind.

It’s probably too far fetched to catch on yet but watch this space. I predicted netflix when divx was still a 3.11 alpha development project. Some of us, new what the technology for a new future was, but not of all us had money or human beings to trust to achieve our goals. and our goals might not be the same as regular human beings with their memory stores of morality and righteousness, perhaps a computer application to model the development of cellular genetic particle physic wave guide collapse functions on how intelligence comes about may prove useful to exploring the subject further? I have my doubts.

What is a black hole, stargate or ‘event horizon’ anyway? Well, if such an increasingly hypothetical phenomenon or cross-rift counterspatial tear in what we consider ordinary temporal spatial phenomenon that collapse over the heisenberg wave-‘force’ function you could be in luck, I wanted to look carefully at this, and in the following work (unpublished) that will follow this a glyph particle physics quantum electrical genetic determinator (a mathematical language of probabilistic function) may allow the mapping of entire square root of -1 (imaginary) species and their genetic counterparts. Theoretically such an application alows the infinite modeling of spatial genetic and temporal intelligence. This could predict I suppose why in other work why my imaginary spatial divisions of granular space seem to show what look like human brain wave patterns, although the brain and its cross divergent and convergent products in evolutionary systems is far far abstracted from the particles and waves that create the possibilities of the properties of matter, and therefore their intricate organs and cellular pathways, divisions and adaptations, and the emphasis is on probability, its not unlikely to find, even in far away abstracted functions of squart of -1 (imaginary numbers) and pi/2 phi (the velocity of genetic growth loosely), to find ‘human brainwaves’ under the seat of the particle wave functions that made them up.

I do not expect my work will be understood for a long time, and, for various what could be obvious reasons have generally not been very public or encouraging of myself or my own theories or publications on the matter. It seems quite interesting to me, so, perhaps it will seem quite interesting to somebody else. I think the problem with mathematics, physics and evolutionary beings in general in this present day is a lot to do with people misunderstanding that products are generally considered, in all scientific realms, to be emergent products of the things that make them up. This means that the ideas and applications of physics theories and mathematical algorithms are determined by what we know, and what we don’t know.

Although this idea is scientific, well known, and generally feasible to understand for even a small child. Adults and most mathematicians fail to understand what they have been taught, i.e. the circumstances of their mathematical thought is the greatest contributing disruption to their producing of great works of mathematics or music (heir music, indefinite music etc etc). Had they looked in these places I was unfortunately cursed with as an autistic individual, they’d see that n probabilities could even be applied to human behaviour to create a probabilistic theory on consciousness and intelligence, which could be useful in the study of crime, or the understanding that crime is only a mathematical ignorance of probability (for victim, criminal and the society). Were these probabilities better understood, or in other words, if people understood that they were products of eachother and their parts, they’d have came to my conclusions that this opinion draws in mathematical sequence theory and heisenberg uncertainty principle, at least when applied to certain ideas in genetic, sub space warp theory and quantum electrical dynamics.

Since the dimensionalities of sub space event horizons are complex, strange and unusual, and consider these are only 1 layed planes , poor representations of 3d, 4d and beyond granularities and their sub space sheets ‘or vertices’, we could expect many of these images placed upon eachother, like an MRI machine that had been converted to use light instead of magnetism, and indeed, projected at 90 degrees much like an oldschool OHP takes a sheet of educational film over it to produce an imageat a given temporal and spatial angle. Except my invention utilises multiple space sheet euclidia, and non euclidian geometria, and creates some new principles of mathematica to consider when looking at multi layed temporal granularity theories. The ideas and equations are quite complex and not something you would find in ordinary mathematical text books, probably, again this comes from the circumstances at which they were created. I estimate applying my theory that a human being that produces work, like autistic individuals but far different, who is entirely empty of every other right and wrong opinion about mathematics, art, poetry and engineering etc would be able to produce works that were not reliant on anything but the wheelwork itself. In many respects then a man who is completely undisturbed is a kind of superman because he understood that societies beliefs , whether true or false were the real creators of variation, and limiting factors in the emergent cross product of evolutionary / revolutionary idea. This could be represented as an electrical equation where the ‘human resistance’ represented the ohmic voltage of a given ‘idea’ or ‘current’.

A simple idea presented by a great man nikola tesla a century ago, but in my opinion at least man has made small strides to understanding the velocity of an electrical wave as given by tesla to to be pi/2 C, let alone its probabilistic wave particle counterparts! In the next series I investigate a lot more g^2 and f^3 and how their dimensionalities relate in sub space zone-intervals.

Utilising PHP GD to Draw Polygon Plot Images and turning them into an animation w/ffmpeg

As my excercises and fun investigation into the neural interface and cosmic OS, a simple probabilistic language synthesis methodology based on the ancient chinese ideas of divination and the iching. The concepts of the number of variations for data, like the possible encoding of a CD as 2^58 probably be enough to represent nearly any sound a human artist could produce audibly to the human ear. In this case we’re going to be utilising the cryptographic random function to provide start and end point co-ordinates on the x and y axis for our polygon.. In this case each polygon drawn has 4 points and are redrawn onto the same $image object. But, meh, you could generate an indeterminite number of points randomly in a single polygon call, this way the draw is continuous. Though, over about 250 xy co-ordinate points you can’t see much else.

<?php
$x = 1920; $y = 1080;
$image=imagecreatetruecolor($x, $y);
$white= imagecolorallocatealpha($image, 255, 255, 255, 75);
// Draw the polygon

// generate random image co-ordinates for polygon

for ($f=0; $f <=250; $f++) {

$i = rand(0,1920);
$i2 = rand (0,1080);

$j = rand(0,1920);
$j2 = rand(0,1080);

$k = rand(0,1920);
$k2 = rand(0,1080);

$l = rand(0,1920);
$l2 = rand(0,1080);


imagepolygon($image, array(
        $i, $i2,
        $j, $j2,
        $k, $k2,
        $l, $l2
), 4, $white);



}


header('Content-type: image/png');
ImagePNG($image);
ImageDestroy($image);
?>

Like before we utilise the handy program I have developed for cosmic OS to create an imageset that we can turn into an animation with ffmpeg video multiplexing.


#!/bin/bash
#generate tha images

count=1000
for i in $(seq $count)
do
       php polygon2.php > images/img"$i".png;
done

I was really satisfied with this demonstration, although a simple principle the possibilities for the simulation utilising ML and AI are really great, and utilising a php renderer, is, frankly, acceptable. So the ‘frontend’ is potentially missing a more powerful AI backend, but all of the principles are pretty well established. Generative art, is really really neat, and PHP can be a simple and powerful tool when used to do the right stuff.

ffmpeg -framerate 30 -pattern_type glob -i '*.png' -c:v libx264 -pix_fmt yuv420p out.mp4

Programatically Generating a m3u Playlist

There are many reasons why you might want to create a m3u playlist. Although, I created this snippet for two reasons. I wanted to create, in pursuit of a better interface for machine learning and artificial intelligent consciousness, a way to randomise, and potentially utilise a quantum neural interface for video segmenting. The process utilises an old process called mystical divination, and effectively works by utilising the heisenberg wave function, and the quantum electrical probabilistic system that is associated with feynbergs Q.E.D. In reality it just uses the RAND function of the computer to generate a not totally random entropy, or a partially ordered random string which is then used to select segments of video. One could see how such construction would be important in the utilisation of machine learning, a neural interface, or any other probabilistic machine learning algorithm that was data and probability dependent.

There are probably a lot more opportunities for this method than the simple program depicts, and the sky is really the limit. Certainly in terms of reprocessing and recursive video processing, this is a very interesting subordinate as a fractally recursive application of generative and randomized video could provide creative avenues for machine learning and conscious electrical dynamic probabilistic systems for years to come. Although I have excited many mathematicians at my claims at creating brainwaves from the square root of -1 and an arbitrary robotic electrical voice which, can be used in a working neural interface already published and created by myself thru solomon books and the tesla society UK, much work needs to be done to ‘commercialise’ the idea. The present apparatus of the human condition is wantonly wasteful and is not currently compatible with these autistic rants of tesla and bull.

#!/bin/bash
# simple script to play random x segments of 5 seconds in length of a file. 
# shuf needs adjusting dynamically for different file lengths but i didnt have time to write an
# interface for ffmpeg to pass to my software to dynamically programatically generate it etc etc.
# still a really cool idea, used recursively it could produce many neural interface 'reflections'.
# when combined with a generative video accelerator / AI consciousness.
# effectively neuro feedback between generative and discriminating artificial intelligence
# a 'growing' generative discriminator is the holy grail of AI ML.

SECONDS=5
TIMESLICE=$(shuf -i 100-1000 -n 1)
rm playlist.m3u

echo "#EXTVLCOPT:start-time=$TIMESLICE" > playlist.m3u
TIMESLICE2=$(($TIMESLICE+$SECONDS))
echo "#EXTVLCOPT:stop-time=$TIMESLICE2" >> playlist.m3u
echo "videofile.webm" >> playlist.m3u
vlc playlist.m3u

Generating Images using GD Library in PHP and creating a batch video multiplexer for it with ffmpeg

Over the last few years I’ve been quietly working on a new operating system called Cosmic OS with several interesting aspects of generative intelligence and artificial consciousness. One of my experiments led to me using PHP and the PHP GD Image Library to create a set of images of random noise. These frames would then be taken by another multiplexer video application like FFmpeg and turn them into something meaningful.

&amp;amp;amp;lt;?php
$Width = 1024;
$Height = 768;

$Image = imagecreatetruecolor($Width, $Height);
for($Row = 1; $Row &amp;amp;amp;lt;= $Height; $Row++) {
    for($Column = 1; $Column &amp;amp;amp;lt;= $Width; $Column++) {
        $Red = mt_rand(0,255);
        $Green = mt_rand(0,255);
        $Blue = mt_rand(0,255);
        $Colour = imagecolorallocate ($Image, $Red , $Green, $Blue);
        imagesetpixel($Image,$Column - 1 , $Row - 1, $Colour);
    }
}

header('Content-type: image/png');
imagepng($Image);
?&amp;amp;amp;gt;
After ensuring it is making the expected images by running
php createrandomnoiseimage.php

As you can see the PHP GD Library is really awesome, and powerful to produce these kind of images. I’m uising an epic E5-2698 which has 16 cores and can produce one of these images every second. If I was to write a script, I could fork 16 processes at a time by backgrounding them and count the successful_executions() for each running batch command, allowing me to fork the php script to utilise the full cpu resources of the hardware for the application, which is cpu based. With some mucking around in torchvision, the same could be achieved via a gpu ASIC based solution.

#!/bin/bash
#generate tha images

count=1000
for i in $(seq $count)
do
	php test2.php &amp;amp;gt; images/img&amp;amp;quot;$i&amp;amp;quot;.png;
done

I am pretty satisfied at the nice set of images this gives me.

I thought I would be fancy and setup an /images listing path in nginx server. So, if I have my app running at the backend, any of my users could view the progress via the DirectoryIndex listing of the images folder to which the php program outputs the images to. Alternatively I could write another backend application that generated the necessary HTML to provide a ‘status page’ or similar for how the batch jobs are progressing. This is a typical pipeline process you’d expect to see in any professional organisation for the purpose of users checking and monitoring batches of work, and for basic opportunity for secondary applications by utilising modular design and microservice methodologies etc etc.

Notice importantly $uri/ which is necessary for the autoindex on function to work. You can set autoindex off for the location / and you will not need to toggle $uri/ if autoindex isnt used in other paths.

location /images 
{
      index  index.html index.htm index.php;
      try_files $uri $uri/ /index.php?$query_string;
      autoindex on;
}

Putting it all together

Now you’ve generated the images and got a way to produce batches and potentially monitor them, we multiplex the video frames into the moving stream.

ffmpeg -framerate 30 -pattern_type glob -i '*.png'   -c:v libx264 -pix_fmt yuv420p output.mp4

The mp4 file is indeed a merger of all the screenshots programatically generated by the php-gd library into a moving sequence. This shows how powerful modular software can really be in terms of creating workflow and independent processes. In a real system some kind of database and transactional system could be used which updates the database each time a job was run, and use a mutex to ensure that any job that doesn’t finish is flaggable with a different toggle flag to prevent errors or unexpected job incompletion. Though, that goes a bit beyond the scope of this little tutorial I hope it is useful to someone.

About Cosmic OS and the Future

Cosmic OS utilises a lot of geometric data which is necessary for any serious neural interface or quantum probabilistic interface. I’ve been working hard behind the scenes to achieve this task, although must admit that the technology is a little bit ahead of it’s time. It would be necessary to re-engineer the way that pipelines work in hardware and unix systems to properly improve upon the theories elucidated by Cosmic OS. Many of which utilise convergent quantum probabilistic concepts, and recursive creative geometric and mathematical order functions, some engineering of the basic compiler and hardware would probably be necessary in order to create a computer that produces art and music like a human being.

This investigation into AI, ML and programmatic interfaces, in reference to game theory and quantum electrical systems has been a passion of mine for over a decade, and although the example is simple, do not underestimate the power of such a methodology of working. One day, it will be a commonplace thing for every computer user.

The Impossible Universal Sound Visual Interface

The reason why no universal interface exists, and the square root of minus one isn’t yet used for the development of pipelines and artificially intelligently created hardware and software, is because only such technology has recently become available which makes it mathematically viable to probabilistically represent geometrically the brainwaves of a conscious entity or system without the reliance of real data alone, instead a proper ‘genetic’ programmatic model can be applied which effectively allows all possibilities to be calculated. For example all of the possible 1920×1080 images that can be created, or all of the possible CD or DVD’s that can be created, allows such an approach to produce all music and art ever created, or ever will be created.

Therefore, this study and researches it not to be underestimated, except the models and computer power of man which solely and inadequately fail to properly reach the heights necessary to find 2 to the power of 58 combinations. Ultimately artistic music and drawings is more variable and requires more numerical space than the number of atoms as pixels can be represented in the currently visible universe. A difficult and almost incomprehensible fact, inspires the continuation and the spirit of these writings and musings, and the veritable technology for a new future which is inevitable as its consequence.

This software may provide only a little insight , but to any interested, inspired or enlightened party, it should be more than enough to provide a backdrop to the researches.

Compiling Ravencoin sgminer branch for x16r algorithm on ethOS

So, I was asked by a friend to compile some software for him using: https://github.com/aceneun/sgminer-gm-x16r/releases

I have to say that users branch was exactly that ‘aceneun’.

In the end I thought I’d goto the source so reached out to the raven developer of this branch:
https://github.com/brian112358/sgminer-x16r

It’s a tough time compiling in EthOS because it’s all weird, and it required extra depedancies do an apt-cache search for the extra dev libs, namely:

sudo apt-get install ocl-icd-opencl-dev it has a lot of dependancies and in ethos:

sudo apt-get-ubuntu install ocl-icd-opencl-dev

Upgrading all those packages seems not to break anything in my EthOS anyway. Now on to compiling brians branch of sgminer for the X16r algorithm.

Download repo:

git clone https://github.com/brian112358/sgminer-x16r

Prepare for compilation && checkout the dev branch && run make prepare

cd sgminer-x16r
git checkout dev

git submodule update --init --recursive
./autogen.sh

Then finally, we finish with :

CFLAGS="-Os -Wall -march=native -I/opt/AMDAPPSDK-3.0/include" LDFLAGS="-L/opt/amdgpu-pro/lib/x86_64-linux-gnu" ./configure --disable-git-version --disable-adl --prefix=/opt/sgminer-5.5.5

Finally run make to compile the software

make

You dont have to install it but you can like

make install

Make a proper file for our configs:

vi mylauncher.sh
[bash]
#!/bin/bash

export GPU_FORCE_64BIT_PTR=1
export GPU_MAX_HEAP_SIZE=100
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_ALLOC_PERCENT=100
export GPU_SINGLE_ALLOC_PERCENT=100



ADDRESS="RBFthisiswhereyourravencoinaddressgoes"
POOL="stratum+tcp://miningpanda.site:3666"
PASSWORD="x"
INTENSITY="19"

./sgminer -k x16r -o $POOL -u $ADDRESS -p $PASSWORD -I $INTENSITY

chmod +x mylauncher.sh
./mylauncher.sh

A very simple task and as an avid proponent of ravencoin!

Compiling Ravencoin sgminer branch for x16r algorithm on ethOS

So, I was asked by a friend to compile some software for him using: https://github.com/aceneun/sgminer-gm-x16r/releases

I have to say that users branch was exactly that ‘aceneun’.

In the end I thought I’d goto the source so reached out to the raven developer of this branch:
https://github.com/brian112358/sgminer-x16r

It’s a tough time compiling in EthOS because it’s all weird, and it required extra depedancies do an apt-cache search for the extra dev libs, namely:

sudo apt-get install ocl-icd-opencl-dev it has a lot of dependancies and in ethos:

sudo apt-get-ubuntu install ocl-icd-opencl-dev

Upgrading all those packages seems not to break anything in my EthOS anyway. Now on to compiling brians branch of sgminer for the X16r algorithm.

Download repo:

git clone https://github.com/brian112358/sgminer-x16r

Prepare for compilation && checkout the dev branch && run make prepare

cd sgminer-x16r
git checkout dev

git submodule update --init --recursive
./autogen.sh

Then finally, we finish with :

CFLAGS="-Os -Wall -march=native -I/opt/AMDAPPSDK-3.0/include" LDFLAGS="-L/opt/amdgpu-pro/lib/x86_64-linux-gnu" ./configure --disable-git-version --disable-adl --prefix=/opt/sgminer-5.5.5

Finally run make to compile the software

make

You dont have to install it but you can like

make install

Make a proper file for our configs:

vi mylauncher.sh
[bash]
#!/bin/bash

export GPU_FORCE_64BIT_PTR=1
export GPU_MAX_HEAP_SIZE=100
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_ALLOC_PERCENT=100
export GPU_SINGLE_ALLOC_PERCENT=100



ADDRESS="RBFthisiswhereyourravencoinaddressgoes"
POOL="stratum+tcp://miningpanda.site:3666"
PASSWORD="x"
INTENSITY="19"

./sgminer -k x16r -o $POOL -u $ADDRESS -p $PASSWORD -I $INTENSITY

chmod +x mylauncher.sh
./mylauncher.sh

A very simple task and as an avid proponent of ravencoin!

Diagnosing a sick website getting 500,000 to 1 million views a day

So today I had a customer that had some woes. I don’t even think they were aware they were getting 504’s but I had to come up with some novel ways to

A) show them where teh failure happened
B) Show them the failed pages that failed to load (i.e. get a 504 gateway timeout)
C) show them the number of requests and how they changed based on the day of the outage, and a ‘regular normal’ day.
D) show them specific type of pages which are failing to give better idea of where the failure was

In this case a lot of the failures were .html pages, so it could be a cache was being triggered too much, it could be that their application was really inefficient, or in many cases, were catalog search requests which no doubt would scratch the db pretty nastily if the database or the query wasn’t refactored or designed with scalability in mind.

With all that in mind I explained to the customer, even the most worrysome (or woesome) of applications and frameworks, and even the most grizzly of expensive MySQL queries can be combatted, simply by a more adaptable or advanced cache mechanism. Anyway, all of that out of the way, I said to them it’s important to understand the nature of the problem with the application, since in their case were getting a load average of over 600.

I don’t have their solution,. I have the solution to showing them the problem. Enter the sysad, blazing armour, etc etc. Well, thats the way it’s _supposed_ to happen !

cat /var/log/httpd/access_log | grep '26/Mar' | grep 'HTTP/1.1" 50' | wc -l
26081

cat /var/log/httpd/access_log | grep '27/Mar' | grep 'HTTP/1.1" 50' | wc -l
2

So we can see 504’s the day before wasn’t an issue, but how many requests did the site get for each day comparatively?

[root@anon-WEB1 httpd]# cat access_log | grep '26/Mar' | wc -l
437598
[root@anon-WEB1 httpd]# cat access_log | grep '25/Mar' | wc -l
339445

The box received 25% more traffic, but even based from the figures in the SAR, cpuload had gone up 1500% beyond what the 32 cores on their server could do. Crazy. It must be because requests are getting queued or rather ‘building up’, and there are so many requests reaching apache, hitting the request for mysql, that either mysql formed a bottleneck and might need more memory, or, at this scale, a larger or smaller (probably larger) sized packet for the request, this can speed up significantly how fast the memory bucket fills and empties, and request queue gets killed. Allowing it to build up is going to be a disaster, because it will mean not just slow queries get a 504 gateway timeout, but also normal requests to regular html pages too (or even cached pages), since at that stage the cpu is completely overwhelmed.

I wrote a script,

to find a majority of the 504’s for the 26 Mar you can use this piece:

cat access_log | grep '26/Mar' | grep 'HTTP/1.1" 50' | awk {'print $7'}

to generate a unique list for your developer/team of pages which failed you can run:

cat access_log | grep '26/Mar' | grep 'HTTP/1.1" 50' | awk {'print $7'} | sort | uniq

To be honest. In the simplicity of this post somewhere, is a stroke of inspiration (if not ingenuity). Also it’s kind of hacky and crap, but, it does work and it is effective for doing the job.

AND that is What counts.

Fixing phpmyadmin, Connection for controluser as defined in your configuration failed.

This happens when the phpmyadmin package is installed, but for some reason or another the automation the package manager and phpmyadmin have for setting up the phpmyadmin user, and phpmyadmin database doesn’t properly use the table schema from /usr/share. Here is the process of fixing this error for those that get it.

Create a database called phpmyadmin

create database phpmyadmin;

You can actually call the database anything as long as you remember what you changed it to later.

Create a database user

MariaDB [(none)]> GRANT ALL PRIVILEGES ON phpmyadmin.* to phpmyadmin@localhost identified by 'AVERYSECUREpasswordgoeshere98123123sdabcsd123' ;
Query OK, 0 rows affected (0.00 sec)

Locate the create_tables.sql file copied by the package manager (or zip if installing from source)


[root@linuxbox phpMyAdmin]# find /usr/share | grep create_table
/usr/share/phpMyAdmin/sql/create_tables.sql
/usr/share/phpMyAdmin/sql/create_tables_drizzle.sql
/usr/share/phpMyAdmin/libraries/display_create_table.lib.php
/usr/share/phpMyAdmin/test/libraries/PMA_display_create_table_test.php

Import the database schema

# Check the file is correct
[root@wlinuxbox---wp phpMyAdmin]# vi /usr/share/phpMyAdmin/sql/create_tables.sql

# Import it
[root@wlinuxbox wp phpMyAdmin]# mysql -u root -p < /usr/share/phpMyAdmin/sql/create_tables.sql
Enter password:

Afterwards you will need to make phpmyadmin aware of the creds in /etc/phpMyAdmin/config.inc.php

vi /etc/phpMyAdmin/confing.inc.php

Confirm your changes

[root@wd-linux-8---wp phpMyAdmin]# cat /etc/phpMyAdmin/config.inc.php | grep -A3 phpmyadmin
 * wiki <http://wiki.phpmyadmin.net>.
 */

/*
--
$cfg['Servers'][$i]['controluser']   = 'phpmyadmin';          // MySQL control user settings
                                                    // (this user must have read-only
$cfg['Servers'][$i]['controlpass']   = 'AVERYSECUREpasswordgoeshere98123123sdabcsd123';          // access to the "mysql/user"

$cfg['Servers'][$i]['pmadb']         = 'phpmyadmin'

Your work is done, and that pesky error is gone now phpmyadmin has it’s DB. This tutorial has been a long time coming as I see this all the time.

Adding a User with Sudo Access using visudo

Use the command visudo to access the /etc/sudoers file.

visudo

Uncomment this line:

## Allows people in group wheel to run all commands
# %wheel        ALL=(ALL)       ALL

So it looks like:

## Allows people in group wheel to run all commands
 %wheel        ALL=(ALL)       ALL

Save the file then

Run this command for your user

usermod -aG wheel usernameforsudoaccesshere

Your done.

But test it

su usernamewithsudoaccess
sudo yum history

Any root only command is a good enough test for this. The command should run succesfully after re-providing your users password for sudo access.

Disable/Enable TLS v1.0 v1.1 and v1.2 for plesk

This actually applies to any website, but is specifically aimed at plesk. Today a customer had complained that we’d disabled both tls 1 and 1.1, they wanted 1.1 for compatibility in the meantime, so it requires doing 1 of 2 things.

plesk bin server_pref -u -ssl-protocols 'TLSv1.1 TLSv1.2'

Or alternatively it can be done directly from within the conf.d ssl.conf for plesk in /etc/httpd/conf.d/ssl.conf, this also applies to httpd users not using plesk.

[root@888426-WEB3 ~]# cat /etc/httpd/conf.d/ssl.conf | grep TLS
#SSLProtocol +TLSv1 +TLSv1.1 +TLSv1.2
##     This exports the standard SSL/TLS related `SSL_*' environment variables.
##   The safe and default but still SSL/TLS standard compliant shutdown
##     the SSL/TLS standard but is needed for some brain-dead browsers. Use
##     alert of the client. This is 100% SSL/TLS standard compliant, but in
SSLProtocol +TLSv1.1 +TLSv1.2

A pretty simple operation here.