기본 콘텐츠로 건너뛰기

글

라벨이 ubuntu인 게시물 표시

Ubuntu Server 14.04.3 LTS 64 server AMD mining Claymore

멀티 부트 설치 디스크 만들기 다운로드 페이지 https://www.pendrivelinux.com/yumi-multiboot-usb-creator/ 최신버전 https://www.pendrivelinux.com/downloads/YUMI/YUMI-2.0.4.9.exe 실행 시키면 여러개의 운영체제를 설치 할 수 있는 멀티 부트 운영체제를 만들 수 있다. Ubuntu install http://www.omgubuntu.co.uk/2016/03/ubuntu-drops-amd-catalyst-fglrx-driver-16-04 amd 드라이버를 쓸려면 우분투 16.04 는 사용 하면 안된다. 1. download Ubuntu Server 14.04.3 LTS 64 http://mirror.metrocast.net/ubuntu-releases/14.04/ubuntu-14.04.3-server-amd64.iso 2. update and install packages sudo apt-get install -y fglrx fglrx-core fglrx-dev fglrx-amdcccle fglrx-updates   sudo apt-get install -y  xinit xterm screen sudo aticonfig --adapter=all --initial --f sudo aticonfig --list-adapters sudo reboot http://infi.wikidot.com/blog:_start/tag/miner/category/blog 4. 오버 클럭킹, 언더 클럭킹, 언더볼트, 모니터링 # sudo apt-get install gnome-core gnome-session-flashback sudo apt-get install -y xinit xterm sudo dpkg-reconfigure x11-common anybody 선택 # Run X environment s...

ubuntu apt-get update fail

ubuntu 를 쓰는데 설정을 안 하다가 하나를 업데이트 하려는데 ubuntu apt-get update fail 하였다. 원인은 host 를 못찾는 문제였다. 네임서버 설정을 안해줘서 나는 문제 /etc/resolve.conf 파일에 nameserver 8.8.8.8 추가 해 주니 문제 해결

ubuntu bitcoin miner install

wget https://github.com/pooler/cpuminer/archive/master.zip sudo apt-get install unzip unzip master.zip  sudo apt-get install libcurl4-openssl-dev libncurses5-dev pkg-config automake yasm cd cpuminer-master ./autoge.sh ./configure  CFLAGS="-O2 -march=native -mtune=native -pipe" make ./minerd --url=stratum+tcp://us2.litecoinpool.org:3333 --user=username --pass=password &

ubuntu server ip setting

sudo ifconfig eth0 10.0.0.100 netmask 255.255.255.0 sudo vi /etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto em1 iface em1 inet static address 10.10.10.57 netmask 255.255.255.0 gateway 10.10.10.1 아이피 바꾸고 나서 :wq 눌러준다 sudo ifdown em1 sudo ifup em1

ubuntu svn boot start

ref : http://benrobb.com/2007/01/15/howto-start-subversion-at-boot-on-ubuntu/  cd /etc/init.d/  sudo touch svnserve  sudo vi svnserve #!/bin/sh # # start/stop subversion daemon. EXECUTABLE=/usr/bin/svnserve # Test exist:ence of the executable test -f $EXECUTABLE || exit 0 # Command line options for starting the service OPTIONS='-d -r /var/svnrepos' case $1 in start) echo -n "Starting subversion daemon: $EXECUTABLE $OPTIONS\n" start-stop-daemon -vo -x $EXECUTABLE -S -- $OPTIONS echo -n "." ;; stop) echo -n "Stopping subversion daemon: $EXECUTABLE $OPTIONS\n" start-stop-daemon -K -qo -x $EXECUTABLE echo -n "." ;; force-reload) $0 restart ;; restart) $0 stop $0 start ;; *) echo 'Usage: /etc/init.d/subversion {start|stop|restart}' exit 1 ;; esac exit 0   sudo chmod +x svnserve  sudo update-rc.d svnserve defaults  sudo service svnserve start

ubuntu ddclient ddns free domain service with freedns.afraid.org

i want my ubuntu server free domin. there are free domain service providers , but dyndns is not free now.( 2014/09/10) freedns.afraid.org is free at this mounent. 1. join http://freedns.afraid.org 2. add subdomains.    mysubdomain.mooo.com 3.install ddclient  sudo apt-get install ddclient 4.edit  /usr/sbin/ddclient  sha1 to sha 5.edit  /etc/ddclient.conf # Configuration file for ddclient generated by debconf # # /etc/ddclient.conf syslog=yes daemon=5m timeout=10 ssl=yes protocol=freedns use=if, if=eth0 server=freedns.afraid.org login= loginid password=' loginpw ' mysubdomain01.mooo.com mysubdomain02.mooo.com 6.restart ddclient sudo service ddclient restart 7. see log sudo tail -f /var/log/syslog ref -  http://askubuntu.com/questions/211173/how-can-i-get-ddclient-to-work-with-freedns

ubuntu 14.04 java installing using apt-get

there are three ways installing java. 1.default-jre/jdk 2. open-jdk 2. oracle java 1. default jre/jdk sudo apt-get install default-jre default-jdk 2. openjdk-7-jre/jdk sudo apt-get install openjdk-7-jre openjdk-7-jdk 3. oracle java sudo apt-get install python-software-properties sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java6-installer sudo apt-get update sudo apt-get install -f oracle-java7-installer sudo apt-get install -f oracle-java8-installer * switching jdks using update-alternatives between jdks sudo update-alternatives --config java REF -  http://askubuntu.com/questions/163429/error-when-installing-oracle-java7-installer -  http://stackoverflow.com/questions/22541853/oracle-java-7-installation-in-ubuntu-e-sub-process-usr-bin-dpkg-returned-an-er/22955890#22955890

ssh remote forwarding auto reconnect / ssh remote tunneling auto reconnect

ssh remote forwarding auto reconnect Hardware Box  ============================= serverA  : with public ip serverB  : inner firewall prepare : ssh , autossh (ServerB) 1. ServerB # cd ~  go home directory # ssh - keygen -t rsa    no passphrase (not that secure, but easy to setup)  you should now have the key pair in the . ssh directory (id_rsa & id_rsa.pub) # cp ~/. ssh /id_rsa.pub ~/. ssh /authorized_key_serverB  make a copy of your public key with the name 'authorized_key' # scp ~/. ssh /authorized_key_serverB <remote user>@<ServerA's ipaddress >:'/<user's home dir >/. ssh /'  copy authorized_key to ServerA 2. ServerA #cat ~/. ssh /authorized_key_serverB >> ~/. ssh /authorized_keys 3. ServerB # autossh -i ~/. ssh /id_rsa -L 1234: localhost :6667 <remote user>@<ServerA's ipaddress > << ssh forwarding # autossh...

ubuntu resize hdd in vmware with cfdisk

- Resize vmware hdd size. - Create new partition using cfdisk: with fdisk error occur "no free sector available" $ sudo cfdisk /dev/sda new -> logical -> Size( in MB) : 89121.62 Type -> 8E Write -> yes Quit - Reboot server: $ sudo reboot - Assuming you created partition /dev/sda6, let's now create the physical volume in that partition: $ sudo pvcreate /dev/sda6 - Now let's extend the server's Volume Group to that physical volume. $sudo vgdisplay This will give you the info on your current Volume Group. Note down the entry next to "VG Name". That's your Volume Group name. $ sudo vgextend EnterVolumeGroupNameHere /dev/sda6  - Since we're (essentially) extending the main logical volume, let's get the name of that: $ lvdisplay and note down the entry next to "LV Name". This is your logical volume's name (e.g. /dev/srv/root), which you'll now extend to the newly added partition/physical vol...