Alias for a network interface in FreeBSD

Alias for a network interface in FreeBSD

How to add or remove alias for a network interface in FreeBSD Add: ifconfig fxp1 inet 192.168.2.1 netmask 255.255.255.255 alias Hide: ifconfig fxp1 inet 192.168.2.1 netmask 255.255.255.255 -alias
Swap Management

Swap Management

Get swap mcedit /proc/swaps swapon -s Gem all memory (swap, RAM) /proc/meminfo Show logical volums mcedit /etc/fstab Create Swap File Create swap file 1 GB dd if=/dev/zero of=/swapfile bs=1024 count=1048576 Prepare the swap file using …
Installing software through Ports on FreeBSD

Installing software through Ports on FreeBSD

Update ports collection: Edit /usr/share/examples/cvsup/ports-supfile and run: cvsup-G-L 2 ports-supfile Search: make search Key = "line" - search package by keyword. make search name = "line"- search by name of the package. Installing the port: …
Network Security

[How To] Securing SSH Connection

This how to helps you to create secure connection via ssh between your unix and linux systems. All examples written for RedHat based systems. Also we assume that you already have installed openssh server and …
Ubuntu

[How To] Install Google Chromium on Ubuntu

Personal Package Archives (PPA) in Ubuntu – it catalogs APT, which are provided by third parties on Launchpad (platform-party developers Ubuntu). That’s where the freshest and the coolest programs grouped into packages Debian, which can …
[How To] Compile Kernel (CentOS 2.6.19)

[How To] Compile Kernel (CentOS 2.6.19)

Download Kernel from http://kernel.org Extract package tar xjf linux-2.6.19.tar.bz2 cd linux-2.6.19 Modify /etc/modprobe.conf to avoid error message mcedit /etc/modprobe.conf Comment mptscsi (if exists) alias eth0 pcnet32 alias scsi_hostadapter mptbase #alias scsi_hostadapter1 mptscsi alias scsi_hostadapter2 mptfc …
File Server With Samba and FTP in FreeBSD

File Server With Samba and FTP in FreeBSD

This manual describes how to create file server, where users from can access their files with samba client and FTP server, (from windows too). In this example there are two users, testa and testu. User …
Cron Manual

Cron Manual

Files “username” user’s cron file location /var/spool/cron/{username} Root’s crontab file /var/spool/cron/root Configuration file for cron, /etc/crontab Cron service service crontd status service crontd start service crontd stop service crontd restart Valid values for cron job …
Linux, Unix, cli, Command,

apropos [Command]

Command apropos apropos – command views Authentication a list of all man-pages that contain the specified keyword. Syntax apropos keyword Options No Description Apropos command searches for cheap nfl jerseys a keyword in the …