Skip to main content

Posts

Showing posts with the label linux

How to set up Postfix as email MTA to send outbound emails on Ubuntu

It is usually nightmere getting outbound emails working on your Linux installation however usually following below instructions should get it working for you easily. Assumptions: It is a Ubuntu/Debian 11.04 or similar desktop or server install, including other variences such as Xubuntu, Lubuntu, Kubuntu etc. You only want to send outbound emails originated from this computer. You do not have a SMTP relay for sending or receiving emails. Smarthost is used for message delivery without any need of SMTP relays. Install Postfix MTA and MailX programs sudo apt-get install postfix mailutils Configure Postfix sudo dpkg-reconfigure postfix Read given options and select OK General type of mail configuration select "Satellite System". System Mail Name "yourFQCN.com", you can select a FQDN and doesn't have to be on this server. SMTP relay host - Make it blank by deleting smtp.localdomain Root and postmaster mail recipient - enter your Ubuntu...

How to configure WIFI networking on KUBUNTU on boot

As a default since Kubuntu releases 10.10 or perhaps earlier Kubuntu desktop edition is equipped with Network Manager which configures your WIFI networking from desktop and consequently will only connect to network when you login similar to Windows. If you didn't want this and wanted to connect to your workstation without logging in remotely you would have to configure it in a Ubuntu server way. #Remove Network Manager sudo apt-get remove --purge network-manager* #Check if wireless card driver is installed and working # if it reports no wireless extensions, find out the card and install driver $ lspci | grep Network $ iwconfig wlan0 #Modify /etc/network/interfaces and add wlan0 info auto wlan0 iface wlan0 inet dhcp wpa-ssid WIRELESSAPSSID wpa-psk WPAPASSKEY #Now restart your networking sudo /etc/inet.d/networking restart

How to find memory information on Linux, Unix, Solaris, AIX, HPUX, OpenVMS or FreeBSD

Solaris dmesg | grep mem prtdiag | grep Memory prtconf -v | grep Memory AIX bootinfo -r lsattr -E1 sys0 -a realmem getconf REAL_MEMORY HPUX dmesg | grep Physical /opt/ignite/bin/print_manifest | grep Memory machinfo | grep Memory Linux dmesg | grep Memory grep -i memtotal /proc/meminfo free OpenVMS show mem /page FreeBSD dmesg | grep memory grep memory /var/run/dmesg.boot sysctl -a | grep mem