Archive

Posts Tagged ‘linux’

VSftpd


apt-get install vsftpd

edit the VSftpd config at /etc/vsftpd.conf

anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_file=/var/log/vsftpd.log
idle_session_timeout=600
ftpd_banner=Welcome to “what you want” FTP service.
secure_chroot_dir=/usr/local/share/vsftpd/empty
listen=YES
background=YES
passwd_chroot_enable=YES
chroot_local_user=YES

 

 

Tags: , ,

SLURM: A Highly Scalable Resource Manager


SLURM is an open-source resource manager designed for Linux clusters of all sizes. It provides three key functions. First it allocates exclusive and/or non-exclusive access to resources (computer nodes) to users for some duration of time so they can perform work. Second, it provides a framework for starting, executing, and monitoring work (typically a parallel job) on a set of allocated nodes. Finally, it arbitrates contention for resources by managing a queue of pending work.

While other resource managers do exist, SLURM is unique in several respects:

  • It is designed to operate in a heterogeneous cluster with up to 65,536 nodes and hundreds of thousands of processors.
  • It can sustain a throughput rate of over 120,000 jobs per hour with bursts of job submissions at several times that rate.
  • Its source code is freely available under the GNU General Public License.
  • It is portable; written in C with a GNU autoconf configuration engine. While initially written for Linux, other UNIX-like operating systems should be easy porting targets.
  • It is highly tolerant of system failures, including failure of the node executing its control functions.
  • A plugin mechanism exists to support various interconnects, authentication mechanisms, schedulers, etc. These plugins are documented and simple enough for the motivated end user to understand the source and add functionality.

 

sudo  apt-get install slurm

 

https://computing.llnl.gov/linux/slurm/

 

Tags: , ,

vmware tools install Linux


The first steps are performed on the host, within Workstation menus:

1. Power on the virtual machine.
2. After the guest operating system has started, prepare your virtual machine to install VMware Tools. 

Choose VM > Install VMware Tools.

The remaining steps take place inside the virtual machine.

3. As root (su -), mount the VMware Tools virtual CD-ROM image, change to a working directory (for example, /tmp), uncompress the installer, then unmount the CD-ROM image.

mount /dev/cdrom /mnt/cdrom

cd /tmp

Note: If you have a previous installation, delete the previous vmware-distrib directory before installing. The default location of this directory is
/tmp/vmware-tools-distrib.

4. Untar the VMware Tools tar file:

tar zxf /mnt/cdrom/VMwareTools-5.0.0-<xxxx>.tar.gz

umount /dev/cdrom

Where <xxxx> is the build/revision number of the VMware Workstation release.

5. Run the .tar VMware Tools installer:
cd vmware-tools-distrib
./vmware-install.pl

Respond to the configuration questions on the screen. Press Enter to accept the default value.

6. Log off of the root account.
exit

vmware tools


The following commands can be used to determine the current running status of VMware Tools, and to stop or start the service:

• /etc/init.d/vmware-tools status
• /etc/init.d/vmware-tools start
• /etc/init.d/vmware-tools stop

%d bloggers like this: