Ubuntu Setup for web developper
Content:
- Ubuntu Partition expansion
- Apache2 https settings
- Ubuntu 20.04 For Let's Note: Brightness setting with Fn+F1/F2.
- Open /etc/default/grub
- GRUB_CMDLINE_LINUX_DEFAULT="acpi_backlight=video acpi_osi=!!"
- $sudo update-grub
- Use openvpn3 on Ubuntu 18.04.
- Speed up Ubuntu 18.04
- Some useful Tips.
- SSH via openvpn on Android Device.
- mount casper-rw by $ sudo mount -o loop /media/casper-rw /tmp/casper/
- Ubuntu 18.04. Window Manager restarts by ALT+F2 and then r and ENTER.
- Ubuntu 14.04. Workspace switcher freezes: it is "unfreezed" by ALT+ESC.
- 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.
- Ubuntu 14.04LTS installation disk on 4GB Toshiba pendrive.
How I reached this solution. I have made try and errors.
- Backup windows Recovery partition /dev/sdc1 and install ubuntu in the partition
- ubuntu on PenDrive
- 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.
- I am now using the installation pendrive without installing
Ubuntu. At least it is working except Japanese language installation.
- 18.04 LTS and 16.04 LTS: install on pendrive
Both took 5 hours to intall. Installation disk runs stable and
fast. However,
- 18.04 LTS failed install a couple of times. Is it not stalbe,
although it is called a stable edition.
- 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.)
- ubuntu setup quick reminder for myself
automatic install: apache2, emacs, subversion, ssh-server.
automatic setup for apache2.
- 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.
- 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.
- It should be performed in a various environment, i.e. basically
any shared computer, if bootable from a pendrive.
History of my attempts:
- 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.
- 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