Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 로그인불가
- proxycfg
- 보안양파
- Proxy
- bash
- xe guest utilities
- miniconda
- macos
- ansible
- Kibana
- Elasticsearch
- freebsd
- Kibana server is not ready yet
- elastic stack
- XCP-ng
- Windows
- ELASTIC
- endpoint security
- GitLab
- pfsense
- x-pack
- docker
- 한글가이드
- centos 8
- G-suite
- ssh key 배포
- PlayBook
- application security
- hardening
Archives
- Today
- Total
선 밖에 선 자유인
backtrack 설치 관련 본문
- gpg-key 관련
gpg --keyserver keyserver.ubuntu.com --recv 4874D3686E80C6B7
gpg --export --armor 4874D3686E80C6B7 | sudo apt-key add -
sudo apt-get update
무선 네트워크 설정 관련
http://houseforce.blog.me/120014658820
http://n0fate.springnote.com/pages/882108
gpg --keyserver keyserver.ubuntu.com --recv 4874D3686E80C6B7
gpg --export --armor 4874D3686E80C6B7 | sudo apt-key add -
sudo apt-get update
무선 네트워크 설정 관련
http://houseforce.blog.me/120014658820
http://n0fate.springnote.com/pages/882108
gpg --keyserver keyserver.ubuntu.com --recv 4874D3686E80C6B7
gpg --export --armor 4874D3686E80C6B7 | sudo apt-key add -
sudo apt-get update
apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 313D312748A22A95; gpg --export --armor 313D312748A22A95
| sudo apt-key add -
get the GPG key:
wget -q http://archive.offensive-security.com/backtrack.gpg -O- | sudo apt-key add -
Add the main repo:
sudo echo "deb http://archive.offensive-security.com pwnsauce main microverse macroverse restricted universe multiverse"
> /etc/apt/sources.list
Add the testing repo:
sudo echo "deb http://sun.offensive-security.com/repotest/ ./" >> /etc/apt/sources.list
reference info from:
http://sun.backtrack-linux.org/README.txt
Synaptic reports three packages are already installed:
xserver-xorg-video-sisusb
sisctl
xserver-xorg-video-sis
The relevant bit of my xorg.conf looks like this:
Code:
Section "Device"
Identifier "Silicon Integrated Systems [SiS] 65x/M650/740 PCI/AGP VGA Display Adapter"
Driver "sis"
BusID "PCI:1:0:0"
EndSection
Section "Monitor"
Identifier "DELL 2407WFP"
Option "DPMS"
HorizSync 30-83
VertRefresh 56-76
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Silicon Integrated Systems [SiS] 65x/M650/740 PCI/AGP VGA Display Adapter"
Monitor "DELL 2407WFP"
DefaultDepth 24
SubSection "Display"
Modes "1920x1200" "1680x1680" "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600"
"720x400" "640x480"
EndSubSection
EndSection
우분투 업그레이드 에러시
NOTE: We would strongly suggest you take a backup of your important files before proceeding - just in case.
All commands should be run as root.
1) make sure your 9.10 system is up to date:
Code:
# apt-get update
# apt-get upgrade
2) update the /etc/apt/sources.list file to point to the 10.04 repos:
Code:
deb http://ftp.gtlib.gatech.edu/pub/ubuntu lucid main restricted universe
deb http://ftp.gtlib.gatech.edu/pub/ubuntu lucid-updates main restricted universe
deb http://ftp.gtlib.gatech.edu/pub/ubuntu lucid-security main restricted universe
3) update package cache
Code:
# apt-get update
4) start the upgrade:
Code:
# apt-get -y upgrade
- Configuring libpam0g: Press Enter/Ok
- apt (Y/I/N/O/D/Z) [default=N] ? (Press Enter)
- man-db (Y/I/N/O/D/Z) [default=N] ? (Press Enter)
- man-db (Y/I/N/O/D/Z) [default=N] ? (Press Enter)
Now, continue the upgrade:
Code:
# apt-get -y upgrade
# apt-get -y dist-upgrade
You will encounter this error:
Code:
E: Internal Error, Could not perform immediate configuration (2) on util-linux
Do this to fix:
Code:
# cd /var/cache/apt/archives
# dpkg -i --force-depends util-linux*
# apt-get -f install
You should get a successful result, like this:
Code:
# dpkg -i --force-depends util-linux*
dpkg: regarding util-linux_2.17.2-0ubuntu1_i386.deb containing util-linux, pre-dependency problem:
util-linux pre-depends on libc6 (>= 2.11)
libc6 is installed, but is version 2.10.1-0ubuntu17.
dpkg: warning: ignoring pre-dependency problem!
(Reading database ... 12891 files and directories currently installed.)
Preparing to replace util-linux 2.16-1ubuntu5 (using util-linux_2.17.2-0ubuntu1_i386.deb) ...
install-info: warning: maintainer scripts should not call install-info anymore,
install-info: warning: this is handled now by a dpkg trigger provided by the
install-info: warning: install-info package; package util-linux should be updated.
Unpacking replacement util-linux ...
dpkg: util-linux: dependency problems, but configuring anyway as you requested:
util-linux depends on libc6 (>= 2.11); however:
Version of libc6 on system is 2.10.1-0ubuntu17.
Setting up util-linux (2.17.2-0ubuntu1) ...
update-alternatives: warning: alternative /usr/bin/less (part of link group pager) doesn't exist. Removing from list of
alternatives.
update-alternatives: warning: /etc/alternatives/pager is dangling, it will be updated with best choice.
update-alternatives: using /bin/more to provide /usr/bin/pager (pager) in auto mode.
Processing triggers for man-db ...
root@test:/var/cache/apt/archives# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
busybox-initramfs initramfs-tools initramfs-tools-bin libc-bin libc6 libc6-i686 libdrm-intel1 libdrm-nouveau1
libdrm-radeon1 libdrm2 libnih-dbus1 libnih1 libplymouth2 libpng12-0 mountall plymouth udev upstart
Suggested packages:
glibc-doc watershed
Recommended packages:
plymouth-theme-ubuntu-text plymouth-theme
The following NEW packages will be installed:
busybox-initramfs initramfs-tools initramfs-tools-bin libdrm-intel1 libdrm-nouveau1 libdrm-radeon1 libdrm2
libnih-dbus1 libnih1 libplymouth2 libpng12-0 plymouth udev
The following packages will be upgraded:
libc-bin libc6 libc6-i686 mountall upstart
5 upgraded, 13 newly installed, 0 to remove and 36 not upgraded.
Need to get 0B/8917kB of archives.
After this operation, 5300kB of additional disk space will be used.
Do you want to continue [Y/n]?
Preconfiguring packages ...
(Reading database ... 12894 files and directories currently installed.)
Preparing to replace libc-bin 2.10.1-0ubuntu17 (using .../libc-bin_2.11.1-0ubuntu7.2_i386.deb) ...
Unpacking replacement libc-bin ...
Processing triggers for man-db ...
Setting up libc-bin (2.11.1-0ubuntu7.2) ...
Installing new version of config file /etc/gai.conf ...
(Reading database ... 12894 files and directories currently installed.)
Preparing to replace libc6 2.10.1-0ubuntu17 (using .../libc6_2.11.1-0ubuntu7.2_i386.deb) ...
Checking for services that may need to be restarted...
Checking init scripts...
Unpacking replacement libc6 ...
Setting up libc6 (2.11.1-0ubuntu7.2) ...
Checking for services that may need to be restarted...
Checking init scripts...
cron start/running, process 5857
Nothing to restart.
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 12895 files and directories currently installed.)
Preparing to replace libc6-i686 2.10.1-0ubuntu17 (using .../libc6-i686_2.11.1-0ubuntu7.2_i386.deb) ...
Unpacking replacement libc6-i686 ...
Selecting previously deselected package libnih1.
Unpacking libnih1 (from .../libnih1_1.0.1-1_i386.deb) ...
Selecting previously deselected package libnih-dbus1.
Unpacking libnih-dbus1 (from .../libnih-dbus1_1.0.1-1_i386.deb) ...
Preparing to replace upstart 0.6.3-11 (using .../upstart_0.6.5-7_i386.deb) ...
Unpacking replacement upstart ...
Selecting previously deselected package initramfs-tools-bin.
Unpacking initramfs-tools-bin (from .../initramfs-tools-bin_0.92bubuntu78_i386.deb) ...
Selecting previously deselected package busybox-initramfs.
Unpacking busybox-initramfs (from .../busybox-initramfs_1%3a1.13.3-1ubuntu11_i386.deb) ...
Preparing to replace mountall 1.0 (using .../mountall_2.15.2_i386.deb) ...
Unpacking replacement mountall ...
Selecting previously deselected package initramfs-tools.
Unpacking initramfs-tools (from .../initramfs-tools_0.92bubuntu78_all.deb) ...
Selecting previously deselected package udev.
Unpacking udev (from .../udev_151-12.1_i386.deb) ...
Adding `local diversion of /sbin/udevadm to /sbin/udevadm.upgrade'
Selecting previously deselected package libdrm2.
Unpacking libdrm2 (from .../libdrm2_2.4.18-1ubuntu3_i386.deb) ...
Selecting previously deselected package libdrm-intel1.
Unpacking libdrm-intel1 (from .../libdrm-intel1_2.4.18-1ubuntu3_i386.deb) ...
Selecting previously deselected package libdrm-nouveau1.
Unpacking libdrm-nouveau1 (from .../libdrm-nouveau1_2.4.18-1ubuntu3_i386.deb) ...
Selecting previously deselected package libdrm-radeon1.
Unpacking libdrm-radeon1 (from .../libdrm-radeon1_2.4.18-1ubuntu3_i386.deb) ...
Selecting previously deselected package libpng12-0.
Unpacking libpng12-0 (from .../libpng12-0_1.2.42-1ubuntu2.1_i386.deb) ...
Selecting previously deselected package libplymouth2.
Unpacking libplymouth2 (from .../libplymouth2_0.8.2-2ubuntu2_i386.deb) ...
Selecting previously deselected package plymouth.
Unpacking plymouth (from .../plymouth_0.8.2-2ubuntu2_i386.deb) ...
Processing triggers for man-db ...
Setting up libc6-i686 (2.11.1-0ubuntu7.2) ...
Setting up libnih1 (1.0.1-1) ...
Setting up libnih-dbus1 (1.0.1-1) ...
Setting up initramfs-tools-bin (0.92bubuntu78) ...
Setting up busybox-initramfs (1:1.13.3-1ubuntu11) ...
Setting up libdrm2 (2.4.18-1ubuntu3) ...
Setting up libdrm-intel1 (2.4.18-1ubuntu3) ...
Setting up libdrm-nouveau1 (2.4.18-1ubuntu3) ...
Setting up libdrm-radeon1 (2.4.18-1ubuntu3) ...
Setting up libpng12-0 (1.2.42-1ubuntu2.1) ...
Setting up libplymouth2 (0.8.2-2ubuntu2) ...
Setting up mountall (2.15.2) ...
Installing new version of config file /etc/init/mountall.conf ...
Installing new version of config file /etc/init/mountall-net.conf ...
Installing new version of config file /etc/init/mountall-reboot.conf ...
Installing new version of config file /etc/init/mountall-shell.conf ...
Setting up upstart (0.6.5-7) ...
Installing new version of config file /etc/init/rc-sysinit.conf ...
Installing new version of config file /etc/init/rc.conf ...
Setting up initramfs-tools (0.92bubuntu78) ...
update-initramfs: deferring update (trigger activated)
Setting up udev (151-12.1) ...
restart: Unknown instance:
Removing `local diversion of /sbin/udevadm to /sbin/udevadm.upgrade'
update-initramfs: deferring update (trigger activated)
Setting up plymouth (0.8.2-2ubuntu2) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for initramfs-tools ...
Do you want to continue [Y/n]? (Press Enter)
Continue with the upgrade:
Code:
# apt-get -y dist-upgrade
*** bash.bashrc (Y/I/N/O/D/Z) [default=N] ? (Press Enter)
The upgrade should now finish.
5) Post-Upgrade Cleanup:
Code:
# sed -i 's/console output/#console output/g' /etc/init/rc.conf
# sed -i 's/env INIT_VERBOSE/#env INIT_VERBOSE/g' /etc/init/rc.conf
# chmod 000 /etc/init/mount*
# chmod 000 /etc/init/network-interface*
# chmod 000 /etc/init/console*
# chmod 000 /etc/init/dmesg.conf
# chmod 000 /etc/init/plymouth*
(some of the above may return "No such file or directory" - it is safe to ignore this error).
We're almost done...
Code:
# rm /etc/init/openvz.conf
# wget -O /etc/init/openvz.conf http://deploy.ramhost.org/vps/openvz-10.04.conf
And now, hopefully, you can reboot your VPS into Ubuntu 10.04.
Aside: We will take this opportunity to once again reiterate that we would strongly prefer our users use Debian instead of
Ubuntu - they are both functionally similar but Debian does not have these kinds of issues.
----
We will be releasing an updated OS image in the coming days.
=======================================================
# dpkg --configure -a
Re: Errors were encountered while processing: base-files
- edit /var/lib/dpkg/info/base-files.postinst and add a "set -x" after the "set -e" at the top
- run "sudo dpkg-configure -a" in a terminal and copy the full output to the bug report
=======================================================
우분투 설치 시
acpi=off
noacpi nolapic
nomodeset
vga=771
Comments