How to , and other stuff about linux, photo, php … A linux, photography blog. To remember some linux situation, and fix them quickly.

August 26, 2016

How to scroll bottom down or top in linux mc

Filed under: Linux — Tags: , , , , , — admin @ 10:06 am

Well  I try t lot like in other editor ctrl+home or ctrl+end but is not working

In mc to scroll down or top you have to alt +> or  alt +<

August 5, 2016

hotmail ip delisting

Filed under: Linux — Tags: , , , , — admin @ 9:07 am

Well first of all you need to enroll into  the snds program .

https://postmaster.live.com/snds/JMRP.aspx

 

And after you believe that all stuff on server are ok then you send a request to

https://support.microsoft.com/en-us/getsupport?oaspworkflow=start_1.0.0.0&wfname=capsub&productkey=edfsmsbl3&ccsid=635688189955348624&wa=wsignin1.0

May 23, 2016

qmail with plesk

Filed under: Linux — Tags: , , , , — admin @ 2:47 pm

Some short commands

List out all messages currently in queue by running:
/var/qmail/bin/qmail-qread
Count the number of messages in the queue currently by running:
/var/qmail/bin/qmail-qstat

Delete all mails from queue

/usr/local/psa/admin/sbin/mailqueuemng -D

 

March 25, 2016

Download java with wget

Filed under: Linux — Tags: , , — admin @ 12:44 pm

Well to download java using wget  you can do like this

wget --no-check-certificate --no-cookies --header \ 
"Cookie: oraclelicense=accept-securebackup-cookie"  \
http://download.oracle.com/otn-pub/java/jdk/8u73-b02/jdk-8u73-linux-x64.rpm

March 21, 2016

letsencrypt plesk problem

Filed under: Linux — Tags: , , — admin @ 4:58 pm

Well today a new problem.

I have try to install the letsencrypt  module on a plesk centos 6 server . That have python 2.6 and you will get a warning I think that is not working with python2.6 but the problem is other module.

The error’s look something like this

Fehler: Fehler bei der Installation des SSL-Zertifikats von Let’s Encrypt: Failed letsencrypt execution: /usr/local/psa/var/modules/letsencrypt/venv.gUBSl/lib/python2.6/site-packages/cryptography/__init__.py:25: DeprecationWarning: Python 2.6 is no longer supported by the Python core team, please upgrade your Python.

DeprecationWarning

Traceback (most recent call last):

File &quot;/usr/local/psa/var/modules/letsencrypt/venv/bin/letsencrypt&quot;, line 11, in &lt;module&gt;

sys.exit(main())

File &quot;/usr/local/psa/var/modules/letsencrypt/venv.gUBSl/lib/python2.6/site-packages/letsencrypt/cli.py&quot;, line 1950, in main

plugins = plugins_disco.PluginsRegistry.find_all()

File &quot;/usr/local/psa/var/modules/letsencrypt/venv.gUBSl/lib/python2.6/site-packages/letsencrypt/plugins/disco.py&quot;, line 168, in find_all

plugin_ep = PluginEntryPoint(entry_point)

File &quot;/usr/local/psa/var/modules/letsencrypt/venv.gUBSl/lib/python2.6/site-packages/letsencrypt/plugins/disco.py&quot;, line 31, in __init__

self.plugin_cls = entry_point.load()

File &quot;/usr/local/psa/var/modules/letsencrypt/venv.gUBSl/lib/python2.6/site-packages/pkg_resources/__init__.py&quot;, line 2201, in load

self.require(*args, **kwargs)

File &quot;/usr/local/psa/var/modules/letsencrypt/venv.gUBSl/lib/python2.6/site-packages/pkg_resources/__init__.py&quot;, line 2218, in require

items = working_set.resolve(reqs, env, installer)

File &quot;/usr/local/psa/var/modules/letsencrypt/venv.gUBSl/lib/python2.6/site-packages/pkg_resources/__init__.py&quot;, line 835, in resolve

raise VersionConflict(dist, req).with_context(dependent_req)

ContextualVersionConflict: (cryptography 1.1 (/usr/local/psa/var/modules/letsencrypt/venv.gUBSl/lib/python2.6/site-packages), Requirement.parse(‘cryptography&gt;=1.3’), set([‘PyOpenSSL’]))

 

The problem actually is the crypthography module.

So the fix is

cd /usr/local/psa/var/modules/letsencrypt/venv/bin

./pip install –upgrade cryptography

« Newer PostsOlder Posts »

Powered by WordPress