Update : The offer seem no longer available.
I have to prepare for new class that required vps access. The class will teach unix based system like openbsd, freebsd, dragonfly bsd plus netbsd in 12 meets.
This class will be basic for devops but most important thing for me is my student can get full environment in every OS. Vps came to my mind and this March 2017 is really great since Vultr announce great news :
They double everything and they also provide ‘sanbox plan’ for beginner.
In nutshell you’ll get 1GB memory and 25Gb space vps on the OS you choose. SSD speed also superb :
dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 3.87756 s, 277 MB/s
For limited time Vultr offer free $20 that you can use for many things;
- Set git server using gitlab.
- Set up aws compatible cloud with minio
- Testing zfs latest FreeBSD 12 vs Hammer in dragonflybsd
- Tes mysql replicate while setting master in Germany Vps and mysql slave in Paris or Amsterdam.
Long time ago I’ll need $10 server to achieve that but now I just need $5 vps server /mo to get 1GB server which is awesome 🙂
I just spread the news to let others know and grab your free $20 by using this link.
Long live the queen!
Just quick note for myself when try Laravel Valet on macOS Sierra (10.12.2)
Install homebrew (if not installed) :
/usr/bin/ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”
Install PHP 7.1
brew link libpng
Linking /usr/local/Cellar/libpng/1.6.28… 18 symlinks created
brew install homebrew/php/php71
PHP 7.1.0 (cli) (built: Dec 2 2016 11:32:42) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.1.0-dev, Copyright (c) 1998-2016 Zend Technologies
brew install composer
composer global require laravel/valet
Add this line :
[nginx] is not installed, installing it now via Brew… ?
[dnsmasq] is not installed, installing it now via Brew… ?
Valet installed successfully!
Valet services have been started.
brew install mariadb
brew services start mariadb
In 1st part of this post I have very general setting for pure-ftp configured. In this post we’ll explore about testing functionality of this ftp server using simple auth plus how configure TLS section.
To test the server I need to add user. I used to use sysinstall for this purpose but since sysinstall no longer available on FreeBSD then I use bsdconfig.
From bsconfig manual :
bsdconfig is used to set up many system configuration settings, both for
new systems, as well as changing configuration settings of existing systems.
bsdconfig optionally takes a command as an argument. If invoked with no arguments,
it will bring up an interactive menu listing the available modules.
I like gui version so I type bsdconfig or you can use full path : /usr/sbin/bsdconfig
If not available you can install it.
# /usr/ports/sysutils/bsdconfig && make install
# pkg install bsdconfig
For pure-ftp purpose I need bsdconfig for add new user :
Choose “Login/Group Management”
In my last post I decide to investigate how to install wordpress on FreeBSD 10 (latest version of FreeBSD at the moment). I use two methods of installation; first using ports and second using pkg. After try it myself I prefer to use pkg for future deployment for following reason :
- Fast installation; you don’t have to wait for hours as you did with ports.
- More secure; you have binary package. No need for compiler stuff installed in my server.
Of course ports can supply you with so many different options with its dialog but as Michael W Lucas said, he prefer to do other job that pay his bills than watch compile process. Me too 🙂
Ok, back to wordpress. Last install is not complete one as I don’t see web server and database.
pkg info result
# pkg info
ca_root_nss-3.17.1 The root certificate bundle from the Mozilla Project
curl-7.38.0_2 Non-interactive tool to get files from FTP, GOPHER, HTTP(S) servers
freetype2-2.5.3_2 Free and portable TrueType font rendering engine
jpeg-8_5 IJG’s jpeg compression utilities
kbproto-1.0.6 KB extension headers
libICE-1.0.9,1 Inter Client Exchange library for X11
libSM-1.2.2_2,1 Session Management library for X11
libX11-1.6.2_2,1 X11 library
libXau-1.0.8_2 Authentication Protocol library for X11
libXaw-1.0.12_2,2 X Athena Widgets library
libXdmcp-1.1.1_2 X Display Manager Control Protocol library
libXext-1.3.2_2,1 X11 Extension library
libXmu-1.1.2_2,1 X Miscellaneous Utilities libraries
libXp-1.0.2_2,1 X print library
libXpm-3.5.11_2 X Pixmap library
libXt-1.1.4_2,1 X Toolkit library
libpthread-stubs-0.3_6 This library provides weak aliases for pthread functions
libxcb-1.10_2 The X protocol C-language Binding (XCB) library
libxml2-2.9.1_1 XML parser library for GNOME
pcre-8.35_1 Perl Compatible Regular Expressions library
php5-5.4.33_1 PHP Scripting Language
php5-curl-5.4.33_1 The curl shared extension for php
php5-gd-5.4.33_1 The gd shared extension for php
php5-mysql-5.4.33_1 The mysql shared extension for php
php5-tokenizer-5.4.33_1 The tokenizer shared extension for php
php5-xml-5.4.33_1 The xml shared extension for php
php5-zip-5.4.33_1 The zip shared extension for php
pkg-1.3.8_3 Package manager
png-1.5.18 Library for manipulating PNG images
printproto-1.0.5 Print extension headers
t1lib-5.1.2_4,1 Type 1 font rasterization library for Unix/X11
wordpress-4.0,1 State-of-the-art semantic personal publishing platform
xextproto-7.3.0 XExt extension headers
xproto-7.0.26 X11 protocol headers
Lets continue : Continue reading
As new standard introduced by management we start using private git using self hosted gitlab . Digitalocean give free $10 credit that allow us to use the server and feel the ‘taste’ of collaboration using git.
Due to varied operating system we use I decide to write installation steps for Windows user.
Get latest msysgit
Click here for latest version of msysgit