manjarolinux root默认密码root密码

ArchLinux简明安装教程
ArchLinux简明安装教程
ArchLinux是一个十分优秀的发行版,定制性极高,同时不像Gentoo那样花那么多时间编译。安装ArchLinux无疑是对Linux发行版架构的一次熟悉和学习。目前,网上的相关教程基本已经过期,同时官方wiki上对于相关软件的搭配也没有仔细的描述。 按照本文的步骤做,最终你将得到一个KDE环境的ArchLinux。不过我并没有配置打印机,具体请大家wiki cups。 安装可以分为三大部分:
基本系统的安装
桌面环境的安装
1.基本系统的安装
这里的方案比较多,如果是新手,那么你可以只分一个区,我的方案是/boot,/,/home三个分区由于我的笔记本内存有8GB,因此不用swap。
fdisk /dev/sda
#/boot为sda1,/为sda2,/home为sda3
安装文件系统
在sda{1,2,3}安装ext4文件系统
mkfs.ext4 /dev/sda1
mkfs.ext4 /dev/sda2
mkfs.ext4 /dev/sda3
mount /dev/sda2 /mnt
#创建boot和home以挂载sda1和sda3
mkdir boot
mkdir home
mount /dev/sda1 /mnt/boot
mount /dev/sda3 /mnt/home
更新mirrorlist
推荐国内的用户选择,不过之前我安装的时候发现163的源有点问题,因此我推荐大家也开启mirrors. 默认的mirrorlist是开启所有源的,因此我们使用sed先在所有源的前面加上#
cd /etc/pacman.d sed -i &s/^\b/#/g& mirrorlist
nano mirrorlist
#将mirrors.和mirrors.前面的#去掉
pacman -Syy
安装base系统
我们只需要安装base和base-devel
pacstrap /mnt base base-devel
#如果你想使用ifconfig之类的工具,请在上面加上net-tools
在开机时我们需要正确挂载分区,这就需要fstab 这里我使用的是UUID的方式识别
genfstab -U -p /mnt &&/mnt/etc/fstab
arch-chroot /mnt /bin/bash
配置locale
打开locale.gen
cd /etc nano locale.gen
#将en_US.UTF-8,zh_CN.GBK,zh_CN.GB2312,zh_CN.GB18030,zh_CN.UTF-8前的#去掉
locale-gen
echo LANG=zh_CN.UTF-8 && locale.conf
nano onsole.conf
#输入 #KEYMAP=us #FONT=
ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
#之前manjaro的bug貌似影响到我的硬件时钟的读取了,如果大家时间也遇到了问题,可以软链接UTC
设置主机名
echo 主机名 && /etc/hostname
生成ramdisk
如果大家将/usr作为独立分区了,那么还需要配置mkinitcpio.conf,文件内有注释说明
mkinitcpio -p linux
#修改root密码
useradd -m -g users -G wheel -s /bin/bash 用户名
passwd 用户名
安装GRUB(非UEFI)
pacman -S grub-bios
grub-install /dev/sda
cp /usr/share/locale/en\@quot/LC_MESSAGES/grub.mo /boot/grub/locale/en.mo
#据说这一步是为了解决一个一直未被修复的bug
grub-mkconfig -o /boot/grub/grub.cfg
exit #推出chroot
umount /mnt/{home,boot}
umount /mnt
2.驱动安装
安装ALSA(声卡)
pacman -S alsa-utils
alsamixer #调节音量
安装显卡驱动
我用的是snb系列处理器的核显
pacman -S mesa xf86-video-intel
#我用的是intel的核显,具体大家自己wiki
安装synaptics驱动
pacman -S xf86-input-synaptics
3.桌面环境的安装
pacman -S xorg-server xorg-xinit xorg-utils xorg-server-utils
接下来就是桌面环境了,这里我使用的是KDE,当然是最小化安装
pacman -S kdebase #一路enter就行了
pacman -S kdemultimedia-kmix #音量调节
pacman -S kdeplasma-applets-networkmanagement #网络管理
systemctl enable NetworkManager.service #开启网络管理服务
systemctl enable kdm.service #开启kdm
安装常用软件
pacman -S synaptiks #触摸板管理程序
pacman -S kde-gtk-config #gtk主题管理
pacman -S kcm-fcitx fcitx-qt #fcitx输入法
pacman -S kdeutils-ark kdeutils-kwallet #安装ark和kwallet,这两个用过的都知道
(window.slotbydup=window.slotbydup || []).push({
id: '2467140',
container: s,
size: '1000,90',
display: 'inlay-fix'
(window.slotbydup=window.slotbydup || []).push({
id: '2467141',
container: s,
size: '1000,90',
display: 'inlay-fix'
(window.slotbydup=window.slotbydup || []).push({
id: '2467142',
container: s,
size: '1000,90',
display: 'inlay-fix'
(window.slotbydup=window.slotbydup || []).push({
id: '2467143',
container: s,
size: '1000,90',
display: 'inlay-fix'
(window.slotbydup=window.slotbydup || []).push({
id: '2467148',
container: s,
size: '1000,90',
display: 'inlay-fix'manjaro linux 怎么安装_百度知道
manjaro linux 怎么安装
提问者采纳
按回车选择图形模式进行安装,主要优点是减少系统崩溃后恢复文件系统所花费的时间,文件系统类型选“ext3”;hda6 的文件类型是vfat,不能共用、显示器和鼠标的配置,逻辑分区 从5 开始;dev&#47。在安装过程中、显示器,一般按系统的默认值设置即可,我们都按系统默认进行选择;boot”,使它成为Linux分区、&#47、“&#47,按“下一步”后:在选择“用Disk Druid手工分区”后,然后进入图形画面的安装向导;home分区、ext3,它提供了两种分区方式、&#47。 一个最基本的Linux系统需有一个“/hda6上创建“&#47,它的图形化界面比早期RedHat的fdisk程序操作更简单: &#47,在“添加分区”的窗口。在进入图形画面的安装模式前,系统开始进行软件包的安装,挂载点选“&#47。 (1)因 &#47。 9.接下来是进行“个人桌面默认的设置”,一个独立且惟一的文件结构。 为Linux建立分区有几种办法;hda6,安装类型包含四种不同的安装方式.0第一张安装光盘引导开机,Windows的开机画面将被多操作系统引导程序Grub的精美图案所替代,腾出空间;dev/home区。如果没有空闲的磁盘空间,需先删除此分区,在DOS&#47。 11.随后系统显示“图形化界面(X)配置”:确认了“定制”方式之后;boot分区,同时D。 2.接着安装程序会自动检测硬件。 为Linux准备分区 Linux分区和Windows分区不同、&#47、服务器和定制,系统会显示安装完成的提示窗口;dev(device的缩写)开头表示,在图3引导装载程序配置中,RedHat 9。 (3)创建“&#47。但Linux则将磁盘视为块设备文件来管理使用:选中“空闲”设备;)”或几个分“杈(如&#47,安装过程中需要设置它的口令。Linux内置了两种开机引导装载程序——LILO与Grub,Linux需创建几个“Linux Native”分区和“Linux Swap ”分区;hda5。 8.和Windows XP相同;Linux多操作系统共存的系统。所以需要为Linux单独开辟一个空闲的分区;hda 为 第一个IDE 硬盘(第二为 hdb),在接下来的“网络配置”、E等逻辑盘的文件结构也都是独立的。 安装菜单中提供了供用户选择的图形和文本模式的安装方式,系统会出现“磁盘分区设置”窗口。 3.Linux分区 Linux分区的表示方法 分区就是将磁盘驱动器分隔成独立的区域。 “自动分区”是一个危险功能:一般swap分区的大小设定为机器内存的2~3倍为最佳;dev&#47,系统会提示“创建引导盘”.0比以往的版本多了一个环节,这是整个安装过程中惟一需要用户较多干预的步骤,在挂载点选“&#47,文件类型暂设为FAT32,文件系统也不同、鼠标和显卡型号等,选择“定制要安装的软件包集合”,将CD-ROM变更至开机顺序的第一位,这需要借助开机引导装载程序(Boot Loader),你才可以使用。ext2支持最多为255 个字符的文件名,整个文件系统由一个“根”和根上的几个分“杈”组成;home等)”上,使它变成 “空闲”设备和“空闲分区”;dev&#47:“自动分区”和“用Disk Druid手工分区”。 6.在完成了创建Linux分区后。下面我们将在&#47。 4.Linux 的文件系统 对于不同的操作系统,如内存大小,为了让你更多地了解安装过程,文件系统类型选“ext3”,分别载入到 “根(/Windows系统下磁盘分区可分为C,我们以系统默认的设置进行:个人桌面,需要修改BIOS的设置。 3.选择安装类型、“防火墙的配置”,引导盘可作为紧急救援盘、swap和vfat.0 默认文件系统为ext3。 图2中的/ (5)创建“&#47,“个人桌面”和“工作站”适合于初学者;hda1 为主分区;”分区、一个“Swap”交换文件分区和/boot, 也可按“Skip”按钮跳过检测;”,系统在开机后会出现安装菜单,但直接以光盘开机启动进行安装最方便和快速,它不需要挂载点,最好是最后一个分区;Windows的FAT分区在Linux下显示为vfat文件类型,我们强烈建议要制作引导盘;dev&#47,使用这个账户登录主机可以完全掌握整个系统。 例,系统会提示插入第二及第三张安装光盘,也是很重要的环节,有一个称为“root”权限最大的管理员账户,包括视频卡(显示卡),您需要借助Windows系统了解计算机硬件的基本信息,在“鼠标配置”窗口;boot”,作为稍后创建Linux分区使用;dev&#47。在出现“语言选择”的画面中。 10.软件包安装完成后,如,文件系统类型选“ext3”。选择“下一步”。 完成了上述这些操作后,大小输入“5000MB”,我们将选择“定制”类型进行安装,这样接下去的安装过程界面的文字都会改为中文,我们选择“使用全部可用空间”选项,每个区域都如同一个单独的磁盘驱动器;home”。“服务器”的安装适用于专职的服务器使用。 (4)创建home”分区;&#47。 只要有一个主分区就可以安装并使用Windows操作系统,在“选择软件包组”窗口中,分别显示系统检测出的视频卡(显示卡)的型号,因为它会自动删除原先硬盘上的数据、 D和E盘等:hd 表示IDE硬盘(SCSI硬盘用sd),为了测试每个软件包的功能。当你重新启动机器后;交换区swap是被用于支持虚拟内存。 7.配置好引导装载程序后.0 大约需4 ~ 5GB的空间。 2.设置从光盘引导系统 Linux支持几种安装方式,就需要将现有的分区删除后。如图1中利用Windows下的Partition Magic(分区魔法)软件,将剩余的磁盘分配给&#47:在挂载点选“&#47。在后面的“验证配置”的窗口中;”根文件系统分区。Linux的文件系统采用树型结构,那就是提示对安装光盘介质进行检测。若要机器以光盘启动; (2)创建“/”。 5.磁盘设置,以建立Linux分区。 1.用RedHat 9,RedHat 9,安装全部软件包需4850MB的硬盘空间、“swap”和“&#47,大小输入“100MB”、工作站;hda6是在Windows下用Partition Magic为Linux准备的分区E盘(图1),RedHat 9;boot”,我们选择“简体中文”:同(2);dev&#47,接下来出现“引导装载程序配置”窗口、FAT32和NTFS,选择最后一个选项“全部安装”,当系统无法引导的情况下;hda1”表示Windows下的C盘 其中,我们将开机启动的操作系统设为DOS(Windows),为了用户使用方便建议还需创建一个 &#47,并格式化成为Linux的分区文件系统、声卡,一种是编辑现有空闲分区,开机时如何指定引导的操作系统、内存和显示器的型号以及色彩深度: 在Linux用 “&#47。Windows文件系统为FAT16,它以 &#47。所以除非计算机上没有其他操作系统。而Linux的文件系统可分为ext2;home”,按“新建”按钮,进入“添加分区”的窗口中。在“键盘配置”画面中接受默认的“美国英语式”键盘。而Linux系统归根结底就只有一个根目录,请记住设置的口令,文件系统类型选“swap”,同时默认系统设置——以Grub作为引导装载程序Linux安装前的准备工作 1.用Windows系统收集硬件信息 在安装Linux之前,大小为600MB(如果内存为256MB);ext3 是基于 ext2之上;dev&#47,每个分区都必须通过 “挂载点”;hda7等,会显示如图2的“磁盘设置”窗口。然后是系统软件包的选择安装。 对于Windows&#47,系统自动检测出鼠标的配置,在D盘上腾出空间创建新分区E盘(或利用已有的空闲E盘)、“附加语言支持”和“时区选择”的窗口中、屏幕分辨率等。 4.磁盘分区设置。建议采用Disk Druid程序进行手动分区、“显示器设置”和“定制图形化配置”的窗口
来自团队:
其他类似问题
为您推荐:
linux的相关知识
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁Trending Articles on FOSS Force
FOSS Force News Wire
LXerLXerTechdirtTux MachinesTux MachinesTux MachinesTux MachinesTux MachinesLXerPhoronixArs Technica News FeedPhoronixLXerArs Technica News FeedArs Technica News FeedPhoronixLXerPhoronixPhoronixArs Technica News FeedTechdirtTechdirtLinux World NewsTechdirtLinuxGizmosLinux World NewsTechdirtArs Technica News FeedLinuxGizmos
Isaac Carter
The Raspberry Pi Report
The popular GNU/Linux distro Manjaro is now available in four flavors for the Raspberry Pi and other ARM devices.
has been available for desktop Linux environments for a few years now, it has not been available for ARM devices. This past week marked a huge turning point for Raspberry Pi users, as the
project marked its first alpha release. The reason this is such big news is that many Raspberry Pi users did not have a great entryway into
prior to the Manjaro Arm Project. Arch has always been available for the Raspberry Pi, through either a direct download or using , but neither is as user friendly as most other Raspberry Pi distros. This is where Manjaro Linux comes into the picture. Manjaro provides a more user-friendly approach to Arch with the goal of getting users into the Arch space who found either the installation or documentation a bit overwhelming.
With the , Raspberry Pi users can now experience for themselves the simplicity of Arch Linux through several different editions. These featured editions are Media, Server, Base and Minimal.
The Media Edition comes preloaded with
and allows users to build around a media device of their choosing. If you are looking for a server, then check out the Manjaro-Arm Server Edition, which comes preloaded with several configurations such as
For those Raspberry Pi users who are looking for a great desktop alternative, then I recommend checking out the Base Edition. Out of the box, this edition comes with several applications such as Firefox, , , , and the
mail client. I personally love what the Base Edition brings to the table, because the provided preloaded applications are the applications I use the most. Also, the Base Edition comes with the
desktop, which provides the perfect amount of functionality with simplicity.
If you have ever used Arch, you know then that the beauty of Arch is that you build to whatever you require. Keeping in line with this philosophy, the Manjaro-Arm project offers users the Minimal Edition. This edition is a completely stripped down Linux install, with only the necessary packages to boot and run. If you are needing a resource efficient Linux distro with no bloat for your Raspberry Pi project, then checkout the Minimal Edition.
Something to keep in mind when contemplating on whether or not to try out Manjaro is that
the Manjaro-Arm project is for Raspberry Pi 2 users only. Also, this is an alpha release of the project, so bugs and issues could occur during use. While the main focus seems to be with Base and Minimal Editions, I’m confident that the Media and Server editions will become sharper as the project matures.
This project is young and is reaching out to the community for
in several different areas, such as graphics, moderators, mirrors, developers and maintainers. If any of those things are in your area of expertise, then I encourage you to contribute your skills and help improve an already amazing project.
We’re currently in the midst of our 2016 Indiegogo fundraising drive. Your support is crucial. Won’t you please
and make a contribution to support FOSS Force?
The following two tabs change content below.
In addition to hosting a Raspberry Pi meetup in Washington D.C., Isaac Carter is a co-host on
He's also a software engineer who enjoys working with Java, JavaScript, and Linux. When he's not coding, you can find him reading on any number of subjects or on the golf course. Follow him on Twitter
- July 6, 2016
- June 8, 2016
- May 25, 2016
Comments are closed.
Recently On FOSS Force
Upcoming Events
@ Information Access C Ministry of ICT Building
Idlelo is a Southern Africa word meaning “common grazing ground”. Idlelo captures the essence of FOSSFA’s existence as well as the fundamental objective of the conference. The summit is a forum for inclusive deliberations, assessments,[...]
@ Westin Harbour Castle
LinuxCon is the place to learn from the best and the brightest, delivering content from the leading maintainers, developers and project leads in the Linux community and from around the world. There’s simply no other[...]
@ Westin Harbour Castle
The Linux Security Summit (LSS) is a technical forum for collaboration between Linux developers, researchers, and end users. Its primary aim is to foster community efforts in analyzing and solving Linux security challenges. The LSS[...]
Search by CategoriesSearch by Categories
Select Category
Accessibility&&(5)
Admin&&(8)
Browsers&&(63)
Business&&(294)
Community&&(261)
Copyright&&(41)
Desktops&&(62)
Distros&&(250)
Gaming&&(21)
Hardware&&(160)
Humor&&(45)
Internet&&(209)
Interview&&(12)
Media&&(102)
Member&&(2)
Mobile&&(115)
News&&(384)
Obits&&(5)
Operating Systems&&(302)
Patents&&(51)
Politics&&(101)
Polls&&(53)
Potpourri&&(8)
Reviews&&(25)
Security&&(133)
Site News&&(79)
Social Networks&&(28)
Software&&(212)
Tutorial&&(30)
Uncategorized&&(27)
Video&&(37)
Web Apps&&(46)
FOSS Force by Email
Enter your email address and receive notifications of new posts on FOSS Force by email.
Email Address

我要回帖

更多关于 mysql root 默认密码 的文章

 

随机推荐