miniBB: free php bulletin board and forum softwareminiBB: free php bulletin board and forum software 
 - Forums - Statistics - Sign Up - Search -
malaysia-linux.no-ip.org Minux Mini Forum / noGuiX / noGuiX Manual
Author Message
admin
Admin
# Posted: 30 Aug 2007 09:31 - Edited by: admin


noGuiX manual

noGuiX Installation Process (Hdd Install)

- You must already have at least one partition. If not, use "$ cfdisk" command.
- Format the partition with "$ mkfs ext3 /dev/hdax"
- Go to menu nox admin-->nox install-->install
- Insert your mount partition let say mine "/mnt/hda5" then ENTER
- Answer with "yes" then wait the installation process complete(1-2 minutes) depend on your system
- When finished, open terminal/console/xterm & run command "$ grubconfig"
- Choose your partition. mine "/dev/hda5" then "OK"
- Choose install the grub files into 1)Root partition 2)Floppy or 3)MBR. I choosed MBR
- Choose primary device. mine, /dev/hda then "OK"
- When finished, reboot your system, take out your cd.
- Now, welcome to noguix real hdd install & good luck!


Monkey Web Server (Testing)

----------------------------
- Start/stop web server Home server-->web server-->start/stop.
- Then run http://localhost just to make sure web server is running.
- Put your own web documents into /opt/monkey/htdocs/ folder.

Monkey Web Server (Real Publish)
--------------------------------
- add your own domain to /etc/hosts
- port forward your modem/router for port 80
- Put your own web documents into /opt/monkey/htdocs/ folder.
- Start/stop web server sila click Home server-->web server-->start/stop
- Then run http://localhost to make sure your web running.

#<VirtualHost *:80>
# ServerAdmin admin@yourserver.com
# DocumentRoot /opt/monkey/htdocs/mywebsite
# ServerName yourserver.com
# ErrorLog /opt/monkey/error/error_log
# CustomLog /opt/monkey/error/access_log common
#</VirtualHost>

Mysql Database Server
- Get mysql-5.0.37.mo or mysql-4.1.14.mo packages from malaysia-linux ftp- locate the file and open with "uselivemod"(live cd) or "modinstall"(Hdd install)
- then, create mysql grant table in console/xterm/terminal. $ mysql_install_db --user=mysql
- start the database server(mysql) $ /etc/rc.d/rc.mysqld start
- check the server if running $ ps -ef | grep mysqld | grep -v grep

root@noguiX~:ps -ef | grep mysql | grep -v grep
root 21064 1 0 04:26 pts/0 00:00:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/run/mysql/mysql.pid --skip-networking
mysql 21089 21064 0 04:26 pts/0 00:00:00 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysql/mysql.pid --skip-external-locking --skip-networking


Openssh (Client)
-----------------
- Open CLI/console/Terminal/xterm
- Key in "ssh username@targetserver.com"
- SSH Configuration file located /etc/ssh/ssh_config

Openssh (Server)

-----------------
- Add your own domain to /etc/hosts
- Port forward your modem/router for port 22 default or else.
- Start/stop ssh server (Home Server-->ssh-->start/stop)
- Refer /etc/ssh/sshd_config for additional ssh server configuration eg: disable root login, change default port & etc.

(FTP client)
------------
- Open CLI/console/Terminal/xterm
- Key in "ftp targetserver.com"
- Enter username & password.
- Try issue "ls" command then enter to print list of files inside home ftp directory.
- Use "get" command to download files.
- Use "put" command to upload files.

vsftpd (FTP Server)
-------------------
- Add your own domain into /etc/hosts
- Port forward your modem/router for port 21.
- Start/Stop ftp server (Home Server-->vsftpd-->start/stop)
- Refer /etc/vsftpd.conf for additional vsftpd configuration such change default banner & etc.

nfs (CLIENT)
-------------
- Make sure portmap is running "ps -ef | grep portmap | grep -v grep"
- If not, type in console/xterm/terminal "/sbin/portmap" then enter.
- Then use "mount -t nfs target_server_ip:/target_folder /mount_point" to mount nfs file system.

Example: mount -t nfs 192.168.0.2:/home/torrent /mnt/nfs
(Mount /home/torrent folder server IP 192.168.0.2 at client /mnt/nfs folder)
(make sure mount point is created /mnt/nfs)

nfs (SERVER)

------------
- Make sure portmap is running "ps -ef | grep portmap | grep -v grep"
- If not, type in console/xterm/terminal "/sbin/portmap" then enter.
- Add desired share folder into "/etc/exports" file.

Example : Share /home/torrent folder
/home/torrent *(rw,async,all_squash)

- Issue "exportfs -ra" command each time you change your "/etc/exports" file.
- Then start nfs server. nox admin --> NFS Server --> start
- To connect from nfs client, refer nsf (CLIENT) connection above.

Postfix Mail Server
-------------------
- Refer http://malaysia-linux.no-ip.org/forum/

Youtube Download
----------------
- Make sure "/tmp/youtube" folder is created & set appropriate permission if necessary.
- Open menu nox Admin-->nox youtube-->start
- copy paste youtube url
- http://youtube.com/1235?!@#$%^ then ENTER

Torrent Download (Console based)
----------------
- Download fail torrent first "http://asdhkhhklkjk.torrent" & save into your /home or /root folder
- Go to menu "nox Admin-->noxtorrent-->start"
- Insert your torrent file then ENTER.
- contoh 1: /home/user/isohunt [Transformer] aXXo.torrent

Notes : ctorrent seem having a problem with some .torrent which the title have some space.
You need to rename it, make it short like "/home/user/isohunt [Transformer]aXXo.torrent" I changed it to
/home/user/Transformer.torrent & it works!

User Account (Add)
- Go to menu nox Admin-->nox user account-->Add
- Insert name, group & expirate date if necessary. Just follow the screen.
- If use nox admin menu to add new user, all users folder will go to /home folder.
- Then, dont forget to use "passwd newuser" command in console/xterm/terminal to set new user password.
- Example: After created Lampard user account then set Lampard password with command "passwd Lampard"

User Account (Delete)

- Go to menu nox Admin-->nox user account-->Delete
- This will delete user account & /home folder
- Example: to delete Lampard account just insert "Lampard" then ENTER.

Basic noGuiX HOW-TO (Console)

$ mkdir torrent ---> create folder torrent
$ free -m --> Memory info in MB
$ ntfs-3g /dev/hda1 /mnt/ntfs --> mount windows ntfs file system at (/mnt/ntfs) mount point.
$ top --> Display top process
$ useradd -gusers -Gstaff -s/bin/bash -d/home/jason -m jason --> create new-user "jason"
$ passwd jason --> set new password untuk jason
$ uname -a --> display system info (kernel, OS, etc)
$ cat /proc/cpuinfo --> display cpu info
$ uptime --> Display server uptime
$ fdisk -l --> List your partition table
$ cfdisk --> create/delete/edit hdd partition
$ mkfs.ext3 /dev/hda2 --> create ext3 file system for /dev/hda2 partition
$ mkswap /dev/hda6 --> create swap file system for /dev/hda6 partition
$ swapon /dev/hda6 --> activate swap for /dev/hda6 partition
$ swapoff /dev/hda6 --> Deactivate swap for /dev/hda6 partition

This topic is closed. You can't post a reply.