Developer on Alibaba Coud: Build your first app with APIs, SDKs, and tutorials on the Alibaba Cloud. Read more ＞
Slackware14 installation guide I. installation preparation 0001. it is recommended to download slackware from a domestic source. of course, if you can tolerate the same download speed as that of a foreign source snail bait, it is another matter. At the same time, it is best to download the dvd version. after all, the dvd version is East... slackware 14 installation guide I. installation preparation 000 1. download slackware we recommend that you use a domestic source to download slackware. of course, if you can endure the download speed at the same time as that of a foreign source snail bait, that's another case. At the same time, it is best to download the dvd version. after all, there are more and more comprehensive things in the dvd version, and the current USB flash drive is huge.: http://mirrors.ustc.edu.cn/slackware/slackware-14.0-iso/slackware-14.0-source-dvd.iso 2. create and install U disk a, use UltraISO to open the slackware-14.0-source-dvd.iso image file. B, click the UltraISO menu [boot], and select [write hard disk image] c, write mode select USB-HDD +, start making U disk installation boot disk. 3. set the USB flash drive to direct the Asus computer to the ESC instance and choose to start from the USB flash drive. If this is not the case for other computers, you can restart the system and press F1 to enter the BIOS and modify it. before starting the USB flash drive to the hard disk, set it to boot from the USB flash drive. II. System Installation 1. start the computer and press enter to start the system. 2. set the keyboard layout and press enter to use the default US keyboard. 3. log on to the system and press enter to automatically log on as root. 4. enter cfdisk in hard disk partition and press enter to partition the hard disk. To learn, we have to be brave enough to install slackware on the entire hard disk. It is best to divide the hard disk into three partitions, namely the root partition "/", the primary partition "/home", and the swap partition "swap ". In this way, the main partition "/home" can be used to store personal documents, music, and other important content. when reinstalling the system, as long as the partition size does not change, this partition will not be broken, you can retain the original data. Of course, everything focuses on security. please back up data. Sda1 minute 30G, big enough. Remember to select bootable and press enter once. Sda2 is divided into 2 times the memory size. for example, 2 GB memory is divided into 5 GB memory, which is used as the swap partition. Change the hard disk partition type "type" and ID to 82. the remaining primary partitions of sda3 are for personal use. the larger the value of "/home", the better. Select quit and press enter to exit the partition. 5. start the installer and enter setup in the terminal to start the installer. HELP: read the installation help keymap: Set the keyboard layout ADDSWAP: Set the swap partition TARGET: Set the Slackware installation TARGET partition SOURCE: SELECT the package SOURCE, that is, the installation media SELECT: select the software package to INSTALL: install configure: CONFIGURE system EXIT: EXIT installation 6. skip this step to set KEYMAP. Because the US keyboard is used by default when we set the keyboard layout. 7. set ADDSWAP to move the selection entry to ADDSWAP and press enter. The installer automatically searches for swap partitions on the hard disk. Then, select OK and press enter. Check whether there is an error in the swap partition. select No and press enter. Then, swap space configured is displayed, that is, the swap partition is set successfully, and the setting information is added to/etc/fstab. Click OK and press enter. 8. set TARGET in the Setting up root linux partition screen. select a hard disk partition as the root partition and enter "/". Select/dev/sb_1 and press enter. Then, in the new format partition/dev/sba1 screen, select Format, that is, format the partition, and press enter. In the new screen of select filesystem for/dev/SB1, select format to Ext4 file system. Then, draw the gourd according to the sample, set sda3, and input/home. After setting is complete, add the setting information to/etc/fstab 9. set the SOURCE to select the SOURCE for installing the Slackware package, because it is a USB flash drive installation, so we select 2 Install from a hard drive partition and press enter. Input/dev/sdb4. if you have more partitions, check the path of the USB flash drive. it is/dev/sdb5 (or 6, 7 ...... A in sba represents the first hard disk, and B in sdb represents the second hard disk. the number after sba or sdb represents the first partition. Of course, you can also use the fdisk-l command to list all available partitions before installation. remember to store the partitions of the ISO file and press enter. Enter/slackware in the new screen and press enter. 10. set SELECT in the package series selection screen, which includes the following: A Base Linux system basic system AP Various Applications that do not need X some Applications that do not depend on x d Program Development (C, C ++, Lisp, Perl, etc .) Program development tool e gnu Emacs editor f faq lists, HOWTO documentation FAQ list and HOWTO documentation K Linux kernel source code KDE Qt and the K Desktop Environment for x kde Desktop Environment and QT library KDEI International language support for KDE Desktop Environment L System Libraries (needed by KDE, GNOME, X, and more) KDE, GNOME, X and other required System Libraries (System library) N Networking (TCP/IP, UUCP, Mail, News) network Application and tool T TeX typesetting software T EX typographical software TCL Tcl/Tk script languages Tcl/Tk script language X Applications some graphical interface Applications Y Games game Xfce xfce desktop environment I am KDEI, Y, Xfce not selected. If it is not developed, D should also be able to select the. y game class, which is meaningless to me. xfce is not selected because slackware is kde by default and I usually use the default desktop environment. KDEI is not selected, after installing the system, you must install U disk/media/SlackDVD/slackware/kdei/, find a Chinese package kde-l10n-zh_CN-4.8.5-noarch-1.txz and installpkg on, or the system does not have Chinese. After you press enter, select a new image of prompting mode and start to select the software package series: "Full" does not prompt other information. the Terse and full packages of all the software packages selected in the previous step are automatically installed, during the installation process, each line shows that a software package is installed. Menu in the interaction Menu, select the software packages to be installed in the selected software package series. The Expert is actually the same as the "menu" option. Newbie installs required packages in the selected package series. for non-required packages, a menu appears asking you to confirm whether to install them. It is very troublesome, but we can see more detailed information. Custom uses the Custom tagfile in The Slackware package directory to install tagpath and uses the tagfile specified by other paths for installation. anyway, the new user selects "full" and installs all; if you are a master, you can choose expert and customize your personality. Press enter to start system installation. 11. Create (Create) a startup disk Skip (Skip) is a USB flash disk installation. of course, select Skip. 12. install the LILO boot program in Simple mode, try to automatically install LILO Expert mode, and manually edit lilo. conf, set the boot menu, and install LILO Skip to Skip. if you do not install the LILO boot program, select simple and install LILO automatically. Then, select the resolution on the command line interface. select the additional kernel parameter as needed. generally, do not add the parameter. press enter to skip the parameter. Configure console mode: select No here. Choose the installation location of the LILO boot sequence. There are three options: Root installation to the Super block of the Root partition (but the file system of the Root partition cannot be XFS) floppy is installed to a Floppy disk. the MBR is installed to the master boot record. However, the strange thing is that my Asus ul 20ft laptop did not install the LILO boot program successfully. You have to reinstall grub for boot. After the system is ready, we first boot with a USB flash drive. on the boot interface that the USB flash drive enters, go to "boot:" and follow the prompt on the interface, enter: huge. s root =/dev/sda1 rdinit = ro to enter the slackware system after the hard disk is installed. Then, we go http://slackbuilds.org/ On the homepage of the website, search for grub for version 14.0 and go to http: // slackbuilds.org/result /? Search = grub & sv = 14.0 page, click grub2 to enter http://slackbuilds.org/ Repository/14.0/system/grub2/page. download grub2.tar.gz and grub-2.00.tar. xz. However, before compiling and installing grub2, make sure that there are gnu-uniont, OS-prober, and help2man in the system. In fact, you only need to compile and install the gnu-uniont and help2man dependencies first, you can compile and install grub2. After grub2 is compiled and installed, we have to install grub-install -- root-directory = // dev/sda in the terminal to the hard drive boot sector Grub-mkconfig-o/boot/grub. after cfg re-generates the configuration file, you can directly use grub2 to boot the hard disk without USB flash drive boot. 13. configure the mouse in the new mouse configuration screen. select your mouse type. I use usb. Then, on the new gpm configuration screen, select "Yes" to start the gpm program. gpm program. you can copy the paste text with the mouse on the command line interface. 14. select Yes for the network configuration, set configure network to set the host name, and enter a name that is easy to recognize in the LAN, such as smsl. Set the domain name. if the server is used, enter the domain name, such as onesl.com. for personal laptops, enter the IP address. static IP addresses (static IP addresses) and DHCP addresses (automatically obtain IP addresses from the DHCP server) are available), loopback (set the loopback interface) and so on, please select and set according to the actual situation. I chose networkmanager and used it to manage the network: Great. 15. Select rc. cups and rc. samba from the system service set for startup so that we can use the printer service and use samba commands to access the LAN. 16. set the console font. select No here and use the default font. 17. set the time zone to No, set the hardware clock to the local time, and then, select Asia/Shanghai 18 and set the default window manager when X is started. you can select your preferred desktop environment or window manager, for example, although both KDE and kdm can select the default desktop system when logging on, it is necessary to know that the control is xwmconfig. You only need to enter xwmconfig on the terminal to make the selection. 19. set the root account password. here, select Yes and press Enter. enter the root password set twice. then press Enter to continue. 20. after installation is complete, press enter to return to the main menu of the installation program. on the main menu of the installation program, select EXIT to EXIT the installation program. Enter reboot in the command line to restart the machine and start slackware. by default, the interface is not displayed. to enter the GUI, type startx. 3. System Configuration 1. update the system to/etc/slackpkg/mirrors and set the update source. we recommend that you use the Zhongke Big source. It is said that Slackpkg can only set one image source, and it is best to officially approve the image and cancel the # comment above. Then, you can update the software package database through the command # slackpkg update # slackpkg upgrade-all in the terminal. 2. modify the default interface. the default running level of slackware is 3, that is, the multi-user command line interface. Under the Default runlevel line in the file/etc/inittab, change the number after the id to the required value. we change the Default value 3 to 4 to enable the graphic interface to be started by Default. 3. add a user. for personal use, use root to log on. If you are a newbie, we do not recommend that you use root login to solve the problem. In linux, the user has an administrator, a system user, and a common user. the administrator's ID number is 0, the system user's ID number is 1-499, and the normal user's ID number is> = 500. it is better to use adduser username to add new users, because there will be a bunch of things for you to choose. Useradd username is only used to add new users. Of course, you can use passwd username to create a password. To delete a user, you only need to: userdel username. 4. After configuring the Chinese environment, Slackware is installed in English by default. After confirming the installation of the Chinese package, you only need to change the locale environment variable in/etc/profile. d/lang. sh. Modify/etc/profile. d/lang. sh comment out the export LANG = en_US line, and add export LANG = zh_CN.utf8 to the following. we recommend that you set/etc/profile. d/lang. modify the csh. If the kde logon interface is to change to Chinese, modify/etc/kde/kdm/kdmrc, find # Language =, change it to: Language = zh_CN.uTF-8, of course, also in the system settings, click locale, select china in country, and select simplified Chinese as the first language. 5. click Firefox in Chinese by default. ftp://ftp.mozilla.org/pub/firefox/releases/18.0/linux-i686/xpi/zh-CN.xpi To add a Chinese language pack. Then, enter about: config in the address bar of FireFox and press Enter. in the filter box, enter general. useragent. locale. double-click the option and enter "zh-CN". OK. Restart the browser. FireFox is now in the Chinese version. 6. install the fcitx Chinese input method removepkg scim and removepkg scim-bridge to delete SCIM-related software packages. In http://slackbuilds.org/ In repository/14.0/misc/fcitx/, download the fcitx.tar.gzand fcitx-4.2.6.dicdict.tar. xz package and install it. 7. add the Microsoft font here http://54ry.com/software/xpfonts.tar.gz Next, install the font in "system settings-font management". if you want to adjust your visual habits, click here. http://wenq.org/cloud/fcdesigner_local.html . 8. download the latest Linux kernel source code from www.kernel.org. Decompress the downloaded file to the/usr/src directory, and delete the existing soft link named linux, and use the command ln linux-3.6.3 linux-s to create a new soft link pointing to the new kernel code (linux-3.6.3 in this example. Run the command cd linux to enter the kernel source code tree, and then you can configure and compile the kernel. The steps are: make oldconfig and make menuconfig. configure to cut down the kernel, and then make modules, make modules_install, and make install. The new compiled kernel is installed in the default directory. After the computer is restarted, use uname-sr to see that the new kernel has taken effect. IV. software installation 1. install Yongzhong under root, decompress the package, and click setup to install the software smoothly. However, during the installation, it is found that the installation has not been completed, but it has actually been installed. However, when we really want to run Yongzhong, we find that it cannot be run at all. Solution: my network management system yufeng has found that there is a problem with the jre that comes with Yongzhong. go to the java website. http://www.oracle.com /Technetwork/java/javase/downloads/jre7-downloads-1880261.html download the latest jre, after decompression directly replace/usr/local/Yozosoft/Yozo_Office/in jre. In fact, I also found that it is okay not to replace the entire jre, as long as all the lib under the jre directory is replaced. In this way, you can smoothly run Yongzhong. However, we still find that there are problems, that is, sometimes there is a false death, and the program cannot exit. At the same time, after the replacement of Yongzhong, after running, we found that there was no font in the font drop-down menu, and the font in the connection system was useless. Very strange. I found a solution to this problem after two days. Use kwrite to Open setup. sh, we can see in the third line FONT_PATH =/usr/X11R6/lib/X11/fonts/TrueType, then we open the/usr/X11R6/lib/X11/fonts directory, but I found that there was no TrueType folder in it. The problem was found here. Therefore, under/usr/X11R6/lib/X11/fonts, we create a folder named TrueType and paste the commonly used Microsoft fonts in it. When we opened Yongzhong office again, we found that there was no font to solve the problem. After testing, I feel that the problem of permanent running and false death are all here, that is, the font support cannot be found. In other words, as long as the font support problem is solved, there may be no need to replace jre. To delete Yongzhong, you only need to enter rmyzo in the terminal and press enter. 2. install filezilla here http://slackbuilds.org/ Repository/14.0/network/filezilla/download filezilla.tar.gzand filezilla_126.96.36.199_src.tar.bz2 and create a package to install wxPython or wxGTK. 3. to install wine with Dreamweaver 8.0, you can only install wine honestly. To http://slackbuilds.org/ After downloading and compiling and installing wine, you can install Dreamweaver 8.0 on wine. However, Dongxing Securities installed by wine cannot run. According to the original habits, install wine and then download and compile cabextract and winetricks. Then, run winetricks on the terminal and select and install mfc42.dll and ie7. however, Dongxing Securities cannot run at last. I still have a strong network management system (yufeng. After research, it is found that there are problems with database support. As a result, we only need to go to the Microsoft XP system, enter the C drive/windows/system32 directory, and put all the suffixes as ". copy all dll files and paste them to /. in wine/system32, if a file with the same name is queried, all files are overwritten. Therefore, Dongxing Securities was revived. 5. common commands 1. enter the directory cd/opt to enter the opt directory cd .. Back to the upper-level directory cd .. /Opt means to return to the upper-level directory and enter the opt folder pwd to check the current working directory mkdir/tmp to create the tmp folder rm-rfv/tmp recursively delete the tmp directory su-the user name is switched to another user in the terminal 2. decompress the Tar xfv original package path/package name. (Add. 3. move the original Mv package path/package name to the current directory. (Add. 4. permission file permissions include r (read), w (write), and x (execution ). For example, the chmod + x/opt/file name modification permission for a file under the opt directory chmod 777/opt-r recursively modifies the file under the opt directory to 777. 5. the termination command terminates the running command in the terminal: ctr + c 6. delete the software and execute pkgtool in the terminal. 7. install the software first-built package :. /File name. after slackbuild, install: installpkg package file name
This article is an English version of an article which is originally in the Chinese language on aliyun.com and is provided for information purposes only. This website makes no representation or warranty of any kind, either expressed or implied, as to the accuracy, completeness ownership or
reliability of the article or any translations thereof. If you have any concerns or complaints relating to the article, please send an email, providing a detailed description of the concern or
complaint, to email@example.com. A staff member will contact you within 5 working days. Once verified, infringing content will be removed immediately.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
and provide relevant evidence. A staff member will contact you within 5 working days.