server (21) 썸네일형 리스트형 ubuntu 20.04에서 riscv-gnu-toolchain 설치 에러 해결 우분투 20.04에서 riscv-gnu-toolchain 메뉴얼을 따라하다보면 아래와같은 에러와 마주친다.test@test:~/riscv-gnu-toolchain$ git submodule update --init --recursiveerror: Server does not allow request for unadvertised object beb2cdbcda911764b2bed5e57921fe90493260bdFetched in submodule path 'binutils', but it did not contain beb2cdbcda911764b2bed5e57921fe90493260bd. Direct fetching of that commit failed. Error Fetching Submodul.. 폐쇄망 gitlab upgrade 작업 Backup# gitlab 12.2 이상 지원하는 기능(backup file path : /var/opt/gitlab/backups)gitlab-backup create 백업파일 250G 기준으로 3~4시간정도 소모했다.총 세가지 파일을 백업해야한다./etc/gitlab/gitlab.rb - gitlab 설정파일/etc/gitlab/gitlab-secrets.json - gitlab 민감정보파일/var/opt/gitlab/backups - gitlab-backup create로 생성된 .tar fileGitlab 정보 확인gitlab-rake gitlab:env:info 업그레이드는 최종 목표 버전으로 바로 안되고 필수 업그레이드 순서를 거쳐야한다.꼭 확인하고 현재 버전 - 중간 필수 버전 - 최종 버전.. VMware ESXi ssh 활성화 설정 ESXi 신규 구축을 최근에 진행했다. 그런데 ssh 서비스를 활성화해두어도 재부팅하면 자꾸 비활성화로 돌아가버리니 여간 답답했다. 검색해 보니까 ESXi UI가 다르거나 아무튼 내가 쓰는 상황이랑 달라서 이것저것 찾아보다가 겨우 해결방법을 찾았다. 옵션이 세가지가 있는데, Start and stop with firewall ports : 방화벽 기준으로 활성화 Start and stop with host 호스트 기준으로 실행인데, 서버 PC 상태에 따라간다는 뜻. 내가 찾던 reboot해도 ssh 서비스가 자동으로 활성화되는 옵션이다. Start and stop manually : 설치 직후 기본 옵션, reboot하면 ssh 서비스가 같이 종료되고 수동으로 ssh 활성화시켜야 한다. 빌드를 위한 유저 추가 및 root 권한, 패스워드 생략 설정 root@test:~# adduser --force-badname me.user #유저명에 특수문자포함때문에 옵션 추가 Allowing use of questionable username. Adding user `me.user' ... Adding new group `me.user' (1000) ... Adding new user `me.user' (1000) with group `me.user' ... Creating home directory `/home/me.user' ... Copying files from `/etc/skel' ... New password: Retype new password: passwd: password updated successfully Changing the user .. [Ubuntu] TFTP 설정 신규 이미지 공유서버를 신설했는데, 장비에서 계속 timeout 발생. wget으로 다운받다보니 TFTP설정을 깜빡함. 1) 패키지 설치 sudo apt-get install xinetd tftp tftpd 2) tftp 설정 vi /etc/xinetd.d/tftp service tftp { socket_type = dgram protocol = udp wait = yes user = nobody port = 69 server = /usr/sbin/in.tftpd server_args = /tftpboot disable = no per_source = 11 cps = 100 2 flags = IPv4 } vi /etc/default/tftpd-hpa # /etc/default/tftpd-hpa TFTP_.. [Ubuntu] Ubuntu 20.04 절전모드 해제 서버가 자꾸 떨어진다고해서 확인중에 알게된 사실. 우분투 20.04(GUI)부터 절전모드에 진입하면 네트워크 통신을 정지한다. 그래서 따로 해제 설정을 해야한다. root@build$ sudo systemctl mask sleep.target suspend.target hibernate.target hybird-sleep.target Created symlink /etc/systemd/system/sleep.target → /dev/null. Created symlink /etc/systemd/system/suspend.target → /dev/null. Created symlink /etc/systemd/system/hibernate.target → /dev/null. Created symlink /e.. [make] 멀티코어 컴파일 멀티 스레드를 지원하는 CPU 환경에서 지원 make -j # ex) make -j8 CPU 전체 코어 확인 grep "cpu cores" /proc/cpuinfo | tail -1 [CentOS6] Error: Cannot find a valid baseurl for repo: base OS : CentOS 6.8 [root@localhost ~]# yum update Loaded plugins: fastestmirror Setting up Update Process Loading mirror speeds from cached hostfile YumRepo Error: All mirror URLs are not using ftp, http[s] or file. Eg. Invalid release/repo/arch combination/ removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/base/mirrorlist.txt Error: Cannot find a valid baseurl for repo: base CentO.. 이전 1 2 3 다음