fbpx

Home

English for IT Professionals

Hello, my name is Andrew and I live in Australia. Please post your comments, and essays for correction, in the red rectangle below. Click on the Menu above to read or download free basic grammar books and free English lessons.

Our topic for today, Thursday the seventeenth of January, 2019.

Installing Mojave on a Hackintosh and configuring SSL.

My existing webserver is a Hackintosh build running El Capitan 10.11.6 with Server.app 5.2. There are presently three websites and one FTP. The websites are all HTTPS, using Letsencrypt certificates. The server is working fine and has been for many years, however I decided to upgrade to Mojave as hopefully, Mojave will provide improved security now and in the future, for example the version of PHP in El Capitan (5.5x) is very old and a security risk.

For Mojave I constructed another Hackintosh using similar hardware and installed Mojave 10.14.2, by following the excellent guide at: https://www.tonymacx86.com. The Mojave version of Server.app no longer supports websites, so I had to completely remove all trace of Server.app and setup an Apache web server from scratch.

To setup an Apache server I followed the basics of Andy Miller’s three excellent guides https://getgrav.org/blog/macos-mojave-apache-multiple-php-versions
Although the guides are for installing a development server running on localhost, I actually needed a backup webserver, fully upgraded to eventually take the place of an existing webserver.

This was further complicated as I needed to configure and test the replacement server online and in parallel with the exisiting server, using the same router and external static IP. The exisiting server runs on port 443 using Server.app and Letsencrypt. The new Mojave server will (temporarily) need to run on port 444 using Apache and Letsencrypt. As Letsencrypt will only validate over port 80 I will have to briefly shutdown my existing server and reconfigure the replacement Mojave server to run on port 80 during the validation process and certificate generation.

Notes:
1. Using a test domain andrew113.com, I setup DNS using DNSEver.com so that andrew113.com resolves to my router external static IP address.
2. Apache has a main configuration file at: /usr/local/etc/httpd/httpd.conf
My test website is at: /users/username/sites/andrew113.com
3. There are two other configuration files that need to be called from httpd.conf: Virtual Hosts and SSL. You end up with three large files that you have to shuffle between, using terminal, each file is full of clutter and code that you may never use. I found it to be an extremely laborious process, so I decided to minimise and combine all three files into one easy to read file. My consolidated httpd.conf is now less than 130 lines of code, most of which are the LoadModule choices.
4. The key elements of my simplified httpd.conf are:
Listen 80
Listen 443
Listen 444
ServerName Mojave
SSLPassPhraseDialog builtin
SSLSessionCache shmcb:/var/cache/mod_ssl/scache(512000)
SSLSessionCacheTimeout 300
SSLRandomSeed startup file:/dev/urandom 256
SSLRandomSeed connect builtin
SSLCryptoDevice builtin


<Directory /users/username/Sites/andrew113>
Options Indexes FollowSymLinks
AllowOverride all
Require all granted
</Directory>
#
<VirtualHost _default_:444>
DocumentRoot "/users/username/sites/andrew113"
ServerName Mojave
SSLEngine on
SSLProtocol all -SSLv2
SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW    
SSLCertificateFile /etc/letsencrypt/archive/andrew113.com/fullchain9.pem
SSLCertificateKeyFile /etc/letsencrypt/archive/andrew113.com/privkey9.pem
<Files ~ "\.(cgi|shtml|phtml|php3?)$">
    SSLOptions +StdEnvVars
</Files>
<Directory "/var/www/cgi-bin">
    SSLOptions +StdEnvVars
</Directory>
#
SetEnvIf User-Agent ".*MSIE.*" \
         nokeepalive ssl-unclean-shutdown \
         downgrade-1.0 force-response-1.0
</VirtualHost>

You can find the test Mojave server at: https://andrew113.com:444

image_pdfimage_print

1141

avatar
2500
newest oldest
Asad
Asad

Sir Kindly check it, correct or not.
1. We all swum at the beach yesterday.
2. They had not enough feed for their cattle.
3. They are needed some help.
4. The perfume is for you and your sister.
5. My Father has laid in bed all day.

Andrew McKean
Andrew McKean

1. We all swam at the beach yesterday. (Swum is the past participle form of swim. It is used to make perfect tenses.)
2. They had scarcely enough feed for their cattle. (Scarcely is a negative word and hence it is wrong to use not with it.)
3. They needed some help.
4. The perfume is for your sister and you.
5. My father has lain in bed all day.

Myo Latt Aung
Myo Latt Aung

I’m myo latt aung. I am studying english. I want to improve my skill. so I believe you that you can help my skill to improve. Because I am working at INGO. Especially I am working fianace department. So I must to improve eng skill. I wanna work at Intetnational level. That is my hoping and that is why I am learning and study hard.

Abdullahi ahmed mohamed
Abdullahi ahmed mohamed

The first conversation is about two people are planning to go party,they ask what they buy the shopping before go to party so female committ shipping list.

Second conversation is about vacation.they share them selves how the holiday was and if they have photos in thier smart phone, aman told how he adducted smartphones

Hadi achir
Hadi achir

Hello… Greeting from Indonesia..
My name Hadi achir, I am Interested to learn English so bad. But I have many problem with it, in writing, translating, and the most in speaking and listening..
Could you give me some advices how to improve my English skill?

Monica
Monica

1. They are planning Birthday on Friday and the husband is going to buy some meats also breads.
2. We are addicted media by smart phone. It cause us to lack sleep. We should be careful from dump phone.

QM
QM

Andrew.. You are great, everyone wants money for their essay correction services, but you do it for free! What a nice move! Advice me something about to improve my speaking, because I’m not good at speaking, particularly stopping smattering

Adnankhan
Adnankhan

What should I write here.i am trying to write.How to strong my vocabulary and writing.In reality the words try to mesmerize but forgot afte….Tell me the way how to my develop vocabulary r some time.

Andrew McKean
Andrew McKean

Adnankhan,

Here are some simple tips:

1. Your first sentence is a question so it should end with a question mark.

What should I write here?

2. Insert a single space after a full stop or a question mark.
3. Capitalise the first person pronoun ‘I’.

What should I write here? I am trying to write.

4. Strong – improve:

What should I write here? I am trying to write. How do I improve my vocabulary and writing?

5. Spelling: remember

In reality I try to remember the words, but I forget them afterwards.

6. Avoid sms texting abbreviations such as u, r, ur etc.

What should I write here? I am trying to write. How do I improve my vocabulary and writing? In reality I try to remember the words, but I forget them afterwards. Tell me how to develop my vocabulary, when you have some spare time.

Read or download the free English lessons, especially ‘The Ten Simple Tips’. English lessons.

Haitam
Haitam

Task 2 IELTS writing

In the recent years , there has been an increase trend of amount of garbage (rubbish) on the street. What is the causes of this issue and what could be done to solve this problem.

Among the various problems facing today’s world , garbage is one  that has tremendously increased over the past years . This essay will approach some of its many reasons and what should be done to tackle this issue.

There is no doubt that rubbish has increased which is contributed to many causes . The disregard people have for recycling is one of the major reasons , those individuals lack the motive to recycle and do not see the harm. Also, the increased level of consumerism of citizens of industrialised countries in particular ,  people devolope  an    urge to buy thing they do not necessarily need hence having more things to dispose of .
In addition , lettering is an annoying  habit which  increases levels of trash especially when people have not been  deterred by governments to end this   .

These issues could be mitigated if certain measures were taken.  A penalty or a small fine should be demanded from citizens who letter  ,or community service to repeated offenders this will show people not to take littering lightly.another approach is to  Increase level of awareness by local committees for recycling , this will ensure that more people are involved in recycling and this will decrease    garbage , also if individuals have been
Offered incentives by the government or local green groups this will act as an encouragement and possibly diminish trash levels. For example, a study that has been published by the Newyorker showed that not only was the level of trash decreased but also people have brought their  friends and neighbours to participate in recycling  when offered as small  incentive as 5 dollars a week  .

In conclusion , alarming increased level of trash would see a drastic fall if people and governments work together.

Could you correct it please and give me a feedback and possible band score

Andrew McKean
Andrew McKean

A reading test for today, Friday the twenty-third of November. Five questions:

Q1 Who is Theresa May?
Q2 What is Brexit?
Q3 What did the European Council say?
Q4 What is the agreed date for the UK’s exit?
Q5 What did the PM tell the MP’s?

Theresa May has hailed the draft agreement on post-Brexit relations as “right for the whole of the UK” and insisted a deal “is within our grasp”.

The political declaration – outlining how UK-EU trade, security and other issues will work – has been “agreed in principle”, the European Council says.

London and Brussels have already agreed the draft terms of the UK’s exit from the EU on 29 March 2019.

The prime minister told MPs it would deliver the Brexit people voted for.

Abdiwahid abukar
Abdiwahid abukar

Zaynab
La première conversation : il s’agit d’un couple qui parle de shopping, stock de la maison et un stock prévu spécialement pour une fête comme beurre, vinaigre, …. Et la deuxième conversation parle d’une publicité concernant le dumbphone l’opposé du Smart phone dans un dialogue entre 2 journalistes