Category : debian

Install Proftp server # opkg install proftpd Edit /etc/proftpd.conf # vi /etc/proftpd.confServerName “ProFTPD Server”ServerIdent on “FTP Server ready.”ServerType standaloneDefaultServer onDefaultAddress 127.0.0.1RequireValidShell offPort 21UseIPv6 offUmask 022MaxInstances 10User nobodyGroup nogroupAuthUserFile /etc/passwdDefaultRoot /homeAllowOverwrite onMaxClients 10MaxClientsPerHost 10MaxClientsPerUser 10MaxHostsPerUser 10DeleteAbortedStores onUserAlias anonymous ftp Adding new user for ftp account by editing /etc/passwd, in my case i added user openwrt, copy ..

Read more

sudo passwd root———————STATIC IP ==============================================sudo cp /etc/network/interfaces /etc/network/interfaces.savsudo vi /etc/network/interfaces # The loopback interfaceauto loiface lo inet loopbackauto eth0#iface eth0 inet dhcpiface eth0 inet static#your static IPaddress 192.168.1.5#your gateway IPgateway 192.168.1.1netmask 255.255.255.0#your network address “family”network 192.168.1.0broadcast 192.168.1.255 sudo /etc/init.d/networking restart sudo /etc/init.d/networking reload ————APACHE / PHP==============================================sudo apt-get updatesudo apt-get upgradesudo apt-get install apache2 php5 libapache2-mod-php5 ..

Read more

CHANGE SSH PORT vi /etc/ssh/sshd_config/etc/init.d/ssh restart UPDATE apt-get update APACHE 2 apt-get install apache2 PHP 5 apt-get install apache2 php5 libapache2-mod-php5 php-pear ‘php5-suhosinservice apache2 restartrm -fr /var/www/index.htmlecho “<?php phpinfo();?>” >> /var/www/index.php MYSQL apt-get install mysql-server mysql-client php5-mysqlmysql_secure_installationservice apache2 restart RESET ROOT PASSWORD https://www.debian-administration.org/article/442/Resetting_a_forgotten_MySQL_root_passwordPHPMYADMIN apt-get install phpmyadmin/etc/init.d/apache2 restart REMOTE MYSQL vi /etc/mysql/my.cnf bind-address         ..

Read more