Total Pageviews
Monday, October 18, 2010
error mounting in fstab boot error ubuntu
If unable to boot because of wrong entry in fstab for mounting any filesystem in Ubuntu Linux (may work for other *nix flavors too, not sure), eg: usb mounting, press "s" while booting (after screen struck up), which allows booting by escaping the mounting.
Tuesday, October 12, 2010
mounting freeNAS NFS on ubuntu
http://hardforum.com/showthread.php?t=1262438
apt-get install nfs-common on client system
mount -t nfs <192.168..>:/mnt/folder /mnt/folder
automatic mount on boot:
open /etc/fstab and entry:
<ip>:/mnt/<folder> <localfolder> nfs defaults 0 0
NOTE: in NFS server edit /etc/exports as below
/mnt/<folder name> -alldirs -mapall=root -network 192.168.5.0 -mask 255.255.255.0
make sure the authorised network is same as ur network range; eg: 192.168.5.0
mouonting ssh file system:
http://www.ubuntugeek.com/mount-a-remote-folder-using-ssh-on-ubuntu.html
http://www.neowin.net/forum/topic/574196-setup-a-simple-nas-device/
https://help.ubuntu.com/community/SettingUpNFSHowTo
apt-get install nfs-common on client system
mount -t nfs <192.168..>:/mnt/folder /mnt/folder
automatic mount on boot:
open /etc/fstab and entry:
<ip>:/mnt/<folder> <localfolder> nfs defaults 0 0
NOTE: in NFS server edit /etc/exports as below
/mnt/<folder name> -alldirs -mapall=root -network 192.168.5.0 -mask 255.255.255.0
make sure the authorised network is same as ur network range; eg: 192.168.5.0
mouonting ssh file system:
http://www.ubuntugeek.com/mount-a-remote-folder-using-ssh-on-ubuntu.html
http://www.neowin.net/forum/topic/574196-setup-a-simple-nas-device/
https://help.ubuntu.com/community/SettingUpNFSHowTo
Saturday, October 9, 2010
FreeNAS setup
http://dailycupoftech.com/howto-install-freenas/
http://www.dailycupoftech.com/freenas-system-and-skill-requirements/
http://dailycupoftech.com/freenas-basic-configuration/
http://www.dailycupoftech.com/2006/11/27/freenas-week-configuring-disks/
http://www.dailycupoftech.com/configuring-disks-in-freenas/
http://www.dailycupoftech.com/2006/11/28/freenas-week-windows-shares/
http://www.dailycupoftech.com/creating-windows-shares-on-freenas/
Mounting NAS on Linux:
http://forums.fedoraforum.org/showthread.php?t=191084
http://www.dailycupoftech.com/freenas-system-and-skill-requirements/
http://dailycupoftech.com/freenas-basic-configuration/
http://www.dailycupoftech.com/2006/11/27/freenas-week-configuring-disks/
http://www.dailycupoftech.com/configuring-disks-in-freenas/
http://www.dailycupoftech.com/2006/11/28/freenas-week-windows-shares/
http://www.dailycupoftech.com/creating-windows-shares-on-freenas/
Mounting NAS on Linux:
http://forums.fedoraforum.org/showthread.php?t=191084
Virtual hosts with apache server- windows & linux
Linux (Ubuntu) :
http://ubuntu-tutorials.com/2008/01/09/setting-up-name-based-virtual-hosting/
https://help.ubuntu.com/8.04/serverguide/C/httpd.html
Windows:
Virtual host configuration with WAMP server
http://guides.jlbn.net/setvh/setvh3.html
http://www.thewebhostinghero.com/tutorials/apache-alias.html
http://ubuntu-tutorials.com/2008/01/09/setting-up-name-based-virtual-hosting/
https://help.ubuntu.com/8.04/serverguide/C/httpd.html
Windows:
Virtual host configuration with WAMP server
http://guides.jlbn.net/setvh/setvh3.html
http://www.thewebhostinghero.com/tutorials/apache-alias.html
Friday, October 8, 2010
pure-ftpd mysql on ubuntu
NOTE: make sure PHP5, Mysql server are installed and also php5-mysql.
1. apt-get install pure-ftpd-mysql
2. Install User Manager: This is Optional
reference: Instructions in this link is simple and works perfectly.
http://www.howtoforge.com/virtual-hosting-with-pureftpd-mysql-on-ubuntu-8.10
e. Linux Commands reference: http://www.pixelbeat.org/cmdline.html
http://www.howtoforge.com/virtual-hosting-with-pureftpd-and-mysql-ubuntu-7.10
After installation:
1. Make sure to backup the existing mysql.conf to mysql_orig.conf.
2. pureftpd-mysql.conf -content to be copied to a file mysql.conf in /etc/pure-ftpd/db.
3. restart the pure-ftpd : /etc/init.d/pure-ftpd-mysql restart
4. check ftp port (21) is open on the server
It is OK to have FTP server on one box, My SQL on another box. In this scenario, the mysql.conf file need to be updated with IP address of the MYSQL server.
to restrict user in the home directory:
echo "yes" > /etc/pure-ftpd/conf/ChrootEveryone
1. apt-get install pure-ftpd-mysql
2. Install User Manager: This is Optional
- Download using command line in Linux: wget http://machiel.generaal.net/files/pureftpd/ftp_v2.1.tar.gz
- untar command : tar -xvf ftp_v2.1.tar.gz
- User Manager for Pure-ftpd - http://machiel.generaal.net/index.php?subject=user_manager_pureftpd
reference: Instructions in this link is simple and works perfectly.
http://www.howtoforge.com/virtual-hosting-with-pureftpd-mysql-on-ubuntu-8.10
e. Linux Commands reference: http://www.pixelbeat.org/cmdline.html
http://www.howtoforge.com/virtual-hosting-with-pureftpd-and-mysql-ubuntu-7.10
After installation:
1. Make sure to backup the existing mysql.conf to mysql_orig.conf.
2. pureftpd-mysql.conf -content to be copied to a file mysql.conf in /etc/pure-ftpd/db.
3. restart the pure-ftpd : /etc/init.d/pure-ftpd-mysql restart
4. check ftp port (21) is open on the server
It is OK to have FTP server on one box, My SQL on another box. In this scenario, the mysql.conf file need to be updated with IP address of the MYSQL server.
to restrict user in the home directory:
echo "yes" > /etc/pure-ftpd/conf/ChrootEveryone
Monday, October 4, 2010
SMTP EMail for PHP On Ubuntu
installing pear package for php: apt-get install php-pear
sudo apt-get install php-pear
sudo pear install mail
sudo pear install Net_SMTP
sudo pear install Auth_SASL
sudo pear install mail_mime
start/stop/restart apache web server:
/etc/init.d/apache2 restart
/etc/init.d/apache2 start
/etc/init.d/apache2 stop
Installing PEAR Mail for PHP On Ubuntu
sudo apt-get install php-pear
sudo pear install mail
sudo pear install Net_SMTP
sudo pear install Auth_SASL
sudo pear install mail_mime
start/stop/restart apache web server:
/etc/init.d/apache2 restart
/etc/init.d/apache2 start
/etc/init.d/apache2 stop
Subscribe to:
Posts (Atom)