Category Archives: Debian

USB Drive Read Only

$ sudo chown adul:adul /media/adul/MULTISYSTEM chown: changing ownership of ‘/media/adul/MULTISYSTEM’: Read-only file system $ mount /dev/sdc1 on /media/adul/MULTISYSTEM type vfat (ro,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2) $ sudo mount -o remount,rw /dev/sdc1 /media/adul/MULTISYSTEM $ sudo dosfsck /dev/sdc1 fsck.fat 3.0.28 (2015-05-16) 0x41: Dirty bit is set. … Continue reading

Posted in Debian, Linux Mint | Leave a comment

delete file ldlinux.sys (syslinux)

adull@nano ~ $ cd /media/adull/ adull@nano /media/adull $ ll total 12 drwxr-x—+ 3 root root 4096 Jul 6 17:00 ./ drwxrwxrwx 3 root root 4096 Jun 2 10:49 ../ drwx—— 2 root root 4096 Jun 23 09:59 ext2/ adull@nano /media/adull … Continue reading

Posted in Debian, Linux Mint | Leave a comment

DHCP Server on Mint

$ sudo apt install isc-dhcp-server [sudo] password for adull: Reading package lists… Done Building dependency tree Reading state information… Done Suggested packages: isc-dhcp-server-ldap The following NEW packages will be installed: isc-dhcp-server 0 upgraded, 1 newly installed, 0 to remove and … Continue reading

Posted in Debian, Linux Mint | Leave a comment

Go Lang on Debian

https://golang.org/doc/install $ sudo cd /opt $ sudo curl https://storage.googleapis.com/golang/go1.8.3.linux-amd64.tar.gz | tar zxf – % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 85.8M 100 85.8M 0 0 8626k 0 0:00:10 … Continue reading

Posted in Debian, Language | Leave a comment

NginX php-fpm upload max file size

$ sudo nano /etc/php5/fpm/php.ini upload_max_filesize = 300M post_max_size = 300M $ sudo nano /etc/nginx/sites-available/default server_name 127.0.0.1; client_body_in_file_only clean; client_body_buffer_size 32K; client_max_body_size 300M; sendfile on; send_timeout 300s; $ service php7.0-fpm reload $ service nginx reload or $ sudo /etc/init.d/php7.0-fpm restart $ … Continue reading

Posted in Debian, Linux Mint | Leave a comment

Update GPG key for Nginx on Debian

$ aptitude update W: GPG error: http://nginx.org jessie InRelease: The following signatures were invalid: KEYEXPIRED 1471427554 $ apt-key list pub 2048R/7BD9BF62 2011-08-19 [expired: 2016-08-17] uid nginx signing key <signing-key@nginx.com> $ curl -O https://nginx.org/keys/nginx_signing.key && apt-key add ./nginx_signing.key % Total % … Continue reading

Posted in Debian | Leave a comment

PPTPd Server on Debian

PPTP Server Install & config $ sudo aptitude install pptpd $ sudo nano /etc/pptpd.conf localip 192.168.222.1 remoteip 192.168.222.100-200,192.168.222.245 $ sudo nano /etc/ppp/pptpd-options ms-dns 192.168.222.1 ms-dns 8.8.4.4 nobsdcomp noipx mtu 1490 mru 1490 username/password for authen $ sudo nano /etc/ppp/chap-secrets # … Continue reading

Posted in Debian, Linux Mint | Leave a comment