Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
Moecube Store
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
Moecube Store
Commits
150a2401
Commit
150a2401
authored
Dec 02, 2014
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update arch-cloud-zh99998.sh
parent
e691d371
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
server/arch-cloud-zh99998.sh
server/arch-cloud-zh99998.sh
+2
-2
No files found.
server/arch-cloud-zh99998.sh
View file @
150a2401
...
@@ -4,7 +4,7 @@ sed -i 's/^#Server/Server/' /etc/pacman.d/mirrorlist.backup
...
@@ -4,7 +4,7 @@ sed -i 's/^#Server/Server/' /etc/pacman.d/mirrorlist.backup
rankmirrors /etc/pacman.d/mirrorlist.backup
>
/etc/pacman.d/mirrorlist
rankmirrors /etc/pacman.d/mirrorlist.backup
>
/etc/pacman.d/mirrorlist
rm
/etc/pacman.d/mirrorlist.backup
rm
/etc/pacman.d/mirrorlist.backup
pacstrap
-i
/mnt base base-devel vim grub gnome git nodejs
opencc alsa-utils ttf-dejavu wqy-microhei wqy-zenhei xf86-video-ati dhclient fcitx-im fcitx-sunpinyin os-prober file-roller wget axel gvfs-mtp gvfs-goa goagent fcitx-cloudpinyin openvp
n nautilus-sendto gnome-logs gedit
pacstrap
-i
/mnt base base-devel vim grub gnome git nodejs
alsa-utils ttf-dejavu wqy-microhei wqy-zenhei dhclient fcitx-im fcitx-sunpinyin os-prober file-roller wget axel gvfs-mtp gvfs-goa fcitx-cloudpinyi
n nautilus-sendto gnome-logs gedit
genfstab
-U
-p
/mnt
>>
/mnt/etc/fstab
genfstab
-U
-p
/mnt
>>
/mnt/etc/fstab
...
@@ -29,7 +29,7 @@ systemctl enable NetworkManager
...
@@ -29,7 +29,7 @@ systemctl enable NetworkManager
useradd -m -G wheel -s /bin/bash -p `openssl passwd zh112998` zh99998
useradd -m -G wheel -s /bin/bash -p `openssl passwd zh112998` zh99998
chmod u+w /etc/sudoers
chmod u+w /etc/sudoers
sed -i 's/^# %wheel ALL=(ALL) ALL/%wheel ALL=(ALL) ALL/' /etc/sudoers
sed -i 's/^# %wheel ALL=(ALL) ALL/%wheel ALL=(ALL)
NOPASSWD:
ALL/' /etc/sudoers
chmod u-w /etc/sudoers
chmod u-w /etc/sudoers
su - zh99998 << SU_USER
su - zh99998 << SU_USER
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment