Difference between revisions of "Desktop Setup - Manjaro XFCE 8.7.1"

From Vlsiwiki
Jump to: navigation, search
(Installing Manjaro XFCE 8.7.1 via Installation Wizard)
(1- Installing Manjaro XFCE 8.7.1 via Installation Wizard)
Line 25: Line 25:
 
* Right click on the largest partition (i.e. root) and mount is as '/'.  Click Forward.
 
* Right click on the largest partition (i.e. root) and mount is as '/'.  Click Forward.
 
* Note to install 'grub' in the /boot partition.
 
* Note to install 'grub' in the /boot partition.
 +
* '''Deselect''' Plymouth login manager. You should install a different login manager later, for instance Slim. 
 
* Review the summary of the changes you have made. And click on 'install'.  
 
* Review the summary of the changes you have made. And click on 'install'.  
 
* Installation wizard should complete as normal.
 
* Installation wizard should complete as normal.
 
NOTE: when partitioning the disk, make sure root and boot partitions are on one disk. Otherwise, you will not be able to boot from hard drive.
 
NOTE: when partitioning the disk, make sure root and boot partitions are on one disk. Otherwise, you will not be able to boot from hard drive.
 
-----
 
-----
 +
-----
 +
== 2- Account Setup==
 +
# Enable root account. Open a terminal window. And enter your new root password for the machine.<br /><pre>sudo su - </pre>
 +
# Add your local and SOE logins to the list of sudoers:  <br /><pre>vi /etc/sudoers </pre>
 +
 +
== 3- NVIDIA Driver Installation ==
 +
By default, '''video-nvidia-nouveau''' is installed. Remove it and install '''video-nvidia''' instead.
 +
 +
 +
== 4- MADA Related Installations ==
 +
=== autofs ===
 +
Create a mada directory.<br /><pre> mkdir /mada </pre>
 +
Install autofs.
 +
pacman -S autofs
 +
Configure.
 +
scp <username>@mada0:/etc/auto.mada  /etc/autofs/.
 +
scp <username>@mada0:/etc/auto.master /etc/autofs/.
 +
When you are done configuring, launch the AutoFS daemon as root: 
 +
systemctl start autofs
 +
To start the daemon on boot:
 +
systemctl enable autofs
 +
Edit /etc/autofs/auto.mada
 +
users              -rw,intr,soft,noquota,noatime,fstype=nfs4 mada0.cse.ucsc.edu:/mada/users
 +
software            -ro,intr,soft,noquota,noatime,fstype=nfs4 mada0.cse.ucsc.edu:/mada/software
 +
-----
 +
 +
=== firewall ===
 +
 +
Setup the firewall:
 +
ufw default deny
 +
ufw reject auth
 +
ufw limit ssh/tcp
 +
ufw logging off
 +
 +
The next line is only needed the first time you install the package.
 +
ufw enable
 +
 +
Follow it by enabling '''ufw''' with ''systemctl''.
 +
systemctl enable ufw.service
 +
 +
Finally, query the rules being applied via the ''status'' command.
 +
ufw status
 +
 +
=== LDAP ===

Revision as of 21:59, 4 October 2013

Testing the installation of Archlinux: Manjaro XFCE 8.7.1

Creating Manjaro Live Installation Media

    diskutil list
    diskutil unmountDisk /dev/disk2 //flash is connected to disk2
    dd of="/dev/disk2 if=/path/to/manjaro-xfce-0.8.7.1-x86_64.iso'
    diskutil eject /dev/disk2

1- Installing Manjaro XFCE 8.7.1 via Installation Wizard

  • Boot from the USB Drive.
  • When prompted type in ‘stat’ press enter to select Manjaro Live.
  • Click on the Manjaro installation manager icon on the Desktop and walk through the installation process.
  • When prompted for a username, choose one that is NOT your SOE login! For example "elnaz_local" rather than my SOE login of "elnaz". Otherwise you will not be able to login to your computer after you setup LDAP.
  • When prompted for a machine name, enter the name that machine is supposed to be (mascd11, omelette, quiche, etc)
  • Selecting 'Edit Partitioning' will launch gparted which will allow you to delete current partitions and/or add new partitions.
    • At least 3 partitions are needed.
      • ~2G storage for /boot and select ‘ext2’ as the format.
      • At least 8-10G for swap and select ‘linux-swap’ as the format.
      • The rest of the storage space can be partitioned as root ‘/‘ with the ‘ext4’ format.
      • You can add other partition such as home directory.
      • Click on 'Edit' and select 'Apply All Partitions' to save the changes. And quit the program.
  • Right click on ~2G partition and mount it as /boot. The format should be 'ext2'.
  • Right click on the largest partition (i.e. root) and mount is as '/'. Click Forward.
  • Note to install 'grub' in the /boot partition.
  • Deselect Plymouth login manager. You should install a different login manager later, for instance Slim.
  • Review the summary of the changes you have made. And click on 'install'.
  • Installation wizard should complete as normal.

NOTE: when partitioning the disk, make sure root and boot partitions are on one disk. Otherwise, you will not be able to boot from hard drive.



2- Account Setup

  1. Enable root account. Open a terminal window. And enter your new root password for the machine.
    sudo su - 
  2. Add your local and SOE logins to the list of sudoers:
    vi /etc/sudoers 

3- NVIDIA Driver Installation

By default, video-nvidia-nouveau is installed. Remove it and install video-nvidia instead.


4- MADA Related Installations

autofs

Create a mada directory.
 mkdir /mada 

Install autofs.

pacman -S autofs 

Configure.

scp <username>@mada0:/etc/auto.mada   /etc/autofs/.
scp <username>@mada0:/etc/auto.master /etc/autofs/.

When you are done configuring, launch the AutoFS daemon as root:

systemctl start autofs 

To start the daemon on boot:

systemctl enable autofs

Edit /etc/autofs/auto.mada

users               -rw,intr,soft,noquota,noatime,fstype=nfs4 mada0.cse.ucsc.edu:/mada/users 
software            -ro,intr,soft,noquota,noatime,fstype=nfs4 mada0.cse.ucsc.edu:/mada/software 

firewall

Setup the firewall:

ufw default deny
ufw reject auth
ufw limit ssh/tcp
ufw logging off

The next line is only needed the first time you install the package.

ufw enable

Follow it by enabling ufw with systemctl.

systemctl enable ufw.service

Finally, query the rules being applied via the status command.

ufw status

LDAP