mywiki:linux:ubuntu
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| mywiki:linux:ubuntu [2015/03/25 20:26] – [Configure Twiki] shaoguoh | mywiki:linux:ubuntu [2020/08/09 16:10] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| How to Setup Ubuntu for PPA automation (based on Ubunut 14.04.1) | How to Setup Ubuntu for PPA automation (based on Ubunut 14.04.1) | ||
| - | | Reference | [[Vmplayer]] | | + | | Reference | [[Vmplayer]] | [[Office Linux maintenance]] | [[Ubuntu 16.04]] | |
| - | ====== | + | ====== |
| + | $ sudo apt-get update | ||
| + | |||
| + | $ sudo apt-get install update-manager-core | ||
| + | |||
| + | $ sudo do-release-upgrade -d | ||
| + | |||
| + | ====== PPA Ubuntu template with basic applications/ | ||
| ===== apt-get proxy configure ===== | ===== apt-get proxy configure ===== | ||
| Line 104: | Line 111: | ||
| ==== configuration ===== | ==== configuration ===== | ||
| + | If need samba support softlinked folders, below configuration is needed: | ||
| + | < | ||
| + | [global] | ||
| + | allow insecure wide links = yes | ||
| + | [share] | ||
| + | follow symlinks = yes | ||
| + | wide links = yes | ||
| + | |||
| + | </ | ||
| ===== twiki installation and support ===== | ===== twiki installation and support ===== | ||
| Line 150: | Line 166: | ||
| - | ====== Disable Network Manager | + | ===== Disable Network Manager |
| | Network Manager Configuration File | / | | Network Manager Configuration File | / | ||
| | Network interface configuration file | / | | Network interface configuration file | / | ||
| - | ===== Partial Disable Network Manager | + | ==== Partial Disable Network Manager |
| Since any interface not listed in / | Since any interface not listed in / | ||
| Line 169: | Line 185: | ||
| </ | </ | ||
| - | ===== Fully Disable Network Manager | + | ==== Fully Disable Network Manager |
| sudo service network-manager stop | sudo service network-manager stop | ||
| sudo service network-manager start | sudo service network-manager start | ||
| - | ===== Totally Remove Network Manager | + | ==== Totally Remove Network Manager ==== |
| sudo apt-get remove network-manager | sudo apt-get remove network-manager | ||
| - | ===== meld ===== | + | ===== Compare Tools ===== |
| + | ==== meld ==== | ||
| install linux compare tool meld: | install linux compare tool meld: | ||
| sudo apt-get install meld | sudo apt-get install meld | ||
| - | ===== beyond compare | + | ==== beyond compare ==== |
| sudo apt-get update | sudo apt-get update | ||
| Line 191: | Line 208: | ||
| - | ===== apache2 / httpd ===== | + | ===== apache2 / httpd / |
| sudo apt-get install apache2 | sudo apt-get install apache2 | ||
| Line 199: | Line 216: | ||
| sudo a2enmod cgi | sudo a2enmod cgi | ||
| sudo service apache2 restart | sudo service apache2 restart | ||
| - | ==== Configure apache | + | |
| + | ==== Upgrade TWIKI to new version ==== | ||
| + | === Preparation | ||
| * Mount 2nd virtual machine (data disk only) | * Mount 2nd virtual machine (data disk only) | ||
| Line 219: | Line 238: | ||
| sudo service apache2 restart | sudo service apache2 restart | ||
| - | ==== install new Twiki ==== | + | === install new Twiki === |
| Install new TWIKI and make it works | Install new TWIKI and make it works | ||
| Line 236: | Line 255: | ||
| | | ||
| - | ==== Copy old Twiki content to new TWIKI ==== | + | === Copy old Twiki content to new TWIKI === |
| sudo cp / | sudo cp / | ||
| Line 252: | Line 271: | ||
| Enable the conf.d directory created by you for twiki.conf file in apache2.conf file. | Enable the conf.d directory created by you for twiki.conf file in apache2.conf file. | ||
| + | ==== WebSVN ==== | ||
| + | [[WebSvn|WebSvn Setup]] | ||
| ====== issues ====== | ====== issues ====== | ||
| - | ===== Issue 1 ===== | + | ===== Issue 1 network not stable |
| * If there are multiple network interfaces, partially or fully disable network manager seems not work, it always some strange behavior happen: for example, after ubuntu bootup, access ubuntu 14.04 via ssh/ftp will fail/ | * If there are multiple network interfaces, partially or fully disable network manager seems not work, it always some strange behavior happen: for example, after ubuntu bootup, access ubuntu 14.04 via ssh/ftp will fail/ | ||
| * Virtunal machine' | * Virtunal machine' | ||
| - | Fixing: install vmware tools | + | Fixing: install vmware tools: |
| + | sudo apt-get install open-vm-tools | ||
| + | |||
| + | |||
| + | ===== Issue 2 static dns ===== | ||
| + | content in / | ||
| + | |||
| + | sudo vim / | ||
| + | |||
| + | Then put your nameserver list in like so: | ||
| + | |||
| + | * nameserver 8.8.8.8 | ||
| + | * nameserver 8.8.4.4 | ||
| + | |||
| + | Finally update resolvconf: | ||
| + | sudo resolvconf -u | ||
| + | |||
mywiki/linux/ubuntu.1427286404.txt.gz · Last modified: (external edit)
