This article is clearly explained, how to install MySqli with EachApache. This works for me too. To install mysqli using EachApache: Login to WHM as 'root' user. Windows Getting the Dependency. Emgu CV use WCF(Windows Communication Foundation) therefore requires.Net 3.0; For Version 3.0+, the required vcrt dlls are included.
This tutorial shows how you can install an Apache webserver on a CentOS 7 server with PHP support (mod_php) and MySQL support. LAMP is short for Linux, Apache, MySQL. Linux System Administration and Configuration After installation, Linux requires configuration and systems administration. Corporate systems need monitoring, backups.
Put the fun back into computing. Use Linux, BSD. The launch of Ubuntu was first announced in September 2. Although a relative newcomer to the Linux distribution scene, the project took off like no other before, with its mailing lists soon filled in with discussions by eager users and enthusiastic developers. In the years that followed, Ubuntu grew to become the most popular desktop Linux distribution and has greatly contributed towards developing an easy- to- use and free desktop operating system that can compete well with any proprietary ones available on the market.
What was the reason for Ubuntu's stunning success? Firstly, the project was created by Mark Shuttleworth, a charismatic South African multimillionaire, a former Debian developer and the world's second space tourist, whose company, the Isle of Man- based Canonical Ltd, is currently financing the project. Secondly, Ubuntu had learned from the mistakes of other similar projects and avoided them from the start - it created an excellent web- based infrastructure with a Wiki- style documentation, creative bug- reporting facility, and professional approach to the end users. And thirdly, thanks to its wealthy founder, Ubuntu was able to ship free CDs to all interested users, thus contributing to the rapid spread of the distribution. On the technical side of things, Ubuntu is based on Debian "Sid" (unstable branch), but with some prominent packages, such as GNOME, Firefox and Libre. Office, updated to their latest versions.
It uses a custom user interface called "Unity". It has a predictable, 6- month release schedule, with an occasional Long Term Support (LTS) release that is supported with security updates for 5 years, depending on the edition (non- LTS release are supported for 9 months). Other special features of Ubuntu include an installable live DVD, creative artwork and desktop themes, migration assistant for Windows users, support for the latest technologies, such as 3. D desktop effects, easy installation of proprietary device drivers for ATI and NVIDIA graphics cards and wireless networking, and on- demand support for non- free or patent- encumbered media codecs. Pros: Fixed release cycle and support period; long- term support (LTS) variants with 5 years of security updates; novice- friendly; wealth of documentation, both official and user- contributed. Cons: Lacks compatibility with Debian; frequent major changes tend to drive some users away, the Unity user interface has been criticised as being more suitable for mobile devices than desktop computers; non- LTS releases come with only 9 months of security support.
Software package management: Advanced Package Tool (APT) using DEB packages. Available variants: Ubuntu, Kubuntu, Xubuntu, Lubuntu, Ubuntu GNOME, Ubuntu MATE, Edubuntu, Ubuntu Kylin, Ubuntu Studio and Mythbuntu for 3. Suggested Ubuntu- based alternatives: Linux Mint (desktop), elementary OS (desktop), Zorin OS (desktop), Pinguy OS (desktop), Trisquel GNU/Linux (free software), Bodhi Linux (desktop with Enlightenment)Ubuntu.
Install, Secure, Access and Configure Linux Mail Server. If you want to send or receive an email, you should have a mail server. In this post, we will discuss Linux mail server and how the SMTP (Simple Mail Transfer Protocol) works as well as other mail- related protocols, like Post Office Protocol (POP) and Internet Message Access Protocol (IMAP) and the relationship between them.
Linux SMTP Server. SMTP defines how a mail is sent from one host to another, it is also system independent, which means the sender and receiver can have different operating systems. SMTP requires only that a server is able to send straight ASCII text to another server, and this is done by connecting to the server on port 2.
SMTP port. Most Linux distros today are shipped with two of the most common implementations of SMTP which are sendmail and Postfix. Sendmail is a famous and free mail server, but it has a little complex design and less secure. The Postfix took mail server implementation one step further, it was developed with security in mind. Mail Service Components. The mail service on any mail server has three components: Mail user agent (MUA): this component that the user sees and interacts with like Thunderbird and Microsoft Outlook, these user agents are responsible for reading mail and allowing you to compose mail. Mail transport agent (MTA): this component is responsible for getting the mail from one site to another like Sendmail and Postfix. Mail delivery agent (MDA): this component is responsible for distributing received messages on the local machine to the appropriate user mailbox like postfix- maildrop and Procmail.
Setup Email Server. We chose Postfix mail server, which is very popular and common between system administrators today. Postfix is the default mail server on most modern Linux distros. First, check if it is installed on your system or not: $rpm- qa|grep postfix.
If not installed, you can install Postfix mail server on Red Hat based distros like this: $dnf- yinstall postfix. Then start the postfix service and enable it on system startup. On Debian based distros like Ubuntu, you can install it like this: $apt- get- yinstall postfix. You will be prompted to select your Postfix mail server configuration type during the installation process.
Among the four choices No configuration, Internet site, Internet with smarthost, Satellite system and Local only, we will choose No configuration option. Configure Linux Mail Server. After installing the Postfix mail server, you will need to configure it, most of its configuration files can be found under the /etc/postfix/ directory.
You can find the main configuration for Postfix mail server in /etc/postfix/main. This file contains a lot of options like: myhostname. This option is used for specifying the hostname of the mail server.
This is the Internet hostname which Postfix will receive emails on it. The hostnames could be like mail. It is written like this: myhostname=mail. This option is the mail domain that you will be servicing, like example. The syntax is like this: mydomain=example. All emails sent from this mail server will look as though it came from this option. You can set this to $mydomain value.
You can use any option value, just precede it with a $ like $mydomain. This option lists the domains that the Postfix server uses for incoming emails. It can take values like this: mydestination=$myhostname,localhost.$mydomain,$mydomain,mail.$mydomain,www.$mydomainmail_spool_directory. There are two modes of delivery that Postfix mail server can use: Directly to a user’s mailbox. To a central spool directory, this way, the mail will be in /var/spool/mail with a file for each user. This option allows you to configure what servers can relay through your Postfix server.
This option should take local addresses like local mail scripts on your server only. Otherwise, spammers can utilize your mail server to relay their messages and your mail server blacklisted and as a result, you will not be able to receive many emails. This option has the following syntax: mynetworks=1. This variable sets the message that is sent when the client after successful connection. It is better to change the banner to something that doesn’t give an indication about the server you are using. This option specifies the IP protocol version used for server connections.
If you change the configuration files for Postfix mail server, you need to reload the service: $systemctl reload postfix. When you type any configuration, you may make a mistake, you can check for errors using the following command: $postfix check. This tool will help you find exactly the line and the error so you can fix it. Checking the Mail Queue. Sometimes the mail queues on your system are filled up. This can be caused by many reasons like network failure or any reason that can delay mail delivery. To check the mail queue on your Linux mail server, use the following command: $mailq.
This command shows the Postfix mail queue. If your queue is filled up and the message takes several hours to be sent, then you should flush the mail queue.$postfix flush. Now, if you check your mail queue you should find it empty. Test Linux Mail Server. After configuring Postfix mail server correctly, you should test your mail server.
The first step is to use a local mail user agent like mailx or mail which is a symlink to mailx. Try to send a mail to someone else on the same server, if this works, then send to a remote site.$echo"This is message body"|mailx- s"This is Subject"- r"likegeeks< likegeeks@example. Then try to receive a mail from a remote site. If you have any problems, check the logs. The log file on Red Hat based distros in /var/log/maillog file and on Debian based distros in /var/log/mail. I recommend you to review the Linux Syslog Server for a detailed explanation about logs and how to configure the rsyslogd. If you still have problems, try checking your DNS settings and check your MX records using Linux network commands.
Secure Mail Boxes From Spam Using Spam. Assassin. One of the ways to fight spam is to scan the mailboxes by some tool, searching for certain patterns associated with spam. One of the best solutions is Spam. Assassin, which is open- source. You can install it like this: $dnf- yinstall spamassassin. Then start the service and enable it at startup.
Once you’ve installed it, you can check the configuration in /etc/mail/spamassassin/local. Spam. Assassin determines if an email is spam or not based on the result of the different scripts scores. If the message has a higher score, that means a higher possibility of the mail being spam. In the configuration file, the parameter required_hits 5 indicates that Spam. Assassin will mark an email as spam if its score is five or higher. The report_safe option takes the values 0, 1, or 2. If set to 0 means email marked as spam is sent as it is, only modifying the headers to show that it is spam.
If it takes the value 1 or 2, a new report message is generated by Spam. Assassin and sent to the recipient. If the value is 1, that means the spam message is coded as content message/rfc.
The text/plain is safer since some mail clients execute message/rfc. Now we need to integrate it into postfix. The simplest way to do this is probably by using procmail.
We’ll have to create a file, named /etc/procmailrc, and add the following content: Then we edit Postfix configuration file /etc/postfix/main. Finally, restart Postfix and Spam. Assassin services. However, Spam. Assassin sometimes does not recognize spam messages, that led to mailboxes filled with spam messages. Fortunately, you can filter messages before they enter the Postfix server using Realtime Blackhole Lists (RBLs). That will decrease the load on your mail server and keep your mail server clean.
Open the configuration file of postfix server /etc/postfix/main. Then restart your postfix server: $systemctl restart postfix. The above RBLs are the common ones, you can find more lists on the web and try them. Securing SMTP Connection. It is better to transfer your SMTP traffic over TLS to protect it from being modified in the middle. First, we need to generate the certificate and the key using openssl command.
Then add the following option to Postfix configuration file /etc/postfix/main. Finally, restart your postfix service: $systemctl restart postfix. Now, you have to choose the TLS on your client when connecting to the server. You will receive a warning when you send a mail the first time after changing the setting because of the certificate is not signed.