Unix

Trying freebsd-update for upgrade FreeBSD 7.0 Beta4 to FreeBSD 7.0-RC1

Trying to upgrade FreeBSD from 7.0 Beta4 to 7.0-RC1

monitor# uname -a

FreeBSD monitor.alamster.net 7.0-BETA4 FreeBSD 7.0-BETA4 #0: Mon Dec 17 13:36:                                                                              40 UTC 2007     three@monitor.alamster.net:/usr/obj/usr/src/sys/GENERIC  i386

monitor# locate freebsd-update.conf

/etc/freebsd-update.conf
/usr/jail/etc/freebsd-update.conf
/usr/jail/usr/share/examples/etc/freebsd-update.conf
/usr/obj/usr/src/share/man/man5/freebsd-update.conf.5.gz
/usr/share/examples/etc/freebsd-update.conf
/usr/share/man/man5/freebsd-update.conf.5.gz
/usr/src/etc/freebsd-update.conf
/usr/src/share/man/man5/freebsd-update.conf.5
/usr/titan/ports/security/freebsd-update/files/Attic/freebsd-update.conf.5,v
/usr/titan/src/etc/freebsd-update.conf,v
/usr/titan/src/share/man/man5/freebsd-update.conf.5,v

monitor# freebsd-update -f /etc/freebsd-update.conf -r 7.0RC1 upgrade

Looking up update.FreeBSD.org mirrors… 1 mirrors found.
Fetching public key from update1.FreeBSD.org… done.
Fetching metadata signature for 7.0-BETA4 from update1.FreeBSD.org… done.
Fetching metadata index… done.
Fetching 2 metadata files… done.
Inspecting system… done.

The following components of FreeBSD seem to be installed:
kernel/generic src/base src/bin src/cddl src/compat src/contrib
src/crypto src/etc src/games src/gnu src/include src/krb5 src/lib
src/libexec src/release src/rescue src/sbin src/secure src/share src/sys
src/tools src/ubin src/usbin world/base world/dict world/doc world/games
world/info world/manpages world/proflibs

The following components of FreeBSD do not seem to be installed:
world/catpages

Does this look reasonable (y/n)? y

Fetching metadata signature for 7.0RC1 from update1.FreeBSD.org… failed.
No mirrors remaining, giving up.

editing /etc/freebsd-update.conf

ServerName update.FreeBSD.org to ServerName update1.FreeBSD.org

failed???

Do I type something wrong : another try after I realized it’s 7.0-RC1 (plus minus)

Fetching metadata signature for 7.0-RC1 from update1.FreeBSD.org… done.
Fetching metadata index… done.
Fetching 1 metadata patches. done.
Applying metadata patches… done.
Fetching 1 metadata files… done.
Inspecting system… done.
Fetching files from 7.0-BETA4 for merging… done.
Preparing to download files… done.
Fetching 59 patches…..10….20….30….40….50…. done.
Applying patches… done.
Fetching 1064 files… done.
/usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory
/usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory
Attempting to automatically merge changes in files… done.

The following file could not be merged automatically: /etc/mail/freebsd.cf
Press Enter to edit this file in vi and resolve the conflicts
manually…

hmmm…. editing freebsd.cf manually. I’ll do later icon smile Trying freebsd update for upgrade FreeBSD 7.0 Beta4 to FreeBSD 7.0 RC1

Unix

FreeBSD 6.3 RC2 is out, happy new year

FreeBSD 6.3 RC2 is out, with two distinct version of FreeBSD 6 and 7 I try to maintain existing servers with this pattern :

1. Upgrade to minor for email server as we need stable operation

2. Upgrade backup server with FreeBSD 7 as we need to use their ZFS capability icon smile FreeBSD 6.3 RC2 is out, happy new year

Your choice is vary icon smile FreeBSD 6.3 RC2 is out, happy new year

Quick iso download for 6.3 RC2 :

Click here (i386)

Source upgrade, just use RELENG_6_3 in cvsup

Full release news, click here.

Eager to try FreeBSD 8, I use vmware first icon wink FreeBSD 6.3 RC2 is out, happy new year

Unix

FreeBSD 7.0 release candidate 1 available

From FreeBSD mailing list :

FreeBSD 7.0 RC 1 available for download.

Some information that might useful for upgrading :

1. Use source, just point cvsup to RELENG_7_0

2. Use freebsd-update utility with two options available :

     1. Minor upgrade

     2. Major upgrade

Ready to grab FreeBSD 7.0 RC1, get now via :

1. Torrent, click here

2. ISO download, click here

New year gift from FreeBSD developer icon smile FreeBSD 7.0 release candidate 1 available

 

 

Blog

Upgrade your wordpress to 2.3.2

WordPress 2.3.2 is out, it will fix some bugs.

One of them is bug where a person can see someone future posting posting.

Upgrade now and secure your wordpress.

Get latest wordpress from here.

Happy new year 2008 icon smile Upgrade your wordpress to 2.3.2

Unix

/usr/local/etc/rc.d in FreeBSD

How do I make mysql server start  in startup?

How to make apache server start in startup?

How to make ftp server start in startup?

Simply, just installed via ports or package,  in FreeBSD there is relation between /etc/rc.conf and /usr/local/etc/rc.d/

for example :

monitor# cat /etc/rc.conf

usbd_enable="NO"
sshd_enable="YES"
apache_enable="YES"
mysql_enable="YES"
svscan_enable="YES"
linux_enable="YES"
radiusd_enable="YES"

just write service name followed by value, YES or NO

I’m not sure what to write? any hint?

Just go to rc.d and see the details, for example :

monitor# cd /usr/local/etc/rc.d/
monitor# ls

apache          radiusd         snmptrapd
mysql-server    snmpd           svscan.sh

looking for available options for mysql server :

monitor# cat mysql-server | more

# Add the following line to /etc/rc.conf to enable mysql:
# mysql_enable (bool):  Set to "NO" by default.
#                       Set it to "YES" to enable MySQL.
# mysql_limits (bool):  Set to "NO" by default.
#                       Set it to yes to run `limits -e -U mysql`
#                       just before mysql starts.
# mysql_dbdir (str):    Default to "/var/db/mysql"
#                       Base database directory.
# mysql_args (str):     Custom additional arguments to be passed
#                       to mysqld_safe (default empty).

you can add in /etc/rc.conf another option beside : mysql_enable="YES"

like :

mysql_dbdir ="/home/mysql_data"

monitor# cat radiusd

#
# Add the following lines to /etc/rc.conf to enable radiusd:
#
# radiusd_enable="YES"
#

option for FreeBSD startup is in your hand icon smile /usr/local/etc/rc.d in FreeBSD

Cisco

Dynagen – interim 0.11.0 build for win xp and linux

From Dynagen website, a few enhancement in Dynagen in progress as a result of merge the confDynagen codebase into Dynagen like :

  1. dynamic reconfiguration
  2. Pemu server support (aka PIX emulation)

with a lot of major improvement and bugs handling.

To play with this version, you can download here.

Pavel.Skovajsa also write some tutorials :

Thanks for all great job guys icon smile Dynagen   interim 0.11.0 build for win xp and linux

Unix

NetBSD 4.0 released, grab it while its Hot

Form NetBSD mailinglist :

The  NetBSD  Project  is  pleased  to announce that release 4.0 of the
   NetBSD  operating  system  is now available. NetBSD is a free, secure,
   and  highly  portable Unix-like Open Source operating system available
   for  many  platforms, from 64-bit Opteron machines and desktop systems
   to  handheld  and  embedded  devices.  Its  clean  design and advanced
   features   make   it   excellent   in  both  production  and  research
   environments,  and  it  is  user-supported  with complete source. Many
   applications  are easily available through pkgsrc, the NetBSD Packages
   Collection.

   Major  achievements in NetBSD 4.0 include support for version 3 of the
   Xen  virtual  machine  monitor, Bluetooth, many new device drivers and
   embedded  platforms  based  on ARM, PowerPC and MIPS CPUs. New network
   services  include  iSCSI target (server) code and an implementation of
   the  Common  Address  Redundancy  Protocol.  Also, system security was
   further  enhanced  with  restrictions  of  mprotect(2)  to enforce W^X
   policies,  the Kernel Authorization framework, and improvements of the
   Veriexec  file  integrity  subsystem,  which can be used to harden the
   system  against trojan horses and virus attacks. Please read below for
   a list of changes in NetBSD 4.0.

great, looks like NetBSD developer team laso wanna give Christmas gift icon smile NetBSD 4.0 released, grab it while its Hot

Link to download iso file : click here

Source : mailinglist

Linux Unix

Build email server Tutorials, choose one for You

Every linux distro, unix system or windows server came with smtp system.

But it’s not enough for small home office requirement that need to provide mailbox for their employee.
 

Another solution is signup for web hosting that include mail management such cpanel, whm etc.

If this solution wont fit too, maybe dedicated email server need to build icon smile Build email server Tutorials, choose one for You

A lot of tutorials for building email server in internet that might help you to build email server in learning on demand mode such as :

1. Lifewithqmail, extensive guide to build mail server using qmail as MTA

2. ISP-style Email Service with Debian-Sarge and Postfix 2.1.

3. Virtual Users And Domains With Postfix, Courier And MySQL (Ubuntu 7.10), This document describes how to install a mail server based on Postfix that is based on virtual users and domains, i.e. users and domains that are in a MySQL database.

4. Full Mail Server Solution w/ Virtual Domains & Users (Debian Etch, Postfix, Mysql, Dovecot, DSpam, ClamAV, Postgrey, RBL), This guide describes how to set up a full email solution in Debian Linux (all code is from Debian Etch)

5. Qmailrocks, very popular guide. Support Redhat / Fedora, FreeBSD, Debian, Slackware and Solaris.

6. Secure email servers from scratch with FreeBSD 6.1. Part I and Part II.

7. How to set up a home email server. Redhat guide.

8. Virtual Mailhosting System with Postfix Guide, using gentoo.

9. OpenBSD as a Mail Server, extensive guide using openbsd . Pdf version also available.

10. Build email server at home. Windows guide.

11. Build Your Skills: Set up an SMTP/POP3 mail server with Windows Server 2003. Learn how to set up a very basic POP3 e-mail server in Windows Server 2003 without all the extra features that come with Exchange.

I’ll update the list as I found new url, If you have one and wanna share with us please use comment section.

Last update : 17 December 2007

 

Blog

FreeBSD 8 iso in FreeBSD snapshots

I just visit FreeBSD snapshots page and see FreeBSD 8 current available in FTP.

If you wish try it you might visit their Snapshots Page.

Whats new in FreeBSD 8, a few page or blog already write about it, such as :

Great move, major number means big improvement  icon smile FreeBSD 8 iso in FreeBSD snapshots

 

Unix

Setting time in FreeBSD with date()

doh, installing perl returning error

when I see it’s message, principally tell about time

let’s check :

pctjambi# date

Tue Jan  1 16:03:23 WIT 2002

need quick action to fix it.

pctjambi# date 0712141357

Fri Dec 14 13:57:00 WIT 2007

explanation :

date yymmddhhss

07 = year 2007

mm = month 12

dd = day 14

hh = hour 13

ss = minute 57

try again installing and it work smoothly icon smile Setting time in FreeBSD with date()

 

Unix

INDEX-6 and FreeBSD

I’m FreeBSD addict, use ports everyday and can’t live without port icon smile INDEX 6 and FreeBSD

Today, one of our server don’t seem hit firewall restriction and I nothing I can do .

I see INDEX-6 everytime I try to issue command : make fetchindex but nothing show up.

After scp INDEX-6 from other server I can update the ports.

ftp# cd /usr/ports
ftp# make fetchindex

^Cfetch: transfer interrupted

ftp# portversion -v | grep ‘<’

Fetching the ports index …
^Cfetch: transfer interrupted
failed to fetch INDEX!
Updating the ports index … failed to generate INDEX!
index generation error
database file error

mail# scp /usr/ports/INDEX-6 mother@172.88.1.3:/home/mother

Password:
INDEX-6
                100%   22MB  21.8MB/s   00:00

ftp# pwd

/usr/ports

ftp# mv /home/mother/INDEX-6 /usr/ports/
ftp# portversion -v | grep ‘<’

[Updating the portsdb <format:bdb_btree> in /usr/ports ... - 17745 port
entries found
.........1000.........2000....

.....3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........

11000.........12000.........13000.........14000.........15000.........16000.........17000.......
..... done]
mysql-client-5.0.45_1       <  needs updating (port has 5.0.51)
mysql-server-5.0.45_1       <  needs updating (port has 5.0.51)
phpMyAdmin-2.11.2.1         <  needs updating (port has 2.11.2.2)
png-1.2.22                  <  needs updating (port has 1.2.23)
rsync-2.6.9_1               <  needs updating (port has 2.6.9_2)
ruby-1.8.6.111,1            <  needs updating (port has 1.8.6.111_1,1)
squid-2.6.16                <  needs updating (port has 2.6.17)
ftp#

great, I can see listing ports needed to update icon smile INDEX 6 and FreeBSD