Open in app

Sign In

Write

Sign In

Theoneste
Theoneste

Home

About

Pinned

Apace, Mysql, PHP | Linux server commands

sudo zypper update 1.sudo zypper install apache2 2.sudo systemctl start apache2 3.By default, Apache will not automatically start after installed. You can start it with systemctl start apache2 4.And enable auto start at boot time with: sudo systemctl enable apache2 5.Check its status: systemctl status apache2 then the auto start is enabled 6.Check Apache version: httpd…

5 min read

5 min read


Oct 15, 2022

DHCP, DNS, FTP, Webserver, Samba configurations | Opensuse linux server commands

agakoresho ==================== file manager — — — — — — - to make change ownership chown user <folder> or <file> permission — — — — — — chmod 7777 <folder> server name vi /etc/hostname change ip address vi /etc/sysconfig/network/ifcfg-eth0 DHCP SERVER — — — — — — — — —…

5 min read

5 min read


Oct 15, 2022

Basic commands | Opensuse linux server commands

Basic Configuration ==================== 1. add user with home directory useradd -m username 2. add group groupadd group_name 3. add user in existing group useradd -m -G group_name username -G secondary group -g primary group 4. add existing user in existing group usermod -G group_name username 5. how to add ip address manual go to: cd /etc/sysconfig/network vi ifcfg-eth0 6. change hostname vi /etc/hostname 7. folder collaborating…

1 min read

1 min read


Oct 15, 2022

Web server configurations | Opensuse Linux server commands

step1:check packages : zypeer se apache2 step2 : installrequired packages : zypper in apache2 apache2-devel apache2-doc apache2-utils apache-examples-pages step3: go to: cd /srv/www/htdocs/ :default site step4:add apache2 service on line 321 :vi /etc/sysconfig/SuSEfirewall2 step5: make folder and insert file step6: vi /etc/apache2/conf.d/vhost.conf <VirtualHost *:80> DocumentRoot “/srv/www/htdocs/web2” //specify path ServerName www.cat2.com //path to follow </VirtualHost>

1 min read

1 min read


Oct 15, 2022

Samba configurations | Opensuse linux server commands

samba installation =================== 1. zypper se samba 2. zypper install samba* 3. mkdir kinamba 4. chmod 777 kinamba 5. vi /etc/samba/smb.conf copy from line 17–22 paste at last [kinamba] comment = revision folder path = /kinamba browseable = yes read only = No writable = Yes 6. rcnmb restart 7. rcsmb restart 8. go to yast2 and add samba-server and samba-client 9. go to client then open computer select network then type \\your_network 10. add user in samba useradd -m username smbpasswd -a username then restart samba again

1 min read

1 min read


Oct 15, 2022

PHP configurations | Opensuse linux server commands

step1:check packages:zypper se php5 step2:chmod 777 -R /srv/www/htdocs step3: install required packages :zypper in apache2-mod_php5 php5 php5-mysql step4:enable file to allow php5 :a2enmod php5 step5:cd /etc/apache2/conf.d <VirtualHost *:80> DocumentRoot “/srv/www/htdocs/crud2” ServerName www.cat.com </VirtualHost> step6:vi ip_based_host.conf <VirtualHost 192.168.100.1:80> DocumentRoot “/srv/www/htdocs/crud2” ServerName www.cat.com </VirtualHost>

1 min read

1 min read


Oct 15, 2022

FTP configurations | Opensuse linux server commands

step1 :check packages :zypper se vsftpd step 2: install required packages : zypper in vsftpd step3:create group :groupadd ftp_group step4:create user add add him on created group step5: vi /etc/vsftpd.conf go to line 19=YES 30=your banner message 36=uncomment 80=NO 172=uncomment at the bottom of file: use_localtime=YES RESTART SERVICES usermod -d /srv/ftp yves : ADD CREATED USER TO GET HOME DIRECTORY chmod 777 -R /srv/ftp : FULL PERMISSION

1 min read

1 min read


Oct 15, 2022

DNS configurations | Opensuse linux server commands

step1: check installed packages : zypper se bind step2:install required packages :zypper in bind bind-doc bind-libs bind-chrootenv bind-utils step3: go to conf file :vi /etc/named.conf forwarders { 192.168.100.1; }; address of ur server listen-on port 53 { 192.168.100.1/24; }; adress of ur server with net mask allow-query { 192.168.100.0/24; }; address of…

1 min read

1 min read


Oct 15, 2022

Configure DNS | Opensuse linux server commands

DNS Server — — — — zypper se bind zypper install package_name packages bind bind-chrootenv bind-doc bind-utils bind-libs configuration files vi /etc/named.conf line 54 put your_ip line 66 put your_ip/24 line 85 put your_network/24 line 137 remove localhost the put your domain_name line 139 remove localhost.zone then put /master/domain.zone line 142 put 40.168.192.in-addr.arpa line 144 put /master/192.168.40.zone

1 min read

1 min read


Oct 15, 2022

DHCP commands | opensuse linux server commands

step1: change hostname and get domain name : vi /etc/hostname step2:check installed packages: zypper se dhcp step3:installrequired packages: zypper in dhcp-server dhcp-doc dhpc-relay dhcp-tools yast2-dhcp-server step4: add ip address on yast2 step5: go to conf file : vi /etc/dhcpd.conf subnet 192.168.100.0 netmask 255.255.255.224 { ur network range 192.168.100.4 192.168.100.10; option domain-name-servers 192.168.100.1; address of server option domain-name “cat2.local”; option routers 192.168.100.1; address of server option broadcast-address 192.168.100.255; default-lease-time 600; max-lease-time 7200; }

1 min read

1 min read

Theoneste

Theoneste

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech