User Tools

Site Tools


mywiki:linux:ubuntu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
mywiki:linux:ubuntu [2015/03/25 20:28] – [Fully Disable Network Manager] shaoguohmywiki: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]] |
  
-====== Basic Setup ======+====== Update ubuntu via apt-get ====== 
 +$ sudo apt-get update  
 + 
 +$ sudo apt-get install update-manager-core 
 + 
 +$ sudo do-release-upgrade -d 
 + 
 +====== PPA Ubuntu template with basic applications/servers  ======
 ===== apt-get proxy configure ===== ===== apt-get proxy configure =====
    
Line 104: Line 111:
  
 ==== configuration ===== ==== configuration =====
 +If need samba support softlinked folders, below configuration is needed:
  
 +<file>
 +[global]
 +allow insecure wide links = yes
  
 +[share]
 +follow symlinks = yes
 +wide links = yes
 +
 +</file>
 ===== twiki installation and support =====  ===== twiki installation and support ===== 
  
Line 177: Line 193:
 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 /TWIKI ===== 
 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 before install new Twiki ====+ 
 +==== Upgrade TWIKI to new version ====   
 +=== Preparation before install new Twiki ===
  
   * 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:
      $twikiLibPath = "/var/www/html/twiki/lib";      $twikiLibPath = "/var/www/html/twiki/lib";
            
-==== Copy old Twiki content to new TWIKI ====+=== Copy old Twiki content to new TWIKI ===
 sudo cp /xxx/old_twiki/data/xxx /var/www/twiki/ sudo cp /xxx/old_twiki/data/xxx /var/www/twiki/
  
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/refused, also ping the ubuntu is ok. But if we ping from ubuntu to outside PC, then ssh/ftp access works.   * 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/refused, also ping the ubuntu is ok. But if we ping from ubuntu to outside PC, then ssh/ftp access works.
   * Virtunal machine's windows size cannot be expanded, ie, only supported fixed windows size   * Virtunal machine's windows size cannot be expanded, ie, only supported fixed windows size
  
-Fixing: install vmware tools+Fixing: install vmware tools
 +   sudo apt-get install open-vm-tools 
 + 
 + 
 +===== Issue 2 static dns ===== 
 +content in /etc/resolv.conf will be auto overwritten. In order to support static DNS, need follow below instruction: 
 + 
 +   sudo vim /etc/resolvconf/resolv.conf.d/base 
 + 
 +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.1427286531.txt.gz · Last modified: (external edit)