未加星标

Host your own Trello style Kanban board for Free

字体大小 | |
[系统(linux) 所属分类 系统(linux) | 发布者 店小二03 | 时间 2016 | 作者 红领巾 ] 0人收藏点击收藏

Kanban board like Trello have become pretty popular for managing projects. They are simple to understand and easy to use. But finding one that looks decent, works well, at a decent price can be difficult. Last year I setup one internally using the open source Wekan .

Someone recently posted a Virtualbox image for Wekcan, but I prefer to use KVM and usually promote its usage. So I thought I would put together a similar how-to using a Proxmox KVM server. With the Proxmox distribution you can easily setup your own KVM server that performs as well as, or better than in some cases, VMWare for FREE. If you prefer a GUI interface the one included with Proxmox is fantastic and will be immediately familiar to anyone who has used Virtualbox or VMWare. If you are like me and prefer to do things from the command line, all of that functionality is included and works normally as well. Overall it is an excellent product, especially if you are just starting to dip your toes into virtualization.

So, before we begin, you’ll need the following:

A working Proxmox KVM server (If you have a regular KVM server you most likely know how to create a new guest VM so you can follow along) An internal IP address to assign to your new server An Ubuntu 14.04.x ISO image Approximately 8GB of disk space and 2GB RAM Creating the Virtual Machine (VM)

The first thing we need to do is build the virtual machine and install the base operating system. So, browse to your Proxmox console and click Create VM. The wizard will start and ask you for a few pieces of information. Select the node, choose a VM ID or let the wizard select one, and enter a name for the new VM and click next.


Host your own Trello style Kanban board for Free

Choose “linux 4.x/3.x/2.6 Kernel” type and click next.


Host your own Trello style Kanban board for Free

Use the drop down to choose the Ubuntu 14.04.x ISO image and click next.


Host your own Trello style Kanban board for Free

Select VirtIO from the drop down as the Bus/Device. Select the storage location if you have more than one. Enter 8 for the disk size in GB. Select RAW as the format. If you are using SSD based storage check the Discard box then click next.


Host your own Trello style Kanban board for Free

Select 2 for the number of coresandclick next.


Host your own Trello style Kanban board for Free

Select the radio button for “Automatically allocate…” thenenter 2048 for the maximumand 512 for the minimum and click next.


Host your own Trello style Kanban board for Free

For the network choose VirtIO from the drop down as the model and click next.


Host your own Trello style Kanban board for Free

Review the final page and click Finish. Once the system has finished creating the virtual machine select it from the list on the left. Click Start in the upper right corner. Then click Console.


Host your own Trello style Kanban board for Free

Follow the prompts to install the Ubuntu server. In most cases you will want to simply choose the default offered, except on the “Software to Install” page where you will only want to select the OpenSSH-Server.


Host your own Trello style Kanban board for Free

Once the system has rebooted login. You will need to change your IP address and install the Qemu Agents. In the example below I set the IP address of the server to 192.168.1.111 on a /24 network, set the default gateway to 192.168.1.1 and entered the IP for two DNS servers.

sudo apt update
sudo apt install qemu-guest-agent
sudo nano -w /etc/network/interface
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.111/24
gateway 192.168.1.1
dns-nameservers 192.168.1.53 192.168.200.53
sudo shutdown -h now

Once that is completed select the Options “tab” at the top of the screen. Find the “Qemu Agent” option near the bottom and click edit. Check the Enabled box and click OK. Then start the VM again.


Host your own Trello style Kanban board for Free

If possible, add the name of the system system to DNS. There are many things you can do to improve the performance, and secure the system. If you already have a standard load configuration you setup using Ansible, Chef or some other configuration management system use that to finish the installation. Or, review some of the settings I suggested in the Magento Installation posts I started (and still have not finished) . Once you have finished optimizing and securing your system begin installing Docker.

Docker and Docker Compose Installation

To install Docker and Docker Compose SSH to your server and do the following:

sudo -i
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
nano /etc/apt/sources.list.d/docker.list
deb https://apt.dockerproject.org/repo ubuntu-trusty main
apt update
apt install docker-engine
usermod -aG docker yourusername
curl -L https://github.com/docker/compose/releases/download/1.8.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
update-rc.d docker defaults
exit

After you have done that SSH into the system again and run the following to verify Docker is installed and working.

docker run hello-world
docker version

You should get something like the following output


Host your own Trello style Kanban board for Free

Install Wekan and Apache

Now that we have Docker and Docker compose working lets install Wekan and Apache. Apache will work like a reverse proxy to connect your normal user HTTP traffic to the port Wekan is actually running on. You could use Nginx instead but to keep this simple I used Apache which most admins and developers are probably familiar with.Lets start by adding the Wekan user and creating the docker-compose file.

sudo useradd -d /home/wekan -m -s /bin/bash wekan
sudo usermod -aG docker wekan
sudo nano -w /home/wekan/docker-compose.yml

In this file enter the following. This will tell Docker we need the mquandalle/wekan and MongoDB images installed, the URL for the MongoDB, where to store the data for the MongoDB, the root URL for the Wekan site, and the ports it will listen on. I removed the options for email in the configuration, but you can easily re-add those later. Check the Wekan Installation Documentation Mail Server section for information on this. YAML is picky about spacing so be careful if making any changes.

wekan:
image: mquandalle/wekan
links:
- wekandb
environment:
- MONGO_URL=mongodb://wekandb/wekan
- ROOT_URL=http://wekan1:8081
ports:
- 8081:80
wekandb:
image: mongo
restart: always
volumes:
- /home/wekan/data:/data/db Now lets edit the default Apache2 site so it will connect to the We

本文系统(linux)相关术语:linux系统 鸟哥的linux私房菜 linux命令大全 linux操作系统

主题: DockerMongoDBUbuntuNginxLinux2G
分页:12
转载请注明
本文标题:Host your own Trello style Kanban board for Free
本站链接:http://www.codesec.net/view/480578.html
分享请点击:


1.凡CodeSecTeam转载的文章,均出自其它媒体或其他官网介绍,目的在于传递更多的信息,并不代表本站赞同其观点和其真实性负责;
2.转载的文章仅代表原创作者观点,与本站无关。其原创性以及文中陈述文字和内容未经本站证实,本站对该文以及其中全部或者部分内容、文字的真实性、完整性、及时性,不作出任何保证或承若;
3.如本站转载稿涉及版权等问题,请作者及时联系本站,我们会及时处理。
登录后可拥有收藏文章、关注作者等权限...
技术大类 技术大类 | 系统(linux) | 评论(0) | 阅读(34)