2022年4月15日 星期五

[Docker][Redmine 5.0] How to use docker to use redmine

Pull docker image first. docker pull sameersbn/redmine:5.0.0 Download “docker-compose-sqlite3.yml”:https://github.com/sameersbn/docker-redmine/blob/master/docker-compose-sqlite3.yml Following command will start redmine by using docker sudo docker-compose up Following command can login into above container docker exec -it “Container” /bin/bash How to reset the docker This command will let docker...

2020年11月13日 星期五

[Archlinux][ntp] How to execute ntp after reboot automatically

To do this in systemd, you can run systemctl -a | grep ntp to see if ntpdate is enabled. To enable it is just run systemctl enable ntpdate Ref : " How to make ntpd synchronized immediately after reboot?":https://stackoverflow.com/questions/22768194/how-to-make-ntpd-synchronized-immediately-after-reb...

2020年10月26日 星期一

[redmine][bitnami] How to virtualbox to build redmine quickly

Download ova (virtualbox image) from bitnami webpage Start ova at virtualbox INSTALL SQLITE3 GEM FOR RUBY gem install sqlite3-ruby disable bundle deployment mode. bundle install --no-deployment Start to configure the environment settings. 5-1. Set sqlite database cd REDMINE CONFIGURE DATABASE echo “production:” > config/database.yml && echo " adapter: sqlite3" >> config/database.yml...

[Virtualbox] Installing Virtualbox on Arch Linux

sudo pacman -S virtualbox virtualbox-guest-iso Add the current user to the vboxusers group sudo gpasswd -a $USERS vboxusers Load the virtualbox kernel module using the command sudo modprobe vboxdrv install extension package yay -Syy Following is how to install yay git clone https://aur.archlinux.org/yay.git cd yay/ makepkg -si yay -S virtualbox-ext-oracle enable vboxweb sudo systemctl enable vboxweb.service sudo...

2020年10月25日 星期日

[Virtualbox] Kerner module

1. Decompress linux source code to "/lib/modules/5.8.10-arch1-1/build" tar xvf /home/haha/Downloads/linux-5.8.10.tar.xz -C /lib/modules/5.8.10-arch1-1/build 2. Jump to /lib/modules/5.8.10-arch1-1/build copy all file which under linux-5.8.10 to under build mv linux-5.8.10/* . 3. Go to /lib/modules/5.8.10-arch1-1/build modify UTS_RELEASE in Makefile echo \#define UTS_RELEASE \"$(KERNELVERSION)\";...

2020年9月27日 星期日

How to make PKGBUILD from AUR repository

How to make PKGBUILD from AUR repository Download snapshot from AUR repository execute makepkg If have error happen, then install corresponding package. then makepkg again System start to compile packageExecute make -si to install package after compiler finish Ref Arch User Reposit...

2020年8月20日 星期四