Category Archives: FreeBSD

FreeBSD system installation and upgrades on a few tips

Frog today began to shift in VMWare on FreeBSD, saying the last division of the virtual hard disk to FreeBSD too small, csup a bit systems and ports put a partition to eat bare. So today the frog again from scratch and installed FreeBSD, installed and upgraded a number of problems encountered in the process, here to make a unified record. First, the frogs have not lost the root password again. This is the first N times just installed the system will recover the password. But today the reason is that, when the frogs are not careful in the installation of the system to modify the keymap settings, the results of the order of the normal keyboard input characters into a do not know what the symbol. When the frog found the problem and changed over the keymap after, root password has been a mistake. No way, Internet google it. Process is as follows [1]: The first step, start to freebsd in single user mode, which is freebsd boot menu appears when the press 4; waiting for system startup, will eventually be prompted to specify the location of shell or press Enter to continue, just press here Enter on ok. The second step, execute the following command in a shell: # fsck-p # mount-u / # mount-t ufs-a third step, change the root password using passwd. Frog in this long-winded sentence: Now that I think was the wrong operation is that the terminal step in the set, open the frog looked keymap settings dialog box, it is estimated that the first time directly choose a keyboard type, then you are wrong. Comparison of the Linux installation process, keymap settings have a default option without any change, there would be no frogs found in FreeBSD, FreeBSD in which it seems the details still need to continue efforts. Because of FreeBSD's default shell is csh, so the frogs do not use it very easily, online google to several small intimate setting, so that csh is more convenient [2]: alias ls ls-w # for csh alias ls to display Chinese characters correctly ls-G # by file type set autolist # highlighting the tab when the auto-complete, if more than one line on the display list. set nobeep # close the terminal ring set prompt = "` / bin / hostname-S `:%~# "... Continue Reading

Leave a comment Posted in FreeBSD | Leave a comment