Ubuntu Setup for web developper


Content:
  1. Ubuntu Partition expansion
  2. Apache2 https settings
  3. Ubuntu 20.04 For Let's Note: Brightness setting with Fn+F1/F2.
    1. Open /etc/default/grub
    2. GRUB_CMDLINE_LINUX_DEFAULT="acpi_backlight=video acpi_osi=!!"
    3. $sudo update-grub
  4. Use openvpn3 on Ubuntu 18.04.
  5. Speed up Ubuntu 18.04
  6. Some useful Tips.
  7. quick setup for an environment of website developmentI built a website development environment so many time due to many errors above, I made a quick memo for myself and even I made a quick shell script for a quick setup for such an environment.
  8. Ubuntu 14.04LTS installation disk on 4GB Toshiba pendrive. How I reached this solution. I have made try and errors.
  9. Backup windows Recovery partition /dev/sdc1 and install ubuntu in the partition


  1. ubuntu on PenDrive
    1. I am developping this websites with ubuntu installed in pendrives. Everytime I lost pendrives, I need to install ubuntu on a new pendrive, thus I often install ubuntu on a pendrive.
    2. I am now using the installation pendrive without installing Ubuntu. At least it is working except Japanese language installation.
  2. 18.04 LTS and 16.04 LTS: install on pendrive
  3. Both took 5 hours to intall. Installation disk runs stable and fast. However,
    1. 18.04 LTS failed install a couple of times. Is it not stalbe, although it is called a stable edition.
    2. 16.04 LTS installed successfully. But it boots really slowly and runs unbearably slow.
    I installed the both system on the same USB pendrive. Maybe the problem is the pendrive, not the Ubuntu. I need to check which has the problem. update: I tried a couple of USB memories. Conclusion: all the same; sooner or later it becomes slow. (Toshiba 4GB one seems to run fast until disk space is consumed.)
  4. ubuntu setup quick reminder for myself
  5. automatic install: apache2, emacs, subversion, ssh-server. automatic setup for apache2.
  6. I just installed ubuntu 14.04 LTS again, this time, on external HDD. 230GB old one. install has been done in less than 10 mins, once you click "start install", after you made your partition table, which is much much faster than on a pendrive. It is like a magic. I wasted a long time for using pendrives... I am using old computers, but it is now very fast and comfortable. It should be like this, when you use a Linux distribution!!!

I have been using unix system for a website development. Here is an explanation for setting up a ubuntu system for a website development.

Here is my important requirement.

  1. Website development should be on a unix system; because I use apache2, subversion on ssh and emacs, which are quite unix origin and unix dependent.
  2. It should be performed in a various environment, i.e. basically any shared computer, if bootable from a pendrive.

History of my attempts:

  1. I mainly use shared computers. (I have my own laptop but the power is quite limited. When I am browsing on chrome and watching the medical lecutre, since I am a medical student, it becomes very slow. That is why I use two computers, one for medical study and the other for website development at the same time.
  2. A long time ago, I gave a try on VirtualBox, which turned out to be good. But I eventually found that it is a bit too slow.

I tried a pendrive installation of ubuntu. It worked quite fine as expected in the first run, which turned out to be a mere luck. Anyway this become a very good experience for me and decided to have a website development environment on a pendrive. It worked on my laptop computer and also some shared PCs, which are really good.

I chose a pendrive bootdable with ubuntu. It was not that easy, but I finally reached this solution; Ubuntu 14.04LTS installation disk on 4GB Toshiba pendrive.


Go back to Computer

20181124