Editing your hosts file on a Mac

Found a new way to edit my hosts file while normally I would use vi this means that I can use TextEdit which sometimes is easier.

Open the Terminal:
Applications > Utilities > Terminial

Type the following and hit enter:
sudo open -e /etc/hosts

Or if you fancy vi then:
sudo vi /etc/hosts

How to run Banks

I just read this interesting piece on the New York Times website where due to the change in how the companies that work on Wall Street have changed their corporate structure has had massive effects on how they work but the bit that really stuck out was

When Goldman went public in 1999, unlike other firms it decided that a group of its 400 or so top executives would get paid not out of the firm’s revenues, but instead from the firm’s pretax profits. If the firm has no pretax profits in any given year, these executives get (only) their six-figure salaries, not the tens of millions in bonuses they count on.

As a result, the senior brass at Goldman is hyperfocused on making sure the firm is always profitable, and it always has been. This may very well be the precise reason that Goldman alone saw the brewing mortgage meltdown and did something about it.

When other firms were losing billions of dollars in 2007 as the mortgage market exploded, Goldman made $17.6 billion in pretax profits, one of its most profitable years ever, and its top three executives split around $200 million. You would think the rest of Wall Street would emulate Goldman’s approach to compensating its top executives. But it hasn’t.

It a good read if you have 10 mins - Opinionator: Make Wall Street Risk It All

A New Week

So the last day in September was my last day working for my employer - enough said.

So today after a weeks rest I begin my next journey, one that has been calling me for oh…14 years or so. I am going to start a web hosting company. Yep I know I am mad, everyone and their brother is doing it, already done it, already got the biggest and best company in the world. Yep I know, don’t care because I want one too - I want to know if I can make a living out of probably one of the toughest parts of the internet.

Now some people I have spoken to have said I need a niche, well I am not so sure that I do. I think that web hosting companies should not specialise in what they do except they should host the web - think about that for a second what does that mean, what does that take? Its a lot of things and different things all at the same time. They should not think that people or companies are all the same - everyone is different and they should not try and offer the same experience to everyone either as that is not going to fit. The trouble is that getting to this place where my hosting company can do all the things it should do for its customers is going to take time, lots of time. Why? Because only some of this exists and the rest needs to be created but today I am going to start out with something that really does not fit everyone and just get somewhere to prove that I can 1. do this myself and 2. it can earn enough money that I don’t need to get a job while it grows (that would be super boring!)

Hardware bought, datacenter picked, operating system chosen, hosting software purchased - time to pull it all together.

Enabling SSL in ProFTPD

If you need to enable SSL in ProFTPD, try this out:

1
2
3
4
5
6
7
<IfModule mod_tls.c>
TLSEngine on
TLSRequired off
TLSRSACertificateFile /etc/httpd/conf/ssl.crt/server.crt
TLSRSACertificateKeyFile /etc/httpd/conf/ssl.key/server.key
TLSVerifyClient off
</IfModule>

Proudly powered by Hexo and Theme by Hacker
© 2024 Sam Hamilton