Centos emesene-1.0.1

Source: Internet
Author: User
Tags gz file

It seems that this Linux is really troublesome. If it weren't for the Internet or Google, it could be difficult for me to be a newbie.

 

Download an emesene-1.0.1. try to download the emesene-1.0.1.tar.gz file, decompress it, and find install in the docs folder,

Or on Linux:
./Emesene

I will execute it. The result is as follows:

[Root @ localhost emesene-1.0.1] # Root
Bash: Root: Command not found

Go to Google,

Reference: http://www.songzi.org/blog/article.asp? Id = 666
I undestand the problem. You have to edit the controller. py file (Is In The emesene root folder ).
Find and comment or delete the next lines:

If OS. Name = 'posix' and OS. getuid () = 0:
Print "I refuse to run as root"
Return

Save the file.

In fact, you don't need to delete it. Just add a comment before the three rows:

# If OS. Name = 'posix' and OS. getuid () = 0:
# Print "I refuse to run as root"
# Return

Run "./emesene", OK.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.